Jason Pruim wrote:
Good morning everyone!I am attempting to setup an apache 2.2 server and I am getting a "forbidden You do not have permission to access / on this server" error.This is the first time I have setup apache by hand (Always had some form of a control panel) and I'm wondering if someone would be able to take a look at my virtual host block and tell me if it looks right?
Try this :
<VirtualHost *:80> ServerAdmin webmaster@xxxxxxxxxxxxxxxxxxxxx DocumentRoot /home/jason.pruim/pruimphotography.info ServerName dev.pruimphotography.info ErrorLog /home/jason.pruim/pruimphotography.info/logs/error_logCustomLog /home/jason.pruim/pruimphotography.info/logs/access_log common
<Directory /> Options none order allow,deny deny from all </Directory> <Directory /home/jason.pruim/pruimphotography.info> order allow,deny allow from all Options Indexes </Directory>
</VirtualHost>
--------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx