Re: [EMAIL PROTECTED] Can't set environment variable in per-birectory rewrite

2007-05-12 Thread Joshua Slive
On 5/12/07, Ian Brandt <[EMAIL PROTECTED]> wrote: RewriteRule ^(.+)$ frontcontroller.php [NS,E=REWRITTEN_REQUEST_URI:$1] I hate dealing with per-directory rewrites myself. Too darn complex. I don't know the exact problem here, but I can suggest a more typical way to get around this: Simple us

[EMAIL PROTECTED] Can't set environment variable in per-birectory rewrite

2007-05-12 Thread Ian Brandt
Hi, I'm trying to implement the front controller pattern for a simple PHP site, while simultaneously leveraging mod_rewrite for some run-of-the- mill rewriting beforehand as well. Apache 2.2.4 & PHP 5.2.2. My simplified rules in .htaccess at present are as follows: - # Rewrite any r