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

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

2010-02-04 Thread Sorin Manolache
On Thu, Feb 4, 2010 at 08:56, Kevac Marko wrote: > On Thu, Feb 4, 2010 at 10:52 AM, Sorin Manolache 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 /ur

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 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 should be in DB