On 04.02.2010 08:56, Kevac Marko wrote:
On Thu, Feb 4, 2010 at 10:52 AM, Sorin Manolache<sor...@gmail.com>  wrote:
Try to set an apache request note in the authentication instead of
dynamically changing the configuration of mod_rewrite.c.

Thus, you'll have something like

RewriteRule /url %{ENV:destination}

The configuration would be always the same, just the value of the
"destination" request note changes dynamically, depending on the
authentication.

Hmmmm... Interesting. Are you sure that this works?

Can I do something like RewriteRule %{ENV:source} %{ENV:destination} ?

You can check environment variables in RewriteCond and set them in RewriteRule.

Regards,

Rainer

Reply via email to