httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <>
Subject Re: [users@httpd] stripping trailing slash
Date Tue, 06 Jan 2004 21:32:40 GMT

On Tue, 6 Jan 2004, Ari Davidow wrote:
> >ReWriteRule ^/([-a-zA-Z0-9_]*)/*$ /myscript/$1 [T=application/x-httpd-php]

> No, this doesn't work either, although you're right - it's cleaner. I'm
> wondering if there is something that apache does when it sees the trailing
> slash to assume that a directory is intended that is different from the
> usual parsing? Or something that I need to do to indicate that the slash
> should be treated as a literal character, not as the usual symbol for
> "directory"?


The next step is to use the RewriteLog to see exactly what mod_rewrite is
doing.  Turn up the RewriteLogLevel to 9 and post here if you don't
understand the contents.


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