On 21 Jan 2013, at 20:08, Marc Boorshtein wrote:

> All,
> 
> I've written a module that checks the URI.  It doesn't work when used
> in conjunction with mod_rewrite, as the r->uri and r->unparsed_uri
> does not have the original uri but the re-written URI.

You could either look at r->prev, or add a hook to your module to
run before mod_rewrite.

A common cause for problems like this is that your "r" may be
a subrequest or internal redirect.  Always worth looking at r->main
and r->prev to see if those are what you want.

-- 
Nick Kew

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to