On 5/30/07, Vinko Vrsalovic <vinkovb gmail.com> wrote:
>
>
> 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
a>( ) 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( )
Perhaps is a safe character in this context. For details of
the problem, see:
http://mail-archives.apache.o
rg/mod_mbox/httpd-dev/200705.mbox/%3cop.tsvnf2butl8eweredgene.mta.liwest.at%3e
Joshua.
------------------------------------------------------------
---------
To unsubscribe, e-mail: docs-unsubscribe httpd.apache.org
For additional commands, e-mail: docs-help httpd.apache.org
|