> On Thu, Jan 13, 2011 at 5:07 AM, Jørn <apache.u...@dahl-stamnes.net> wrote:

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

On 13.01.11 07:39, Eric Covener wrote:
> I don't think you can match against the query string 

It's documented in RedirectMatch docs. If it didn't, the first line wouldn't
work even.

> -- you'll need mod_rewrite.

...please, don't use mod_rewrite for something it's not needed for, and don't
advise people to do so.


-- 
Matus UHLAR - fantomas, uh...@fantomas.sk ; http://www.fantomas.sk/
Warning: I wish NOT to receive e-mail advertising to this address.
Varovanie: na tuto adresu chcem NEDOSTAVAT akukolvek reklamnu postu.
I wonder how much deeper the ocean would be without sponges. 

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

Reply via email to