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 [users@httpd] RedirectMatch
Date Thu, 13 Jan 2011 10:07:33 GMT
Hello,

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"

But it does not match. After restart I tried but still get the same page. The 
logfile says:

192.168.2.10 - - [13/Jan/2011:11:01:22 +0100] 
"GET /Foto/show.php?album=some_album HTTP/1.1" 200 15850

Any way of debugging how the server handles RedirectMatch's?
Any suggestions what could be wrong with the new statement?

Thanx.

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