httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nathan Kellogg <apa...@nwlocation.com>
Subject [users@httpd] ssl - force ssl per directory
Date Tue, 12 Dec 2006 23:00:32 GMT
We have open ssl running fine on Apache 2.2.3.

A separate virtual host is defined for both the :80 port and for :443

In order that the .../secure/... directory be handled exclusively by the 
SSL host, we have :

in the :80 vhost :

Redirect permanent c:/orcourt/htdocs/secure 
https://www.orcourtsonline.com/htdocs/secure

and in the :443 vhost :

<Directory c:/orcourt/htdocs/secure/>

SSLRequireSSL

</Directory>


~~~~~~~~~~~~~~~~~~~~~

The problem is that requests for 
http://www.orcourtsonline.com/secure/*  still get handled by the :80 host.

What am I doing wrong here?


btw - this cant be tested form outside.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message