[BNM] Rewriting b*tard back-to-front slashes
Jay Caines-Gooby
jay at gooby.org
Mon Nov 27 16:50:44 GMT 2006
On 11/27/06, Jay Caines-Gooby <jay at gooby.org> wrote:
> Thanks Dom,
>
> Didn't work but got me part way there.
>
> RewriteEngine On
> RewriteRule (.*)\\(.*) $1/$2 [N,NE]
>
> Works on Apache 1.3 (not sure that I need the NE, but I didn't want
> the slashes getting URL escaped).
>
> Doesn't work on Apache2 though :(
>
> I get:
>
> RewriteRule: cannot compile regular expression '(.*)\\(.*)'
>
> in the error log. Bah.
RewriteBase /
RewriteRule (.*)\\(.*) $1/$2 [L,R,NE]
Did the trick on Apache2. I can't believe how long this has taken me
to sort out :(
--
Jay Caines-Gooby
jay at gooby.org
+44 (0)7956 182625
skype:jaygooby
http://snipperoo.com
http://blog.snipperoo.com
More information about the BNMList mailing list
BNMList is hosted by Screenlists, a Screen-Play.net service