httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Malo>
Subject Re: [users@httpd] mod_rewrite bad request
Date Wed, 05 May 2004 08:01:56 GMT
* "Tim Burden" <> wrote:

> 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
> annoyance?

A rewrite log would be interesting. And the httpd version / OS you're using.


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