You can use mod_rewrite to force a redirect to the SSL port for requests
coming in to port 80:

RewriteEngine on
RewriteRule ^/foo   https://%{HTTP_HOST}/foo [L,R]

-Tony

Quoting Tim Howell <[EMAIL PROTECTED]>:

> Philippe M. Chiasson wrote:
> : 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
> 
> 
> That's exactly what I was looking for.  Thanks!  =)
> 
> --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
> 
> 




-- 
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

Reply via email to