You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Tim Howell <ti...@fefcful.org> on 2004/10/28 00:39:02 UTC

Securing two scripts with mod_ssl

I've got several applications running under mod_perl 1.99.  Two of my
scripts need to be secured using mod_ssl.  I think that I have things
mostly setup correctly, and my server now allows me to request any
document/script that was previously available over either a regular or
secure connection.  I would like to prevent the two higher security
scripts from being served over regular http.

I've googled and searched the list archives, but I haven't found exactly
what I'm looking for, and I'd rather not make an ugly mistake with this
server.

I'd appreciate any help,

--TWH

-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html


Re: Securing two scripts with mod_ssl

Posted by "Philippe M. Chiasson" <go...@ectoplasm.org>.
Tim Howell wrote:
> I've got several applications running under mod_perl 1.99.  Two of my
> scripts need to be secured using mod_ssl.  I think that I have things
> mostly setup correctly, and my server now allows me to request any
> document/script that was previously available over either a regular or
> secure connection.  I would like to prevent the two higher security
> scripts from being served over regular http.

SSLRequireSSL is what you are likely looking for:

http://httpd.apache.org/docs-2.0/mod/mod_ssl.html#sslrequiressl

-- 
--------------------------------------------------------------------------------
Philippe M. Chiasson m/gozer\@(apache|cpan|ectoplasm)\.org/ GPG KeyID : 88C3A5A5
http://gozer.ectoplasm.org/     F9BF E0C2 480E 7680 1AE5 3631 CB32 A107 88C3A5A5