Re: RedirectMatch

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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




[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux