Name Based Vhosts / Virtual Hosts not processing after Insta
Posted: Thu May 17, 2007 11:12 pm
Hello - I installed and configured Scalix on CentOS 5 (based on RHEL5) and am very pleased with it. My SMTP_AUTH for relaying mail through my ISP is working great, and fetchmail is grabbing a few users pop3 mail and delivering it to their local mailboxes via a crontab cmd. However, my problem is this. After installation my two defined name-based virtual hosts are not processing in apache. I have searched through all the previous threads here, and the best piece of information I could find is from this thread: viewtopic.php?t=3862&highlight=virtual+hosts . I have searched for apache vhost configuration w/ the Tomcat connector on google, but I'm not coming up with much. Currently another name-based vhost is not setup, so I'm just trying to get the www.fqdn.com working right now. The http requests are going to /var/www/html/ as opposed to /var/www/html/www.fqdn.com/ where the site resides. Here is the httpd -S
VirtualHost configuration:
192.168.0.9:80 centos.clintyoung.com (/etc/opt/scalix-tomcat/connector/ajp/instance-centos.conf:1)
192.168.0.9:443 centos.clintyoung.com (/etc/opt/scalix-tomcat/connector/ajp/instance-centos.conf:4)
wildcard NameVirtualHosts and _default_ servers:
_default_:443 centos.clintyoung.com (/etc/httpd/conf.d/ssl.conf:81)
*:80 is a NameVirtualHost
default server www.clintyoung.com (/etc/opt/scalix-tomcat/connector/ajp/instance-centos.conf:15)
port 80 namevhost www.clintyoung.com (/etc/opt/scalix-tomcat/connector/ajp/instance-centos.conf:15)
Syntax OK
If somebody could please help me I would greatly appreciate it. The name-based Vhosts were previously defined in my httpd.conf file at the end, and all worked perfectly, that is, until I installed scalix and the tomcat connector (am I correct in thinking that this is the culprit of my immediate troubles?). Thanks for your anticipated assistance.
On a side note, I think the Scalix product is great! I couldn't be happier (well, unless my vhosts start working again..
)
VirtualHost configuration:
192.168.0.9:80 centos.clintyoung.com (/etc/opt/scalix-tomcat/connector/ajp/instance-centos.conf:1)
192.168.0.9:443 centos.clintyoung.com (/etc/opt/scalix-tomcat/connector/ajp/instance-centos.conf:4)
wildcard NameVirtualHosts and _default_ servers:
_default_:443 centos.clintyoung.com (/etc/httpd/conf.d/ssl.conf:81)
*:80 is a NameVirtualHost
default server www.clintyoung.com (/etc/opt/scalix-tomcat/connector/ajp/instance-centos.conf:15)
port 80 namevhost www.clintyoung.com (/etc/opt/scalix-tomcat/connector/ajp/instance-centos.conf:15)
Syntax OK
If somebody could please help me I would greatly appreciate it. The name-based Vhosts were previously defined in my httpd.conf file at the end, and all worked perfectly, that is, until I installed scalix and the tomcat connector (am I correct in thinking that this is the culprit of my immediate troubles?). Thanks for your anticipated assistance.
On a side note, I think the Scalix product is great! I couldn't be happier (well, unless my vhosts start working again..
