httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Graham Leggett <minf...@sharp.fm>
Subject RedirectMatch not working in v1.3...?
Date Fri, 19 Apr 2002 09:44:36 GMT
Hi all,

Just been trying to convince RedirectMatch to match all URLs that are
"/", and redirect them to the URL "/index.html". The site behind it is
reverse proxied, so trying to use Apache's normal index.html handling
will not help me.

I've tried the following:

RedirectMatch (.*)/$ http://209.61.173.189$1/index.html
RedirectMatch ^/$ http://209.61.173.189/index.html
RedirectMatch ^$ http://209.61.173.189/index.html

And none of them make any difference, it is as if the RedirectMatch is
not there at all - How do you match the URI "/"... Is the above config
incorrect, or is RedirectMatch broken?

(LoadModule mod_alias is listed before LoadModule proxy in the config
file, ie alias will be executed first, no? The RedirectMatch is also
listed before ProxyPass)

Regards,
Graham
-- 
-----------------------------------------
minfrin@sharp.fm		"There's a moon
					over Bourbon Street
						tonight..."
Mime
View raw message