Jump to content

Apache configuration


javaguy
 Share

Recommended Posts

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!

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...