LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Virtual Hosts (https://www.linuxquestions.org/questions/linux-newbie-8/virtual-hosts-48595/)

Zam 03-06-2003 02:59 PM

Virtual Hosts
 
I've installed Redhat 8.0 and I'm trying to configure Apache to do IP based Virtual Hosting. The syntax for the httpd.conf file checks out as OK, but when I try to access the page I get the default page for the server. The error logs show this entry "Directory index forbidden by rule: /home/username/web/domain/html/"

My virtual host entry is as follows:
# Virtual host kansasdowsers.org
<VirtualHost 65.165.52.231>
DocumentRoot /home/username/web/domain/html
ServerAdmin username@kansasdowsers.org
ServerName www.kansasdowsers.org
<Directory "/home/username/web/domain/html">
AllowOverride none
</Directory>
</VirtualHost>

Apache is running under the UID of apache and GID of apache.

Any ideas as to what I've missed?

Thanks in advance!

JStew 03-06-2003 05:29 PM

http://httpd.apache.org/docs-2.0/vhosts/

Zam 03-06-2003 06:11 PM

I have read the documentation from Apache. From everything I've come across, my <VirtualHost> entry is configured correctly. I'm apparently missing something here..but I've read everything I can get my hands on...and researched the error messages, but I'm still coming up empty handed.

Crashed_Again 03-06-2003 07:20 PM

What do the permissions look like on the /home/username/web/domain/html directory? Does everybody have privelages to enter those directories and read the files?

Zam 03-06-2003 07:39 PM

Here are the permissions:
drwxr-xr-x

ale214 03-18-2003 12:00 PM

any help
 
wondered if you got this working. i am having the same problem


All times are GMT -5. The time now is 08:35 PM.