Scott Brown wrote:
> I'm from a MS-IIS background
Welcome to Apache!
>
> Is there any way to set Apache up such that it recognizes that a specific
> directory is supposed to be secure?
> <virtualhost www.mytestdomain.com>
> ...non-ssl directives
> <Directory /secure/>
> SSLEngine on
> SSLRequireSSL
> etc..etc.. (including cert/key definitions)
> </Directory>
> </virtualhost>
I think the problem is that SSL is served on a different port number
(443). Try:
- adding the SSL address to the virtual host definition, e.g.
Listen 443
<virtualhost www.mytestdomain.com:80 www.mytestdomain.com:443>
... as before
- make a new virtual host just for SSL (I'd recommend this - for
clarity)
Listen 443
<virtualhost www.mytestdomain.com:443>
DocumentRoot /secure/
<Directory /secure/>
SSLEngine on
SSLRequireSSL
etc..etc.. (including cert/key definitions)
</Directory>
best regards,
Owen Boyle.,
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]