SSLRequireSSL Ineffective

View: New views
2 Messages — Rating Filter:   Alert me  

SSLRequireSSL Ineffective

by Lee Hughes-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi, I have https working with Apache 2.2.11, but SSLRequireSSL seems to have no effect -- I can still browse docs in the htdocs directory with straight http or https.

Here's the section I added to httpd-ssl.conf, which is Included from httpd.conf. No .htaccess files exist.

<Directory "/usr/local/apache2/htdocs">
SSLRequireSSL
SSLOptions +StrictRequire
</Directory>

Thanks much for any help.
--
Lee


Re: SSLRequireSSL Ineffective

by Lee Hughes-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some more info -- if I add this same Directory section to httpd.conf it works fine and forces https access. It's like the line

Include conf/extra/httpd-ssl.conf

in httpd.conf has no effect -- why would that be?

Thanks-

Lee