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 use something like
RewriteRule ^(.+)$ frontcontroller.php/$1 [NS,E=REWRITTEN_REQUEST_URI:$1]
or
RewriteRule ^(.+)$ frontcontroller.php?Rewritten_request_uri=$1 [QSA]

Then adjust your frontcontroller.php to get the info from PATH_INFO or
QUERY_STRING.

The first one might require setting AllowPathInfo On in httpd.conf.

Joshua.

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: [EMAIL PROTECTED]
  "   from the digest: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to