I am having trouble with two domains, one is server.com one is server.net I want server.net to ONLY allow ssl to the server.net/ dir and server.com to only be standard port 80 in the server.com/dir
but with the config below : when I go to https://www.server.com - I get server.net/ directory when I go to http://www.server.com- works correctly when I go to http://www.server.net- I get the server.com/directory when I go to https://www.server.net - works correctly What am I doing incorrectly? Doug NameVirtualHost 10.0.0.10 # # VirtualHost example: # Almost any Apache directive may go into a VirtualHost container. # The first VirtualHost section is used for requests without a known # server name. # <VirtualHost 10.0.0.10:443> <Location /> SSLRequireSSL </Location> ServerAdmin [EMAIL PROTECTED] DocumentRoot /home/www/server.net ServerName www.server.net ScriptAlias /cgi-bin /home/www/server.net/cgi-bin SSLEngine on SSLCertificateFile /usr/local/apache/conf/ssl.crt/server.crt SSLCertificateKeyFile /usr/local/apache/conf/ssl.key/server.key ErrorLog logs/server.net-error_log CustomLog logs/server.net-access_log common </VirtualHost> <VirtualHost 10.0.0.10:80> ServerAdmin [EMAIL PROTECTED] DocumentRoot /home/www/server.com ServerName www.server.com ScriptAlias /cgi-bin /home/www/server.com/cgi-bin ErrorLog logs/server.com-error_log CustomLog logs/server.com-access_log common </VirtualHost> ______________________________________________________________________ Apache Interface to OpenSSL (mod_ssl) www.modssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
