Copied to clipboard

Flag this post as spam?

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


  • David 2 posts 30 karma points
    Jul 11, 2009 @ 13:44
    David
    0

    Making Umbraco ignore some .aspx files

    Hi, I have some .aspx files I would like to host on the same server as umbraco. Umbraco catches all .aspx files and then forwards them on to the appropriate in-umbraco page. How can I upload a file, e.g. <root>/info.aspx and let it pass through for normal .net processing?

     

    Thanks,

    David

  • Tom 50 posts 100 karma points
    Jul 11, 2009 @ 13:56
    Tom
    102

    Use the umbracoReservedUrls property in the web.config

  • David 2 posts 30 karma points
    Jul 11, 2009 @ 14:55
    David
    0

    Ah, i saw that, but didnt know what it did.

     

    Thanks

    David

  • Morten Bock 1867 posts 2140 karma points MVP 2x admin c-trib
    Jul 11, 2009 @ 16:26
    Morten Bock
    3

    You just type in a comma separated list of urls to ignore:

        <add key="umbracoReservedUrls" value="/config/splashes/booting.aspx,/config/splashes/noNodes.aspx,/yourfolder/yourfile.aspx" />

    Remember to only add commas _between_ the urls. Otherwise Umbraco will ignore ALL url's. (this may have been fixed, but used to be a bug)

  • Dirk De Grave 4541 posts 6021 karma points MVP 3x admin c-trib
    Jul 11, 2009 @ 16:57
    Dirk De Grave
    3

    Or, if you have multiple aspx files that are hosted in the same directory, you may also use:

        <add key="umbracoReservedPaths" value="/umbraco,/install/,/forum/" />
    

    Cheers,

    /Dirk

  • Gordon 21 posts 42 karma points
    Dec 05, 2014 @ 15:36
    Gordon
    0

    Does this include post requests to that url?

    Thanks

    Gordon

  • Jan Skovgaard 11280 posts 23678 karma points MVP 11x admin c-trib
    Dec 05, 2014 @ 15:40
    Jan Skovgaard
    0

    Hi Gordon

    If it's a reserved path Umbraco will not "see" it and not do anything.

    Are you having any issues since you ask? :)

    /Jan

Please Sign in or register to post replies

Write your reply to:

Draft