Hello,
I'm having a problem with my Apache virtual hosts config. I'm mixing
http and https, here's my config:
NameVirtualHost *:80
<VirtualHost _default_:443>
DocumentRoot "/usr/share/squirrelmail"
ErrorLog logs/ssl_error_log
TransferLog logs/ssl_access_log
SSLEngine on
SSLCipherSuite
ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSL v2:+EXP
SSLCertificateFile /etc/httpd/conf/ssl.crt/server.crt
SSLCertificateKeyFile /etc/httpd/conf/ssl.key/server.key
SSLCertificateChainFile /etc/httpd/conf/ssl.crt/intermediate.crt
<Files ~ "\.(cgi|shtml|phtml|php3?)$">
SSLOptions +StdEnvVars
</Files>
<Directory "/var/www/cgi-bin">
SSLOptions +StdEnvVars
</Directory>
SetEnvIf User-Agent ".*MSIE.*" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
CustomLog logs/ssl_request_log \
"%t %h %{SSL_PROTOCOL}x %{SSL_CIPHER}x \"%r\" %b"
</VirtualHost>
<VirtualHost *:80>
DocumentRoot "/usr/share/timeclock"
ServerName timeclock.blahblah.com:80
</VirtualHost>
When I go to
http://timeclock.blahblah.com I don't get directed to
/usr/share/timeclock, instead I get the Apache test page. I checked
permissions on the folder and files and they are fine. Any idea why
this isn't working correctly?