Creating custom folder with files Options
itiden
Posted: Friday, August 15, 2008 1:11:33 PM
Rank: Newbie

Joined: 4/18/2008
Posts: 4
Location: Sweden
Hi

I would like to create a folder in the root of my site that umbraco don't handle.

Example
http://www.site.com/work

But if I create a folder I get the error:
No node found (http://www.site.com/default.aspx?umbPage=/work/Default.aspx, '/domainprefixes-are-used-so-i-do-not-work')

When I try to use it.


I understand that umbraco urlrewrites. But is it possible the get around this?
Dirk
Posted: Friday, August 15, 2008 1:20:40 PM

Rank: Addict

Joined: 9/27/2007
Posts: 977
Location: Belgium
Yep, you'll find a configuration option in the umbracoSettings.config to let umbraco know not to ignore certain dirs.

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


In your case, it would become
Code:

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


Regards,
/Dirk


level 1 certified - umbraco blog at netaddicts.be - working on an integrated forum4umbraco
Dirk
Posted: Friday, August 15, 2008 1:21:13 PM

Rank: Addict

Joined: 9/27/2007
Posts: 977
Location: Belgium
Oops, setting can be found in web.config rather than in umbracoSettings.config.

Greetz,
/Dirk


level 1 certified - umbraco blog at netaddicts.be - working on an integrated forum4umbraco
Users browsing this topic
Guest


You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.