httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jennifer Zelazny <...@calgb.org>
Subject [users@httpd] SSLRequireSSL
Date Wed, 05 May 2004 13:17:44 GMT
Hello.  I have certificate for one of the hosts I serve and would like 
to require SSL on a certain directory of the site, but only that 
directory.
(example http://domain.com/directory/)

I am using Mac OS X Server and it uses several conf files for apache:

/etc/httpd/httpd.conf (main conf file) which has an include statement 
"Inlcude/etc/sites/*.conf"

Each vhost that you configure in OS X Server then has a conf file in 
the /etc/httpd/sites/ folder.

So, for www.domain.com I have a www.domain.com:80.conf file and a 
www.domain.com:443.conf file in the /etc/httpd/sites/ folder.

  I know I will have to use:
<Directory "/Volumes/www/domain.com/directory"
	SSLRequireSSL
</Directory>

This may be an easy question, but where would I put the Directory 
directive to force SSL on http://www.domain.com/directory?

Thanks,
Jen


---------------------------------------------------------------------
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