Beefy Boxes and Bandwidth Generously Provided by pair Networks
Perl: the Markov chain saw
 
PerlMonks  

Re: mod_perl module to redirect http to https prior to login

by nardo (Friar)
on Sep 06, 2001 at 21:21 UTC ( [id://110649]=note: print w/replies, xml ) Need Help??


in reply to mod_perl module to redirect http to https prior to login

You could use mod_rewrite to forward someone to an https page if they are using http. Something along the lines of:
RewriteEngine On RewriteCond %{HTTPS} ^$ RewriteRule (.*) https://domain.com/directory/$1 [L]

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://110649]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others examining the Monastery: (2)
As of 2024-04-24 17:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found