You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by kohanm <ko...@gmail.com> on 2008/08/23 04:29:28 UTC

[users@httpd] How to write the RewriteRule

Hi,

I installed apache2.2 on Linux and i included the
LoadModule rewrite_module  in the "httpd.conf"
file.

I want to write a rule  with RewriteRule that redirects this URL

http://mydomain.com/&tip=variables&param=calling/data.do

to:

http://mydomain.com/calling/data.do&tip=variables

and also when the URL does not include &tip=variables  after
http://mydomain.com/
then redirect it with out any change.


Thanks for your help.


-- 
MK

---------------------------------------------------------------------
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