> And I can access the web server by both http and https. Both http://myhost/
> and https://myhost/ are OK.
> My question is, how can restrict a directory/file to be only accessed by
> https, and others by http?
Use the <Location somewhere>
SSLRequireSSL
</Location>
directive
Bye,
Ago
ps.: you can use mod_rewrite to always rewrite these directories address
from http:// to https://
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]