If you look atDaniel'sanswer,it should be possibleto set it to use virtual directoryby changingtheweb.config. Change theappsetting "umbracoUseDirectoryUrls" totrue. And then you need to republish entire site from "Content" node.
I havenot triedit myself, but hopeitcan help you further.
I justtried to usevirtualdirectoriesonalocal testinstallationofUmbraco4.7.By makingthe changesasdescribedin Daniel'sreply.And Idon´t theerrorinthebackend asyou describe. So Idon´t know ifitmayhave something todo with theWeb providerifyour siteis alreadyonline?
We use virtual directories as well and never bump into this error. However i really dont recommend using Virtual Directory specially if you plan to install packages.
How to set up Umbraco in virtual directory
Hello! Even though I see that running Umbraco from a virtual directory is possible, I can not find any instructions on how to set it up.
Can anyone point me to a set of instructions on how to do this (or post back here :) )?
Thanks in advance!
Hi Will,
If you use version 4.7, this post on the forum might help you.
http://our.umbraco.org/forum/getting-started/installing-umbraco/18746-installing-Umbraco-47-on-virtual-directory
If you look at Daniel's answer, it should be possible to set it to use virtual directory by changing the web.config.
Change the app setting "umbracoUseDirectoryUrls" to true. And then you need to republish entire site from "Content" node.
I have not tried it myself, but hope it can help you further.
/Dennis
Thanks for the reply Dennis! I did see that post (and most every other post on these forums about virtual directories), and I've implemented that.
I am getting an error when navigating to the backend via the parent site:
Could not load type 'umbraco.cms.presentation._umbraco'.
I was hoping there would be step by step instructions available. Oh, and I am on 4.7.
Hi Will,
I just tried to use virtual directories on a local test installation of Umbraco 4.7. By making the changes as described in Daniel's reply. And I don´t the error in the backend as you describe. So I don´t know if it may have something to do with the Web provider if your site is already online?
I hope you find a solution to your problem Will,
/Dennis
Hi Will,
We use virtual directories as well and never bump into this error. However i really dont recommend using Virtual Directory specially if you plan to install packages.
//fuji
is working on a reply...