javaguy Posted February 8, 2004 Report Share Posted February 8, 2004 You don't have permission to access / on this server. Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request. Does this look familiar? I've Googled it and found a bazillion clear explanations (at least they seem clear enough to me) of it, but I can't seem to fix it. Okay so my virtual host is pointing to something it doesn't have permission to. Except it looks to me like it's pointing to something to which it does have permission. Here's the entry in my /etc/httpd/conf/vhosts/Vhosts.conf file: <VirtualHost *:80> ServerAdmin javaguy@sammckee.com DocumentRoot /home/javaguy/www/prod/benjaminalexandermckee ServerName www.benjaminalexandermckee.com ServerAlias benjaminalexandermckee.com *.benjaminalexandermckee.com DirectoryIndex index.html </VirtualHost> Here's my directory listing: [javaguy@dhcp024-209-107-057 benjaminalexandermckee]$ pwd /home/javaguy/www/prod/benjaminalexandermckee [javaguy@dhcp024-209-107-057 benjaminalexandermckee]$ ls -l total 16 -rw-rw-r-- 1 javaguy javaguy 447 Jan 26 15:50 index.html -rw-rw-r-- 1 javaguy javaguy 9561 Oct 24 22:24 yawn.jpg Suggestions? Thanks! Quote Link to comment Share on other sites More sharing options...
Gowator Posted February 8, 2004 Report Share Posted February 8, 2004 Prob the order of allow/deny in combination with the .htaccess Have you got one in there ??? If not add one and see if it works.... If it does then you might wanna look at the main http.conf Quote Link to comment Share on other sites More sharing options...
javaguy Posted February 8, 2004 Author Report Share Posted February 8, 2004 Here's my .htaccess file: Order deny,allow Allow from all That's all. By the main http.conf I don't know what you mean. The /etc/httpd/conf directory contains a commonhttp.conf file and an httpd2.conf. Thanks! Quote Link to comment Share on other sites More sharing options...
Gowator Posted February 8, 2004 Report Share Posted February 8, 2004 Are you sure you dont have a AllowOveride directive ? or perhaps a AccessConfig directive too. What user/group is it running as and who owns the directories? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.