I am an Apache/linux newbie. (Trying to learn this technology...)
I setup a Mandrake 10.1 server, and am trying to setup virtual hosting.
I created a user and a www folder. Set the www folder permission to 777.
I created a virtual server as follows:
<VirtualHost *>
DocumentRoot "/home/domain/www"
ServerName *.domain.com
<Directory "/home/domain/www">
allow from all
Options +Indexes
DirectoryIndex index.html index.htm default.htm
</Directory>
</VirtualHost>
I added the DirctoryIndex line, but get the same error with or without that line.
If I try to browse any file including the root site, I get the following error message:
Forbidden
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.
I'm assuming that this is a permission based issue, however I have 777 permissions set, so it should work. Any help would be appreciated!
Thanks!