Copied to clipboard

Flag this post as spam?

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


  • Paul A 133 posts 368 karma points
    Feb 02, 2011 @ 18:47
    Paul A
    0

    umbracoReservedPaths prob?

     

    Hi,

    I'm trying to add a new folder into where Umbraco sits on the server:

    /paul

    I've added in a default.aspx file in there, but it's not being picked up. I get the 404 page.

    I've added the directory to umbracoReservedPaths (triple checked) and have checked that default.aspx is one of the default documents that IIS looks for.

    Am I missing something?

    Thanks,

  • Jan Skovgaard 11241 posts 23387 karma points MVP 6x admin c-trib
    Feb 02, 2011 @ 18:52
    Jan Skovgaard
    0

    Hi Paul

    I think you migh also need to add it to the umbracoReservedUrls

    /paul/default.aspx

    Hope this helps.

    /Jan

  • James Patterson 53 posts 192 karma points
    Feb 02, 2011 @ 19:25
    James Patterson
    0

    You should only have to add '~/yourDir/' (~/paul/ in this case) to the umbracoReservedPaths app setting.

    Remember that http://yourdomain.com/paul won't work. But http://yourdomain.com/paul/ (with ending slash) will. Also, the full path .../paul/default.aspx will also work, you shouldn't need to add it to umbracoReservedUrls.

    I just quickly tried this out on my local machine and works as expected.

    Cheers,

    James

     

     

  • Paul A 133 posts 368 karma points
    Feb 03, 2011 @ 11:19
    Paul A
    0

    Thanks for the repies. I run two umbraco sites... we've been doing this for a while on one site, this is first time on the other.

    /paul/ is working fine (as James pointed out)

    /paul doesn't work... but this does work on the other site just by adding /paul to the umbracoReservedPaths

    Will keep looking around and let you know if I find the fix/problem.

    Thanks,

  • Tom Maton 387 posts 659 karma points
    Feb 03, 2011 @ 11:32
    Tom Maton
    1

    Hi Paul,

    Is your umbraco install setup to use friendly urls?

    Tom

  • Paul A 133 posts 368 karma points
    Feb 03, 2011 @ 11:39
    Paul A
    0

    Hi Tom,

    Yup-friendly-URLS-galore.aspx

    (both sites)

  • Paul A 133 posts 368 karma points
    Feb 03, 2011 @ 11:49
    Paul A
    0

    Bingo!

    For some reason, the second site insisted on two bits of info, whereas the first site just needs umbracoReservedPaths.

    Added /directory to umbracoReservedUrls

    Added /directory/ to umbracoReservedPaths

    Cheers for replies,

  • Tom Maton 387 posts 659 karma points
    Feb 03, 2011 @ 12:27
    Tom Maton
    0

    Glad you got it sorted.

    Tom

  • James Patterson 53 posts 192 karma points
    Feb 03, 2011 @ 12:35
    James Patterson
    0

    Nice one. Strange that the two sites had different behaviour though. Something to watch out for.

    James

Please Sign in or register to post replies

Write your reply to:

Draft