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: Remove Trailing Slash
Message |

Joined: 07 January 2007
Location: United States
Posts: 14
Posted: 01 February 2011 at 11:20pm

I would like to remove the trailing slash in ISAPI_Rewrite 2 instead of forcing the trailing slash.


Currently the rule I have is:
# Force a trailing
RewriteCond Host: (.*)
RewriteRule ([^.?]+[^.?/]) http\://$1$2/ [I,R]
Back to Top Visit 3plains's Homepage
Admin Group

Joined: 30 January 2007
Location: Ukraine
Posts: 10519
Posted: 02 February 2011 at 4:34am

It should be like this:

RewriteCond Host: (.*)
RewriteRule ([^.?]+[^.?/])/ http\://$1$2 [I,R]

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