You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "charlycr74@yahoo.com.ar" <ch...@yahoo.com.ar> on 2008/09/02 22:13:20 UTC

[users@httpd] redirect with query string

Hi,

I have a redirect problem, I already googled it and I cannot find how to do it.

What I have to do is:

I have this URL: http://www.domain.com/abc/def/abcd.asp?abc=123&def=456&ghi=135

I have to redirect the requests to: http://www.domain.com/xzy/uvw/abc/xyz.asp?cba=000&zyx=111

Anybody knows how to do it?

Thanks,

Charly



      ____________________________________________________________________________________
¡Buscá desde tu celular!

Yahoo! oneSEARCH ahora está en Claro

http://ar.mobile.yahoo.com/onesearch

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


Re: [users@httpd] redirect with query string

Posted by Eric Covener <co...@gmail.com>.
On Tue, Sep 2, 2008 at 4:13 PM, charlycr74@yahoo.com.ar
<ch...@yahoo.com.ar> wrote:

> I have this URL: http://www.domain.com/abc/def/abcd.asp?abc=123&def=456&ghi=135
>
> I have to redirect the requests to: http://www.domain.com/xzy/uvw/abc/xyz.asp?cba=000&zyx=111
>
> Anybody knows how to do it?

Capture whatever you need to save, if anything:
http://wiki.apache.org/httpd/RewriteQueryString

-- 
Eric Covener
covener@gmail.com

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


Re: [users@httpd] redirect with query string

Posted by Stephen Wellington <we...@gmail.com>.
On 9/2/08, charlycr74@yahoo.com.ar <ch...@yahoo.com.ar> wrote:
> Hi,
>
>  I have a redirect problem, I already googled it and I cannot find how to do it.
>
>  What I have to do is:
>
>  I have this URL: http://www.domain.com/abc/def/abcd.asp?abc=123&def=456&ghi=135
>
>  I have to redirect the requests to: http://www.domain.com/xzy/uvw/abc/xyz.asp?cba=000&zyx=111
>
>  Anybody knows how to do it?
>
>  Thanks,
>
>  Charly
>
>
>
>       ____________________________________________________________________________________
>  ¡Buscá desde tu celular!
>
>  Yahoo! oneSEARCH ahora está en Claro
>
>  http://ar.mobile.yahoo.com/onesearch
>
>  ---------------------------------------------------------------------
>  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
>
>

Can you explain a little more exactly which parts of the URL you want
rewritten to where? For example, how are the values 000 and 111
generated? and the various parts of the URL: How do they match up
between the incoming and rewritten URLs?
Will gladly help if you explain a little more..

wellingtonsteve