Vincent Apesa ([EMAIL PROTECTED]) said something to this effect on 01/23/2001:
> Hello all,
>     I'm trying to modify the query string from the client before sending it
> off again. I would like to do something like so:
> 
> http://www.xyz.com?one=1 and modify the uri to
> http://www.xyz.com?one=2
> 
> the problem is I'm not sure how to reference values in the query string. I
> would like to be able to say
> queryArgs( 'one' ) = 2;

This looks like a problem for mod_rewrite, if you have it compiled into
your httpd. Do something like:

RewriteEngine On
RewriteCond %{QUERY_STRING}  one=.*
RewriteRule ^/$ http://www.xyz.com/?one=2 [R]

(darren)

-- 
There is no expedient to which a man will not go to avoid the real
labour of thinking.

Reply via email to