Thanks for the tip, and I have looked into it. Acutally, right now, in my deconstruction of this, I'm just trying to get mod_rewrite to rewrite _anything_! RewriteEngine on RewriteLogLevel 9 RewriteRule ^sda-bin(.*) ddl-bin$1 ScriptAlias /sda-bin/ /some/dir/ # doesn't seem to mater either above or below. and a request to http://domain.com/sda-bin/m2h?gl/clouds.men returns as normal. No rewrite logging comes through either. Maybe that doesn't get turned on unless there's a match, but it should be matching. This module hold's it's secrets well. :(thanx for any clues... and I have cleared my cache, and the access_log log's the query as normal. Startup is fine, so the module must be loaded.
-ds----- Original Message ----- From: "Joshua Slive" <joshua@xxxxxxxx>
To: <users@xxxxxxxxxxxxxxxx> Sent: Thursday, October 05, 2006 1:00 PM Subject: Re: [users@httpd] rewrite proxy and query string
On 10/5/06, David Salisbury <salisbury@xxxxxxxxx> wrote:Just wondering if this is possible. Due to a technicality, I would like urls on our site asking for /dir/prog?gl/clouds.men* to be reverse proxied from http://another.domain.com/dir/prog?gl/clouds.men* So I'm trying. RewriteEngine on RewriteRule ^(/dir/prog?gl/clouds.men*) http://another.domain.com/$1 [p] Doesn't seem to work though by itself.In the docs for RewriteRule, see the big box labeled "Query String". You need something like: RewriteEngine On RewriteCond %{QUERY_STRING} ^gl/clouds.men RewriteRule ^/dir/prog http://another.domain.com/dir/prog [P] Joshua. --------------------------------------------------------------------- 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@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx
--------------------------------------------------------------------- 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@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx