Allow for sub / virtual directory installations Options
clevster
Posted: Monday, April 21, 2008 10:23:53 PM
Rank: Newbie

Joined: 4/21/2008
Posts: 7
I've only been using Umbraco for a few days and I already love it. I'm trying to sell the idea of using it to my boss, however, one of its biggest showstoppers is its inability to be installed within subdirectory or virtual directory.

Many businesses have websites that are already in place at the root level or have subdirectories containing child websites. If Umbraco is installed at the root it can create inheritance issues as well as affect an existing site at the root. Allowing for subdirectory installations would give one the ability to separate the content into different databases, with different members, users, etc. which are specific to that website.

It seems like a easy change but I'm sure I've overstepped my bounds by saying such as I haven't even looked at the source.

I'm curious if any of the programmers can tell me if this feature will be available in the next version of Umbraco? Anxious
drobar
Posted: Monday, April 21, 2008 11:06:40 PM

Rank: Umbracoholic

Joined: 9/8/2006
Posts: 1,410
Location: KY, USA
In umbraco v2 installation in a sub-directory was allowed but it was just too problematic for all sorts of reasons and caused people a lot of difficulty. For v3 sub-directory installations were officially unsupported. It seems unlikely that will be changed in the future but perhaps the core team can say otherwise. The difficulties are not only in umbraco itself but also with the various packages that people contribute that are not always sub-directory "aware".

There are options, however, to avoid the child-site issue entirely. You could, for instance, install umbraco in a separate IIS site that uses a unique url/hostheader. Or the other websites might be moved to another url/hostheader. There's no problem running multiple sites on IIS (except in XP).

Also, only asp.net child-sites will cause any problem at all if put into a folder beneath the umbraco installation. Classic ASP, JSP, ColdFusion, static HTML, etc. sites aren't a problem. And for ASP.NET sites, you should be able to place a web.config in the sub-site's directory to set/reset any values that the /web.config file for the main umbraco site requires.

And, you can run multiple umbraco sites from a single umbraco installation, such as for multi-lingual sites.

Basically, what I'm saying is that (at least in my experience) there is rarely (though not "never") a problem with requiring umbraco to be at the root of its IIS website.

cheers,
doug.

MVP 2007-2009 - Official Umbraco Trainer for North America - Percipient Studios
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.