I am trying to run Virtual Hosting on my Suse Linux machine on an Apache server.
192.168.1.102:80 is a NameVirtualHost
default server littlejohns.org (/etc/httpd/httpd.conf:1314)
port 80 namevhost littlejohns.org (/etc/httpd/httpd.conf:13
14)
port 80 namevhost ccah.d2g.biz (/etc/httpd/httpd.conf:1324)
This is the log from running httpd -S which tells me it is working; however, I am not able to get to the other directory. littlejohns.org seems to work, like always, but ccah.d2g.biz goes to the same directory as littlejohns.org.
I have tried many different tactics in the httpd.conf file with no results.
Here is the Virtual host section of the httpd.conf
<VirtualHost 192.168.1.102>
# ServerAdmin
webmaster@dummy-host.example.com
ServerAlias
www.littlejohns.org
ServerPath /usr/local/httpd/htdocs
DocumentRoot /usr/local/httpd/htdocs
ServerName littlejohns.org
# ErrorLog logs/dummy-host.example.com-error_log
# CustomLog logs/dummy-host.example.com-access_log common
</VirtualHost>
<VirtualHost 192.168.1.102>
DocumentRoot /usr/local/httpd/htdocs/CCAH
ServerName ccah.d2g.biz
ServerAlias
www.ccah.d2g.biz
ServerPath /usr/local/httpd/htdocs/CCAH
</VirtualHost>
Any thoughts would be helpfull.