Hi all,

Now I successfully installed mod_ssl, and configure the httpd.conf as:

<IfDefine SSL>
Listen 80
Listen 443
</IfDefine>

<VirtualHost _default_:443>

SSLEngine on 
SSLCipherSuite ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
SSLCertificateFile /usr/local/apache/conf/ssl.crt/server.crt
SSLCertificateKeyFile /usr/local/apache/conf/ssl.key/server.key

</VirtualHost>

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?
i.e.
https://myhost/cgi-bin/test.pl
http://myhost/

Wayne
Comnetix Computer Systems Inc.
2872 Bristol Circle #100
Oakville, Ontario L6H 6G4
Tel: (905) 829-9988 ext 242
Fax: (905) 829-1944
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl)                   www.modssl.org
User Support Mailing List                      [EMAIL PROTECTED]
Automated List Manager                            [EMAIL PROTECTED]

Reply via email to