How to add / to the end of a URL using IIS7 Rewite rules
Posted
by Pbearne
on Stack Overflow
See other posts from Stack Overflow
or by Pbearne
Published on 2009-09-21T09:13:45Z
Indexed on
2010/06/15
3:02 UTC
Read the original article
Hit count: 316
Hi Guys
I need to add a trailing / to a url if it doesn't have one or isn't a file
so
becomes
But I don't what to just add slash the URl as this will end up with filename like this style.css/
So I need a piece of Regex that I can put into the IIS 7 rewrite engeine to append when needed
© Stack Overflow or respective owner