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:
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.
umbracoReservedUrls not working as expected
hi,
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:
and added the folder to the UmbracoReservedPaths:
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.
Thanks!
Hi,
I was messing with this yesterday and it worked to remove the trailing / like this..
Cheers,
Stefan
hi stefan,
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).
thanks,
eran
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.
Thanks
is working on a reply...