Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hi,
I'm trying to prevent one of my templates being called through the '?altTemplate' method (and also the /altTemplateName.aspx method).
I'm trying to do it using URL rewriting but this doesn't seem to test the regular expressions against the query string parameters.
So, my main question is how to prevent the altTemplate.
My secondary question would be if this can be done with URL rewriting?
Thanks!
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
Prevent an altTemplate maybe with URL rewriting
Hi,
I'm trying to prevent one of my templates being called through the '?altTemplate' method (and also the /altTemplateName.aspx method).
I'm trying to do it using URL rewriting but this doesn't seem to test the regular expressions against the query string parameters.
So, my main question is how to prevent the altTemplate.
My secondary question would be if this can be done with URL rewriting?
Thanks!
is working on a reply...