On Thu, Nov 26, 1998, Surasak Sukhsawas wrote:
> If I wanna run only one httpd, how can I config it like this:
>
> <Directory /htdocs>
> Options SSLEnable ....
> </Dir>
>
> <Dir UserDir>
> Options SSLDisable ....
> </Dir>
>
> <Dir /htdocs/somedir>
> Options SSLDisable ....
> </Dir>
>
> Please tell me. Thanks in advance.
You can't do this currently. The reason is very technically, mainly because
for this a SSL handshake renegotation has to be done after Apache found out
the directory sections. I'm already started some basic reasearch with SSL
renegotation but it still doesn't work as I expected it to work. But I
hope to solve it in the next time, so we can provide this functionality
for mod_ssl 2.1.x (x >= 3).
In the meantime you have to use an SSL-enabled <VirtualHost> section,
configure your SSL-enabled dirs there and do perhaps a redirect in the
SSL-disabled <VirtualHost> for those dirs (or at least a SSLRequireSSL to
prevent access to those dirs through the SSL-disabled <VirtualHost>).
Ralf S. Engelschall
[EMAIL PROTECTED]
www.engelschall.com
______________________________________________________________________
Apache Interface to SSLeay (mod_ssl) www.engelschall.com/sw/mod_ssl/
Official Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]