Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
[Tue Nov 10 13:39:09 2009] [error] [client 77.88.43.26] Directory index forbidden by Options directive: /websites/mtgames.org/public_html/
So it appears that the .shtml file is not being caught as an index file, even though I told it to.
That brings up a question, when I modify a virtual host file, it should be just fine to /etc/init.d/apache2 reload instead of restart, right?
-Michael.
Hi,
Yes, I did a2ensite <site-file>, but I never did a2dissite <site-file> before I editted it, maybe that's a problem.
In any case, it's been a2ensite-ed for the last about 2 or 3 days, and I just modified the file today.
After I modify the file, I do /etc/init.d/apache2 reload to have it read the new config. Maybe I am supposed to do a2dissite before?
-Michael.
Hi,
Now I just had the brilliant idea to go directly to my index page, like this: http://www.mtgames.org/index.shtml
It displays correctly, even parsing the ssi include!
That must mean that something is wrong with the catch for the index, seeing as it does not catch the .shtml file, but when I go to the index.shtml directly it allows me to view it, even putting in the ssi.
-Michael.
Now I just had the brilliant idea to go directly to my index page, like this: http://www.mtgames.org/index.shtml
It displays correctly, even parsing the ssi include!
Yes, it's obvious that apache somehow does not recognize index.shtml as an index page.
You can add the "DirectoryIndex index.shtml" inside the vhost definition:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.