Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
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.
I have eight Virtual Hosts running on my server, none of which I had any problems with. I recently attempted to add a new Virtual Host and ran into problems. I looked at the error_log which reads:
Directory Index forbidden by rule: /var/www/html/somedir/
I went back and checked all of the permissions, /var/www/html/somedir is set to 755 and all files within the folder are 644. The owner and group are the same as all the other virtual hosts that work fine.
In a last ditch effort to fix the problem before posting this, I ran chmod 777 -R /var/www/html/somedir and then restarted apache, with no avail.
Any Suggestions?
Last edited by jaberwooky; 09-22-2003 at 08:54 PM.
I'd say it's rather a problem with the setup of DirectoryIndex in your conf file for the virtual. Check that setting, be sure you've set that up correctly again.
Which version of Apache is this anyway, and what distro?
It was an issue with the DirectoryIndex. The person I was setting up the virtual host for has a habit of captializing the first character of filenames. I had the DirectoryIndex set to index.html the file name was Index.html.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.