Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Edward Dudley 80 posts 121 karma points
    Jan 06, 2010 @ 16:18
    Edward Dudley
    0

    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!

Please Sign in or register to post replies

Write your reply to:

Draft