simple question

simple question

am 29.07.2002 18:24:19 von Peter Choe

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.

any help would be appreciated.


Peter Choe

____________________________________________________________ __________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List modssl-users@modssl.org
Automated List Manager majordomo@modssl.org

RE: simple question

am 30.07.2002 09:41:53 von Boyle Owen

>From: Peter Choe [mailto:choepete@mindspring.com]
>
>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

SSLEngine on
SSLCertificateFile path/to/cert
SSLCertificateKeyFile path/to/key
DocumentRoot path/to/ssl/dir
...


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 modssl-users@modssl.org
Automated List Manager majordomo@modssl.org