Subdirectory issue when migrating Umbraco to Azure
Hi,
I currently have an issue when migrating Umbraco from a VM to an Azure service. Long story, but Umbraco has had to be moved to a subdirectory (eg site/cms/umbraco) of an existing site due to the root site (not Umbraco built) using the media directory for its content.
I created a virtual directory to point to the root of the Umbraco (eg http://site.domain/cms), meaning the users have to type /cms/umbraco for the site to load. The issue here is that Umbraco then uses that URL as the root directory, and looks for its plugins under site/cms/umbraco, meaning 404 errors and content not being displayed.
The main issue I have is that when I change the virtual directory to look at site/cms/Umbraco to send them directly to the main Umbraco page, the site doesn't load. I get an error stating the directory contents cannot be loaded.
Does anyone have any idea why this would be the case? It's odd that manually appending the URL of the subdirectory /cms/umbraco would work fine, but sending the requests directly by amending the 'cms' virtual directory would not. Is there something in a config file that I'm missing?
I tried every combination possible, but still to no avail. I really don't understand how having the virtual directory as /cms, and manually typing /cms/umbraco works fine, but changing the virtual directory to point to /cms/umbraco doesn't 'activate' the redirect and display the login page. It's really bizarre.
Subdirectory issue when migrating Umbraco to Azure
Hi,
I currently have an issue when migrating Umbraco from a VM to an Azure service. Long story, but Umbraco has had to be moved to a subdirectory (eg site/cms/umbraco) of an existing site due to the root site (not Umbraco built) using the media directory for its content.
I created a virtual directory to point to the root of the Umbraco (eg http://site.domain/cms), meaning the users have to type /cms/umbraco for the site to load. The issue here is that Umbraco then uses that URL as the root directory, and looks for its plugins under site/cms/umbraco, meaning 404 errors and content not being displayed.
The main issue I have is that when I change the virtual directory to look at site/cms/Umbraco to send them directly to the main Umbraco page, the site doesn't load. I get an error stating the directory contents cannot be loaded.
Does anyone have any idea why this would be the case? It's odd that manually appending the URL of the subdirectory /cms/umbraco would work fine, but sending the requests directly by amending the 'cms' virtual directory would not. Is there something in a config file that I'm missing?
Any help appreciated, this is driving me insane!
Hi,
did you play with we.config keys:
~/cms/umbraco or smth like this...
Thanks, Mike
Hey,
I tried every combination possible, but still to no avail. I really don't understand how having the virtual directory as /cms, and manually typing /cms/umbraco works fine, but changing the virtual directory to point to /cms/umbraco doesn't 'activate' the redirect and display the login page. It's really bizarre.
Thanks for the suggestion! :)
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.