Copied to clipboard

Flag this post as spam?

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


  • Jim Lesinski 32 posts 54 karma points
    Jan 31, 2011 @ 20:43
    Jim Lesinski
    0

    Non Umbraco Virtual Directory

    Hello,

    I need to set up some separate .NET web applications in a virtual directory within the same web as umbraco. I thought this would be a simple task as I would just create the virtual directory in IIS and point it to a folder outside of umbraco, but it appears that this isn't working. 

    I tried setting the umbraco umbracoReservedPaths to include the path of the virtual directory (for example ~/myapp/) but this doesn't seem to work. It looks like the URL Rewrite Module is causing the error. Here is what I receive:

    Line 67: <httpModules> Line 68: <!-- URL REWRTIER --> Line 69: <add name="UrlRewriteModule" type="UrlRewritingNet.Web.UrlRewriteModule, UrlRewritingNet.UrlRewriter" /> Line 70: <add name="umbracoRequestModule" type="umbraco.presentation.requestModule" /> Line 71: <!-- UMBRACO -->

     

    How do I go about achieving a non umbraco virtual directory within the same web?

    Thanks,
    Jim

  • Tom Fulton 2030 posts 4998 karma points c-trib
    Jan 31, 2011 @ 21:09
    Tom Fulton
    2

    Hi Jim,

    Try wrapping the following around your system.web and (I think) system.webserver tags in Umbraco's web.config to prevent the Umbraco specific stuff from being inherited in the child app:

    <location path="." inheritInChildApplications="false">

    <system.web>
    ...
    </system.web>
    <system.webserver>
    ...
    </system.webserver>

    </location>

    There are a few similar threads - see http://our.umbraco.org/forum/core/general/10733-Exclude-non-umbraco-web-application-%28subsite%29?p=1

    -Tom

  • Jim Lesinski 32 posts 54 karma points
    Jan 31, 2011 @ 21:24
    Jim Lesinski
    0

    Thanks Tom - That worked wonderfully! I had searched but hadn't seen that specific thread. 

  • Funka! 398 posts 661 karma points
    Jan 26, 2012 @ 02:11
    Funka!
    1

    Hello Tom,

    Your link doesn't seem to be working anymore. It looks like it has moved here : http://our.umbraco.org/forum/core/general/10733-Exclude-non-umbraco-web-application-(subsite)  ; (Just in case this helps anyone else out down the road....)

  • Yoni 49 posts 118 karma points
    Jul 29, 2014 @ 14:38
    Yoni
    0

    Thanks Tom. Solved my problem. Running wordpress inside my Umbraco installation

Please Sign in or register to post replies

Write your reply to:

Draft