Beefy Boxes and Bandwidth Generously Provided by pair Networks
more useful options
 
PerlMonks  

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

by nardo (Friar)
on Sep 06, 2001 at 21:21 UTC ( #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? | Other CB clients
Other Users?
Others avoiding work at the Monastery: (5)
As of 2022-05-20 07:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    Do you prefer to work remotely?



    Results (73 votes). Check out past polls.

    Notices?