>From: Peter Choe [mailto:[EMAIL PROTECTED]] > >i am very new to mod_ssl. i am trying to figure out how to set up some >specific directories to accept ssl connection. i have looked at the >documentation and the mail archives, but was unable to >decpiher how to do this. >when i look at the httpd.conf file, i saw a documentroot >specifing the root >directory of my webserver. if i changed that to a directory below, it >doesn't seem to affect whether or not the root document is no >longer ssl >enable.
The basic idea is that you define a port-based virtual host to serve the SSL content. This looks something like: Listen 443 <VirtualHost 192.168.1.1:443> SSLEngine on SSLCertificateFile path/to/cert SSLCertificateKeyFile path/to/key DocumentRoot path/to/ssl/dir ... </VirtualHost> Now when you hit https://yourserver/ you will get this VH on port 443 via an SSL channel. Rgds, Owen Boyle ______________________________________________________________________ Apache Interface to OpenSSL (mod_ssl) www.modssl.org User Support Mailing List [EMAIL PROTECTED] Automated List Manager [EMAIL PROTECTED]
