httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Joshua Slive <jos...@slive.ca>
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"?

No.

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.

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: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message