I am trying to redirect calls to the Umbraco backend to a domain that is different to the page domain.
The following functionality should take place:
All requests to
customerDomain.com/umbraco
(containing /umbraco in the querystring) should be forwarded to this subdomain:
customerDomain.serviceDomain.com/umbraco
Ideally remaining the whole querystring ({R:1}).
I have tried to solve this in the IIS rewrite module. The problem is, that the rules just don't work even though I tested them successfully in the IIS rewrite module:
The IIS URL rewrite, configuration controls this application.
So even before Umbraco knows there is a request on it way. IIS Url rewrite is trying what is configured to do.
Your first rule example is so close to be working.
Instad of
How to redirect
Hi there,
I am trying to redirect calls to the Umbraco backend to a domain that is different to the page domain.
The following functionality should take place:
All requests to
(containing /umbraco in the querystring) should be forwarded to this subdomain:
Ideally remaining the whole querystring ({R:1}).
I have tried to solve this in the IIS rewrite module. The problem is, that the rules just don't work even though I tested them successfully in the IIS rewrite module:
So far I have tested 2 rules:
.
In general it would be interesting to know, whether Umbraco is interfearing or if the IIS is the first hit before Umbraco logic starts.
Also, is it possible to solve this task only within Umbraco and without the use of the IIS URL rewrite module?
Thanks a lot for any comments or hints
Hello Edgar,
The IIS URL rewrite, configuration controls this application. So even before Umbraco knows there is a request on it way. IIS Url rewrite is trying what is configured to do.
Your first rule example is so close to be working. Instad of
you need to changes it to PATH_INFO
You can read more about the diffendt IIS Url rewrite variables here:
Hi Lucas,
thank you so much. It is working absolutely fine!
You saved my day... have a great one.
is working on a reply...