Bob_10976
Jul 26, 2012Nimbostratus
Rewrite URI removing file extension
Hello all…
We host about 20 or so sites in our SharePoint 2010 environment and all of them utilizes the same virtual server on the LTM. I have one site that would like to remove the “.aspx” extension from the URI for each and every page that is requested. I would like to do this via the LTM iRules using a rewrite irule, if possible. My problem comes in where there are other sites associated to this virtual server I do not want them effected, also since there will be a lot of pages with different names I’m not sure how to set this up in a “wildcard” type scenario.
Below is an example of what we have and what we’d like to do.
What we have currently
http://domainname.com/pages/default.aspx
http://domainname.com/pages/mypage.aspx
etc..
What we’d like to see:
http://domainname.com/pages/default
http://domainname.com/pages/mypage
etc..
Any suggestions on the proper rewrite irule to apply to just the domainname.com site?
Thanks,
Bob