httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andrea Rossignoli" <softw...@polin.it>
Subject Re: [users@httpd] Help rewriting CGI url
Date Sat, 08 Mar 2003 10:00:06 GMT
Hi,
I'd use

RewriteRule ^X/Y/ http://10.x.x.x/X/Y/ [NC,L]

the query string will be appended automatically.

Andrea~

----- Original Message -----
From: "Red Wilson" <rwilson_29070@hotmail.com>
To: <users@httpd.apache.org>
Sent: Saturday, March 08, 2003 01:25
Subject: [users@httpd] Help rewriting CGI url


>
> Hi,
>
> I'm trying to rewrite a URL on a 2.0.44 system to
> proxy to a hidden server running 1.3.9. The old
> system is on NT and we want this available only
> by proxied and ssl wrapped queries. From the
> console of the modssl system I can browse the
> 1.3.9 box so my internal interface is working
> and speaking to the hidden box. My problem is
> rewriting URLS to the internal system. I'd like
> queries of the form
>
> https://modssl/DEMO/X/Y/?Arg1=1&Arg2=2
>
> to be rewritten as
>
> http://10.x.x.x/X/Y/?Arg1=1&Arg2=2
>
> I have the following lines in my config..
>
> RewriteEngine On
> RewriteRule X/Y/(.*) http://10.x.x.x/X/Y/$1
>
> The access log on the 1.3.9 system shows the following URL
> in the access logs...
>
> GET /X/Y/%3FArg1=1&Arg2=2?Arg1=1&Arg2=2
>
> So obviously I'm losing something in Rewrite. Any help here
> would be appreciated. Thanks in advance.
>
>
> _________________________________________________________________
> STOP MORE SPAM with the new MSN 8 and get 2 months FREE*
> http://join.msn.com/?page=features/junkmail
>
>
> ---------------------------------------------------------------------
> 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


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