I installed the latest version (12.2.0) of Umbraco on my local machine. The mssql database is already located on a productive server. I developed a website and I want to deploy the website now to a preview environment to provide the website for editing to our customers.
I created an artifact running dotnet publish in command line.
On the preview server, I've created an child application in IIS for our existing domain for our preview applications. That means, we are running a website with http on this server and I converted a subfolder as an application as described in the documentation.
in Umbraco > CMS.
I also added UmbracoPath: ~/pathX/pathY/ in Umbraco > CMS > Global, but nothing changed.
I tried to create rewrite rules, to route all /umbraco/* urls to /pathX/pathY/umbraco/*, but it didn't fixed all problems. I was able to login to the backoffice, but I got a nearly empty page and a lot of xhr requests that had correct urls, but responded with server response code 417.
As background information, the requests to https://domain.com is pointing to a different server, which does load balancing, ssl offloading and redirects the requests as http request to the named preview environment above. The load balancing is done on an iis with the arr module. That is the server / configuration, I added the rewrite rule from /umbraco/* to /pathX/pathY/umbraco/*.
Deploy Umbraco to preview environment > backoffice xhr requests fail (404
Hey guys,
I am a newbie with Umbraco and I need some help.
I installed the latest version (12.2.0) of Umbraco on my local machine. The mssql database is already located on a productive server. I developed a website and I want to deploy the website now to a preview environment to provide the website for editing to our customers.
I created an artifact running dotnet publish in command line.
On the preview server, I've created an child application in IIS for our existing domain for our preview applications. That means, we are running a website with http on this server and I converted a subfolder as an application as described in the documentation.
I am able to run the website, i.e. https://domain.com/pathX/pathY/. I am able to request the login page https://domain.com/pathX/pathY/umbraco. BUT when logging into the backoffice, I receive the error message "Login failed for xxx". When I have a look into the Browser developer network tab, I can see wrong XHR request urls, i.e. https://domain.com/umbraco/backoffice/umbracoapi/IsAuthenticated or https://domain.com/umbraco/backoffice/umbracoapi/icon/GetIcons.
The custom path is missing and I cannot figure out why and how to solve it.
The web.config is at it was created by the umbraco installer. appsettings,json has been extended by
in Umbraco > CMS. I also added UmbracoPath: ~/pathX/pathY/ in Umbraco > CMS > Global, but nothing changed.
I tried to create rewrite rules, to route all /umbraco/* urls to /pathX/pathY/umbraco/*, but it didn't fixed all problems. I was able to login to the backoffice, but I got a nearly empty page and a lot of xhr requests that had correct urls, but responded with server response code 417.
As background information, the requests to https://domain.com is pointing to a different server, which does load balancing, ssl offloading and redirects the requests as http request to the named preview environment above. The load balancing is done on an iis with the arr module. That is the server / configuration, I added the rewrite rule from /umbraco/* to /pathX/pathY/umbraco/*.
Thanks a lot in advance, David
is working on a reply...