httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From DM <donalmurt...@yahoo.co.uk>
Subject [users@httpd] using mod_rewrite to change param value
Date Fri, 10 Nov 2006 17:02:50 GMT
Hi,

I want to use mod_rewrite to change a URL such as the following:

http://www.example.org/myProgram?param1=val1&url=http://host.domain.com/foo/bar.html

to

http://www.example.org/myProgram?param1=val1&url=http://something.else.com/foo/bar.html


I've verified that mod_rewrite is correctly installed and enabled - it works for simple rewriting
examples, but I can't seem to work out the correct "RewriteRule" syntax for changing the value
of the url parameter as show above.


Thanks in Advance,
DM

Send instant messages to your online friends http://uk.messenger.yahoo.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


Mime
View raw message