[users@httpd] using mod_rewrite to change param value

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux