The way to apply SSL to a particular subdirectory I used is modified the httpd-vhosts.conf like that (Redirect)
<VirtualHost *:80>
ServerAdmin admin@localhost
DocumentRoot "C:/wamp/www/"
ServerName MyName:80
ErrorLog "C:/wamp/logs/error.log"
TransferLog "C:/wamp/logs/access.log"
Redirect permanent /SUBDIR [
localhost]
</VirtualHost>
However, when enable SSL for my server, any site in the localhost can be accessed in two ways
- _http_://localhost/mysite
- _https_://localhost/mysite
That's also a problem 'cauz what I want to do is everything is accessed through HTTP but only /SUBDIR directory.
Any ideas to help me out?
thanks.
Edited 1 time(s). Last edit at 04/06/2008 01:07AM by pete_ngo.