Wondering if some kind soul could help me. I already
have 3 name based
virtual hosts set up correctly. Now I'm in the process
of creating a SSL
host which I have successfully done. The problem I am
having is that all the
normal virtual hosts as a result have been SSL
readable as well.
Where as they once were ok http://localhost, they are
now also viewable as
https://localhost also which I do not want.  My SSL
section is below along
with 1 virtual host :




<VirtualHost 192.168.0.3:80>
        # This is for mod_ssl. SSLEngine off
        ServerName localhost
        DocumentRoot /path
        ServerAdmin root@localhost
        ServerSignature email
</VirtualHost>


##
## SSL Virtual Host Context
##

#  Apache will only listen on port 80 by default. 
Defining the virtual
server
#  (below) won't make it automatically listen on the
virtual server's port.
Listen 443
#   SSL Session Cache:
#   The cache speeds up processing of multiple
parallel requests from
#   the same client.
SSLSessionCache shm:/var/cache/ssl_gcache_data(524288)



<VirtualHost 192.168.0.3:443>
        ServerName secure
        DocumentRoot /path/to/secure
        ServerAdmin root@localhost
        ServerSignature email
        SSLEngine on
        SSLCertificateFile
/etc/httpd/conf/ssl.crt/server.crt
        SSLCertificateKeyFile
/etc/httpd/conf/ssl.key/server.key
</VirtualHost>




http://www.sold.com.au - SOLD.com.au
- Find yourself a bargain!
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to