httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier>
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
>         DocumentRoot /home/jason.pruim/
>         ServerName
>         ErrorLog /home/jason.pruim/
>         CustomLog 
> /home/jason.pruim/ common

<Directory />
   Options none
   order allow,deny
   deny from all
<Directory /home/jason.pruim/>
   order allow,deny
   allow from all
   Options Indexes

> </VirtualHost>

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message