www-apache-bugdb mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Philip Hallstrom <phi...@sierra.com>
Subject Re: mod_rewrite/1440: Rewrite has problems with urls such as "http://foo/bar//goo.html" (double //'s)
Date Fri, 21 Nov 1997 16:57:47 GMT
Dean - 

I made a typo in my url...  even when I try http://stage.sierra.com//img/
it still doesn't get remapped.  (eddie has been replaced by stage).

Sorry my example was off....

-- 
Philip Hallstrom                 Sierra On-Line Services
philip.hallstrom@sierra.com      http://www.sierra.com/

On 21 Nov 1997 dgaudet@hyperreal.org wrote:

> [In order for any reply to be added to the PR database, ]
> [you need to include <apbugs@Apache.Org> in the Cc line ]
> [and leave the subject line UNCHANGED.  This is not done]
> [automatically because of the potential for mail loops. ]
> 
> 
> Synopsis: Rewrite has problems with urls such as "http://foo/bar//goo.html" (double //'s)
> 
> State-Changed-From-To: open-closed
> State-Changed-By: dgaudet
> State-Changed-When: Fri Nov 21 02:19:28 PST 1997
> State-Changed-Why:
> mod_rewrite is doing what you're asking it to.  The
> url "http://eddie.sierra.com//img" doesn't have a trailing
> /, so it can't match "^/img/(.*)".  Try this:
> 
> RewriteRule ^/*img(.*) http://www.sierra.com/img$1
> 
> Dean
> 


Mime
View raw message