in reply to Re^2: mod rewrite on mod perl handler skip trans handler phase
in thread mod rewrite on mod perl handler skip trans handler phase
Okay, I think i finally understand your problem. You want to only intercept requests that didn't map to anything else. I don't think you can do that in any easy way with mod_rewrite. It would certainly be much easier to use a top-level prefix (like your /u example) or a virtual host (like your profiles.myspace.com example).
One relatively simple thing you can try is to just map your perl module to the handler for 404 NOT FOUND errors. Then it will only get things that didn't match anything else. That's the easiest route, if you don't want to use the naming tricks.
|
|---|