On Tue, Mar 02, 2004 at 08:42:36PM +0100, André Malo wrote:
* Joe Orton [EMAIL PROTECTED] wrote:
On Mon, Mar 01, 2004 at 10:37:46AM -0800, Mathihalli, Madhusudan wrote:
Hi,
Question: Can we use the environment variables setup by mod_ssl
in the RewriteCond directive ?
Not
* Joe Orton [EMAIL PROTECTED] wrote:
Sounds good. But we'd need to hook the variable creation earlier anyway,
since ssl_var_lookup finally just uses r-subprocess_env.
I don't see how that follows; if you're just trying to retrieve a
non-SSL subprocess_env var via ssl_var_lookup(), why
On Wed, Mar 03, 2004 at 07:47:21PM +0100, André Malo wrote:
* Joe Orton [EMAIL PROTECTED] wrote:
Sounds good. But we'd need to hook the variable creation earlier anyway,
since ssl_var_lookup finally just uses r-subprocess_env.
I don't see how that follows; if you're just trying to
* Joe Orton [EMAIL PROTECTED] wrote:
I think you've got it backwards: ssl_var_lookup always generates the SSL
variables on the fly; it is used by the fixup handler to populate
r-subprocess_env if +StdEnvVars, but works exactly the same regardless
of that config option.
I must have been blind
-Original Message-
From: Joe Orton [mailto:[EMAIL PROTECTED]
[SNIP]
What I'm proposing is something as simple as below, which lets you do
RewriteCond %{SSL:HTTPS} =on without needing +StdEnvVars...
are we on the same page?
I'd suggest having %{ENV:HTTPS}, %{ENV:SSL_CIPHER_...} - to
On Mon, Mar 01, 2004 at 10:37:46AM -0800, Mathihalli, Madhusudan wrote:
Hi,
Question: Can we use the environment variables setup by mod_ssl
in the RewriteCond directive ?
Not like in 1.3; in 2.0 you can use %{LA-U:ENV:...} to fetch the SSL
variables via a subrequest; a better
* Joe Orton [EMAIL PROTECTED] wrote:
On Mon, Mar 01, 2004 at 10:37:46AM -0800, Mathihalli, Madhusudan wrote:
Hi,
Question: Can we use the environment variables setup by mod_ssl
in the RewriteCond directive ?
Not like in 1.3; in 2.0 you can use %{LA-U:ENV:...} to fetch the SSL
-Original Message-
From: André Malo [mailto:[EMAIL PROTECTED]
[SNIP]
* Joe Orton [EMAIL PROTECTED] wrote:
On Mon, Mar 01, 2004 at 10:37:46AM -0800, Mathihalli,
Madhusudan wrote:
Hi,
Question: Can we use the environment variables setup by mod_ssl
in the RewriteCond
BTW, I forgot to mention that RewriteCond with SSL variables work if (1)
ssl_hook_Translate is APR_HOOK_FIRST and (2) ssl_hook_Fixup logic is transferred to
ssl_hook_Translate.
I know it's a hack - do you think my config is not setup correctly or is the logic
wrong ?
-Madhu
-Original