httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier ...@ice-sa.com>
Subject Re: [users@httpd] Question about virtual hosts
Date Mon, 29 Sep 2008 13:43:55 GMT
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@pruimphotography.info
>         DocumentRoot /home/jason.pruim/pruimphotography.info
>         ServerName dev.pruimphotography.info
>         ErrorLog /home/jason.pruim/pruimphotography.info/logs/error_log
>         CustomLog 
> /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@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message