I've tried the following config: <VirtualHost 10.10.100.146:80> ServerName www.aaa.com DocumentRoot /var/www/html/aaa </VirtualHost><VirtualHost 10.10.100.146:443> ServerName www.bbb.net
DocumentRoot /var/www/html/bbb Alias /bbb /var/www/html/bbbErrorLog logs/ssl_error_log TransferLog logs/ssl_access_log
SSLEngine On SSLProxyEngine On SSLCertificateFile /etc/httpd/conf/ssl.crt/server.crt SSLCertificateKeyFile /etc/httpd/conf/ssl.key/server.key ... </VirtualHost>Typing in http://www.aaa.com works fine as does https://www.bbb.net/bbb. If I type in https://www.aaa.com I receive an error page saying "/" is not accessible. The URL https://www.bbb.net causes the same error page. So it seems that the DocumentRoot for port 443 is being ignored. Anyone have an idea why it is? Also I would like to set things up so someone typing in https://www.aaa.com get re-directed to http://www.aaa.com. Similar for http://www.bbb.net gets re-directed to https://www.bbb.net. So far I can't figure out how to accomplish that.
Thanks for any help.
begin:vcard fn:Christopher Paluch n:Paluch;Christopher org:POSnet Services, LLC adr:Tower 3, Suite 810;;1701 Golf Road;Rolling Meadows;IL;60008;USA email;internet:chris.paluch@xxxxxxxxxxxxxxxxxx title:Director Of Infrastructure tel;work:847-640-9020 x3108 tel;fax:847-640-9904 url:http://www.posnetservices.com version:2.1 end:vcard
--------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx