On Wed, Sep 9, 2009 at 3:58 AM, sravan kumar<sravankuma...@gmail.com> wrote:
> Hello apache gurus,
>
> I have a special request,
>
> when client hits the url
>
> http://www.domain.com/signup.jsp?banner_s=off4&amp;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



-- 
krist.vanbes...@gmail.com
kr...@vanbesien.org
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: users-unsubscr...@httpd.apache.org
   "   from the digest: users-digest-unsubscr...@httpd.apache.org
For additional commands, e-mail: users-h...@httpd.apache.org

Reply via email to