httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vinko Vrsalovic" <vink...@gmail.com>
Subject Re: [Httpd Wiki] Update of "Recipes/QueryString" by VinkoVrsalovic
Date Wed, 30 May 2007 15:23:39 GMT
On 5/30/07, Joshua Slive <joshua@slive.ca> wrote:
>
> > Didn't know that... but I did a quick test:
> >
> >         RewriteRule /path/[^/]+ http://google.com
> >
> > and when accessing http://localhost/path/dsa(@@) drove me to google. So
> I
> > think it's not *that* messed up.
>
> The problem is extra escaping that occurs on the substitution string. So
> try
> RewriteRule /path/([^/]+) http://google.com/?q=$1


Google tells me:

The requested URL /?q=dsa(@@) was not found on this server.

Address bar shows http://www.google.com/?q=dsa(@@)

(Ubuntu's 2.0.55 package, Firefox 1.5.0.11 as client)

V.

Mime
View raw message