Reputation: 10479
Has anyone successfully installed Umbraco 4.7 into a sub folder or virtual directory? I am at the end of my wits here. I have had success with neither.
I am trying to get it working so mydomain.com/umbracoTest is the umbraco site.
What I find happens every time is it can never find the umbTopNavigation.xslt when I install the starter kit, I find out after changing skins, it creates a sub directory in my umbraco folder with the same name as the install folder (so if my virtual directory points to C:\apps\umbracoTest, it creates a folder C:\apps\umbracoTest\umbracotest) which has the XSLT folder, css, scripts, images, etc. So I copy those out to the root app directory and hey I no longer get that error and content actually loads, but none of the images/css/scripts work because I can see it's looking for them in mydomain.com/images instead of mydomain.com/umbracoTest/images.
Can Umbraco actually function not a the root level of a domain? How the heck can I get it working?
NOTE: I configured all the settings properly in IIS. IUSR, IIS_IUSRS, and Network Service have full control of the directory, also the virtual directory is configured as an application using .NET 4.0 Integrated.
Upvotes: 1
Views: 4272
Reputation: 26257
No you should be able to install Umbraco in any subfolder but you have to set a hostname for your site.
Check this screencast, http://cultiv.nl/blog/2010/2/1/screencast-installing-umbraco/
Or this post, Umbraco configured with IIS 7 having hard time with the site URL?
Upvotes: 1
Reputation: 2278
In umbracoSettings.config there is a setting ResolveUrlsFromTextString that must be turned on for sites in a virtual directory.
Have you turned that on?
Upvotes: 1
Reputation: 7630
By default Umbraco does not support to installed out of the box in a sub-folder as the Umbraco application will expect everything being relative located from root (/) but in theory you could update all of the links but that would not be a job I would do.
Easiest it to setup your site as a sub-domain instead like: umbracotest.mydomain.com
Upvotes: 0