I use mod_rewrite to redirect all http traffic to https.
#############################
# Mod rewrite
#############################
# rewrite environment
RewriteEngine on
RewriteLog /www/apache/logs/https_rewrite_log
RewriteLogLevel 1
# redirect http to https
# If you don't try to access https, then redirect to https
RewriteCond %{SERVER_PORT} !^443$
RewriteRule ^/(.*) https://%{SERVER_NAME}/$1 [L,R]
Scott
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Harald Falkenberg
Sent: Monday, February 05, 2001 3:00 PM
To: [EMAIL PROTECTED]
Subject: Automatic change from http to https when password is required
Hi,
is there a possibility to switch automatically from http to https as soon
as a password is required to access a web page? The setup for the http and
https server is identical.
For any hints thank you in advance
Harald
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]
______________________________________________________________________
Apache Interface to OpenSSL (mod_ssl) www.modssl.org
User Support Mailing List [EMAIL PROTECTED]
Automated List Manager [EMAIL PROTECTED]
RE: Automatic change from http to https when password is required
Roberts, Scott E ERDC-TEC-VA Fri, 23 Feb 2001 04:10:31 -0800
- Automatic change from http to https when pass... Harald Falkenberg
- Re: Automatic change from http to https ... Steve Luzzi
- RE: Automatic change from http to https ... guyr
- RE: Automatic change from http to https ... Joshua Gerth
- RE: Automatic change from http to https ... Earl Brannigan
- RE: Automatic change from http to https ... Joshua Gerth
- RE: Automatic change from http to https ... Roberts, Scott E ERDC-TEC-VA
- RE: Automatic change from http to https ... Harald Falkenberg
- RE: Automatic change from http to ht... Joshua Gerth
- RE: Automatic change from http to https ... guyr
