Re: Using mod_rewrite in my authorization module. Need advice.

2010-02-06 Thread Rainer Jung
On 04.02.2010 08:56, Kevac Marko wrote: On Thu, Feb 4, 2010 at 10:52 AM, Sorin Manolachesor...@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

Re: Using mod_rewrite in my authorization module. Need advice.

2010-02-04 Thread Kevac Marko
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

Re: Using mod_rewrite in my authorization module. Need advice.

2010-02-04 Thread Kevac Marko
On Thu, Feb 4, 2010 at 2:05 PM, Sorin Manolache sor...@gmail.com wrote: No, you cannot. The expansion does not work in the pattern (the second argument). But the second argument can be a regular expression. Hopefully you can write regexps for all your cases. Unfortunately I cannot. These

Re: Using mod_rewrite in my authorization module. Need advice.

2010-02-03 Thread Sorin Manolache
By the way. The order in which the callbacks are called is translate_name, then authentication/authorisation and last fixups. If you put the RewriteRule at server level then it is applied during the translate_name callback. If you put it inside a Location directive, it is applied during the