httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Geoffrey Young <ge...@modperlcookbook.org>
Subject Re: [PATCH] RewriteCond and SSL environment variables
Date Wed, 03 Mar 2004 23:49:51 GMT


Mathihalli, Madhusudan wrote:
> Here's a slightly modified version of Joe's patch to 
> - not segfault if rewrite_ssl_var_lookup is not available (mod_ssl not loaded)
> - use SSL environment variables as %{ENV:HTTPS} or %{ENV:SSL_PROTOCOL}
> 
> I tested the patch with the following rules, and it appeared to work without causing
any problems.
> 
> RewriteCond %{ENV:HTTPS} =on
> RewriteCond %{ENV:SSL_CIPHER_USEKEYSIZE} =128
> RewriteRule ^/manual.*html$ /manual.html [L]
> RewriteRule ^.*$       -       [F]

looks like a perfect candidate for adding new tests to the perl-framework

;)

--Geoff


Mime
View raw message