Hi List, I've got following problem:
I want to redirect all requests like site.com/something, site.com/something/someotherthing,site.com/something/xyz/someotherthing to site.com/something.html, no matter if or without trailing slash BUT NOT if the URL is a .gif, .jpg etc. So I've got the following RedirectMatch: RedirectMatch permanent ^/(.[^/(\.gif)(\.jpg)]*)/? http://www.site.com/$1.html It works fine for anything after site.com/ NOT containing g, i, f, j, p or .
e.g.: site.com/xyzxyz -> site.com/xyzxyz.htmlsite.com/xxxx/yxyx -> site.com/xxxx.html but: site.com/xxgxx -> site.com/xx.html although I bracketed \.gif etc. What's wrong? Can anyone make a suggestion?
greets, hb. --------------------------------------------------------------------- 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