On Wed, Sep 9, 2009 at 3:58 AM, sravan kumar<[email protected]> wrote: > Hello apache gurus, > > I have a special request, > > when client hits the url > > http://www.domain.com/signup.jsp?banner_s=off4&rotation_s=off4 > > He should get the redirection to the url below. > > http://www.domain.com/signup.jsp > > > I tired to add ad rule > RewriteRule /signup.jsp(.*) http://www.domain.com/signup.jsp
In the above line you are only rewriting the URL in the server. If you want it to also change in the browser address bar you need to do a redirect. This means adding [R] to the rule. (See the documentation for more details) You should also be aware that the LHS of a RewriteRule is only matched against the URL, not against the query string... Krist -- [email protected] [email protected] Bremgarten b. Bern, Switzerland -- A: It reverses the normal flow of conversation. Q: What's wrong with top-posting? A: Top-posting. Q: What's the biggest scourge on plain text email discussions? --------------------------------------------------------------------- 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: [email protected] " from the digest: [email protected] For additional commands, e-mail: [email protected]
