jjhorner has asked for the wisdom of the Perl Monks concerning the following question:

Hopefully, someone will know this.

Before I start hacking on my own, I need to see if there is a mod_perl module out there that will step in at the Authentication phase of the request loop, and redirect the user to the requested page via https method, instead of http method. This, hopefully, could prevent clear text passwords from being passed on the network without adding a lot of additional logins for the site.

Thanks,

J. J. Horner
Linux, Perl, Apache, Stronghold, Unix
jhorner@knoxlug.org http://www.knoxlug.org/
  • Comment on mod_perl module to redirect http to https prior to login

Replies are listed 'Best First'.
Re: mod_perl module to redirect http to https prior to login
by nardo (Friar) on Sep 06, 2001 at 21:21 UTC
    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]
Re: mod_perl module to redirect http to https prior to login
by LD2 (Curate) on Sep 06, 2001 at 21:36 UTC
    You may be interested in this thread here - there are alternatives. Also, check out Google for other suggestions.