httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jørn <apache.u...@dahl-stamnes.net>
Subject Re: [users@httpd] RedirectMatch
Date Mon, 17 Jan 2011 10:31:16 GMT
On Monday 17 January 2011 11:27, Matus UHLAR - fantomas wrote:
> On 13.01.11 11:07, Jørn wrote:
> > I got a problem with using RedirectMatch.
> >
> > The following RedirectMatch line works well:
> > RedirectMatch 301 /Foto/Album.*img_([0-9]*)\.
> > "http://www.dahl-stamnes.net/Foto/r_img.php?img=$1"
> >
> > But now I want to add another RedirectMatch:
> >
> > RedirectMatch 301 ^/Foto/show.*album\=(.*)$
> > "http://some.other.url/album.php?album=$1"
>
> Tried to remove the backslash and quotes?

Yes, but the probem is that RedirectMatch only check the string to the left of 
the ?-sign.
I must fix this by chaning the scripts.

-- 
Jørn Dahl-Stamnes
homepage: http://www.dahl-stamnes.net/dahls/

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