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

Joined: 22 June 2011
Posts: 4
Posted: 27 June 2011 at 1:26pm

Hello all,

I'm having issues with a rule that is auto adding the Trailing Slash to my URLs. We are a .Net shop that is starting to utilize the Model View Controller Framework and on those sites that use MVC we do not want to add in the Trailing Slash via the ISAPI rules. However I've found that several, not all, of my Applications break if I simply comment out the trailing slash rule in the httpd.ini file. I'm not sure what is happens because in our Test envir. it does not seem to be a problem, we've commented out the rule there and all apps work as expected.

I've inherited this network and I'm not a developer by any means so I'm not sure why it was put there in the first place, I've just been told to remove it. Obviously I can't just simply pull the plug on the rule because it breaks several production apps.

I was hoping someone here could help me understand the purpose of why we'd have this rule and why it may effect only some applications. I've copied the rule below if anyone needs a reference what I'm referring too. As I mentioned we are a .Net shop running on W2K3 servers.

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

Any thoughts or suggestions would be very much appreciated.


Back to Top
Admin Group

Joined: 30 January 2007
Location: Ukraine
Posts: 10519
Posted: 29 June 2011 at 5:17am

Could you please specify what error you get with the rule commented out.
Also please tell if you are using any other rewrite rules.
If yes, give an example of request that fails.

Back to Top

Joined: 22 June 2011
Posts: 4
Posted: 30 June 2011 at 7:34am

I found that we had other rewrite rules that was causing my issue. 


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