Hi All
I need help on URL rewriting under Apache 2.0.x. I need to do following :
a) When following request is received by Apache
http://127.0.0.1:85/spot?s=25&format=text/html
it should be rewritten and called as
http://100.100.100.100:85/spot?s=111&format=text/html
with the following settings in my httpd.conf I am able to get ip address changed but no luck with the s=25 to s=111. I am running out of time and can anybody guide as I am not too good with regular expression.
<IfModule mod_rewrite.c> RewriteEngine on RewriteRule ^/(.+) http://100.100.100.100:85/$1 </IfModule>
Regards
Joel 9867572484
<IfModule mod_rewrite.c> RewriteEngine on RewriteRule ^/(.+) http://100.100.100.100:85/$1 </IfModule>
<IfModule mod_rewrite.c> RewriteEngine on RewriteRule ^/(.*) http://100.100.100.100:85/$1 [P] </IfModule>