Postby LinuxETC » Wed Oct 17, 2007 6:56 pm
Here is an oddity with the mix.
We have CentOS 5 on two VPS's (one is VMware base, the other is Xen based).
The VMware based one was initially Scalix 11.1.0 that was upgraded to 11.2.0 recently (the mods held too, thanks!). The VMware one is working fine with the forced http -> https mods once we added the following extra lines that were included with a Fedora Core 5 test VMware guest (guessing a slight difference with the Fedora and RHEL/CentOS methodologies doing SSL via Tomcat here):
# The following VirtualHost:443 section was added from the Fedora Core 5 files.
<VirtualHost <scalix-server-hostname>:443>
SSLEngine on
SSLProtocol all -SSLv2
SSLCipherSuite ALL:!ADH:!EXPORT:!SSLv2:RC4+RSA:+HIGH:+MEDIUM:+LOW
SSLCertificateFile /etc/pki/tls/certs/localhost.crt
SSLCertificateKeyFile /etc/pki/tls/private/localhost.key
Include /etc/opt/scalix-tomcat/connector/jk/app-<scalix-server-hostname>.*.conf
</VirtualHost>
<VirtualHost *:80>
# Following line was added from the Fedora Core 5 files.
Include /etc/opt/scalix-tomcat/connector/jk/app-<scalix-server-hostname>.*.conf
<LocationMatch "^/sac/*">
RewriteEngine on
RewriteRule ^(.*) https://%{SERVER_NAME}%{REQUEST_URI} [R,L]
</LocationMatch>
<LocationMatch "^/webmail/*">
RewriteEngine on
RewriteRule ^(.*) https://%{SERVER_NAME}%{REQUEST_URI} [R,L]
</LocationMatch>
</VirtualHost>
Now with the Xen based VPS Scalix server, we are receiving "404 Not Found" for both webmail and sac. We have tried changing the VirtualHost to FQDN, IP, as well as * with the same results.
The non-force http versions do work. SSL otherwise on the server does fine as well. So this is pointing me towards something with the ReWrite area in though, but open to other suggestions.
Thoughts and comments are welcomed.