Re: Question about virtual hosts

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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_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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux