Sub-domain install with reverse proxy in IIS
-
Hi.
I have been running a multisite installation on my Synology NAS server for a while, which has been working as expected. Now I have changed my setup so that I am using an IIS8 as a proxy server for my servers, and trying to do URL rewrites in the IIS to enable WordPress again. This however, have proven not to be a trivial task.
I can get in touch with WordPress server but initially got the…
ERR_TOO_MANY_REDIRECTS
… answer from Chrome, which is wise enough to detect it. I found out that this is expected behavior if the blog cannot be loaded. I inserted…
define('NOBLOGREDIRECT', '');
… which simply resulted in a blank page upon the next request. After some thinking I came to the conclusion that it must be because it cannot look-up which blog to load (from wp_blogs table) since the URL has been rewritten to a LAN IP. Am I right in this? And in that case which variable is used for this? And how can I enable the multisite, sub-domain blogs again?
If I set the multisite to false, I can see a blog, however the CSS is not resolved.
Thanks, best regards,
O.
- The topic ‘Sub-domain install with reverse proxy in IIS’ is closed to new replies.