httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Tim Burden" <>
Subject [users@httpd] mod_rewrite bad request
Date Wed, 05 May 2004 07:45:39 GMT
I use the following simple .htaccess file to redirect all requests to
index.php, which then processes the request:
RewriteEngine on
RewriteRule ^.* index.php

In other words, send everything to index.php.

This works perfectly fine when it is in the document root.
When I move it to /foo/, however, it works fine, except that requests to
/foo (no trailing slash) generate Bad Request.

Can anyone shed some light on what is going on, and how to fix this minor


The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message