On Thu, May 25, 2000 at 04:39:13PM -0700, [EMAIL PROTECTED] wrote:
> I've checked a few different faqs and books but can't quite nail down how to
> redirect http://www.domain.com/admin to an https://www.domain.com/admin
> 
> I'd like to do this on a per directory level.

All I did for Apache web server in httpd.conf is a redirect for the
HTTP requests. Of course you can have redirects for different
directories. Hope this helps.

#----------------------------------------------------------------------
# external access: SSL only
#----------------------------------------------------------------------
<VirtualHost www.xxx.yyy.zzz:80>
  # ...
  Redirect     301 /  https://www.your.domain/
  # ...
</VirtualHost>

#----------------------------------------------------------------------
# SSL environment
#----------------------------------------------------------------------
<VirtualHost www.xxx.yyy.zzz:443>
  # ...
</VirtualHost>

Regards, Beat
______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    [EMAIL PROTECTED]
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to