httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ken Gillett <...@ukgb.net>
Subject Re: [users@httpd] RedirectMatch = HideMatch
Date Thu, 05 Jun 2003 18:15:35 GMT
Already figured out what I needed, but thanks anyway.

I take your point about a redirect being different from an href. It's 
the change in Apache's behaviour from v1 to v2 that caught me out. 
Still, all's well that ends well:-)


On Thursday, June 5, 2003, at 06:53  pm, Joshua Slive wrote:

> On Thu, 5 Jun 2003, Joshua Slive wrote:
>> RedirectMatch ^/(.*)/[^/]*/~([^/])$ http://yoursite.example.com/$1/$2
>
> Of course, I always screw up complex regexes.  Try:
> RedirectMatch ^/(.*)/[^/]*/~([^/]*)$ http://yoursite.example.com/$1/$2



Ken  G i l l e t t

_/_/_/_/_/_/_/_/_/


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