This forum has been moved here:
Helicon Tech Community Forum

  Active TopicsActive Topics  Display List of Forum MembersMemberlist  HelpHelp   RegisterRegister  LoginLogin
ISAPI_Rewrite 2.x (Forum Locked Forum Locked)
 Helicon Tech : ISAPI_Rewrite 2.x
Subject Topic: + redirect
Author
Message |
stupcw
Newbie


Joined: 02 February 2005
Location: United Kingdom
Posts: 5
Posted: 29 September 2010 at 5:39am

Hi Guys

I want to redirect if the incomming url comtains DELETE+ tried this.

RewriteRule .*DELETE+.* /security-violation.htm

did not seem to work, redirected for just DELETE

Also is the ini case sensitive ie do i need to put

RewriteRule .*delete+.* /security-violation.htm

thanks

Back to Top
 
Anton
Admin Group


Joined: 30 January 2007
Location: Ukraine
Posts: 10519
Posted: 29 September 2010 at 7:32am

You must escape + sign to make it working properly:

RewriteRule .*delete\+.* /security-violation.htm [I,L]

__________________
Regards,
Anton
Back to Top
 

Sorry, you can NOT post a reply.
This forum has been locked by a forum administrator.

Printable version Printable version
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum