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
i have one static html file that sits on the root folder and one folder that also contains static files.i want to serve both of them not with umbraco.
i added the html file to the list in UmbracoReservedUrls:
<add key="umbracoReservedUrls" value="~/config/splashes/booting.aspx,~/install/default.aspx,~/config/splashes/noNodes.aspx,~/wholesale-distribution-software.html" />
and added the folder to the UmbracoReservedPaths:
<add key="umbracoReservedPaths" value="~/umbraco,~/install/, ~/StaticImgFromOldSite/" />
but it still dont work.. anyone have an idea?...
another thing with the static folder that i dont know if its related:
when i access it with the fullpath: www.mydomain.com/StaticImgFromOldSite/index.html its working good, but without extension its gets 404: www.mydomain.com/StaticImgFromOldSite
by the way, the site is with integrated pipe line, iis7, umbraco 4.7, umbracoUseDirectoryUrls=true and also index.html is defined in the hosting panel as one of the default documents.
I was messing with this yesterday and it worked to remove the trailing / like this..
from some reason the umbracoReservedPaths is working now, even with the ~ sign, and i managed to get to my URL.
but still, umbracoReservedUrls not working and i cant get to my static html page, i get 404 (even without the ~ sign).
Guy where should I place this umbracoreservedpaths?
you should see that key in the web.config file.
try removing all spaces i.e.
I do not know what did helped but as soon as I open/save web.config file in VS instead of notepad it start working.
Possible some encoding issue.
Actually after that I put note on my desktop that Umbraco should be open only in VS and notepad is no-no....
But just in case I also incorporated Andrew suggestion as well.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted