Hello,
could you solve your problem already? I have the same problem.
I think I narrowed it down to a missing trailing "/".
My server-configuration is as follows:
The main domain is [tt]www.mydomain.de[/tt]. But as long as I am working on the website, I’m using an additional domain [tt]work.testserver.de[/tt]. For technical reasons, MODx is installed in a subdirectory called "content". The second domain "work.testserver.de" is redirected to that directory. The original domain will be redirected to that directory as soon as I will have finished my work. I have been using this configuration for some 20 websites now (using MODx 1.0.3 and older). And it always worked.
Today I have set up 2 new websites with the above settings, using MODx 1.0.4. And in both cases strange things happen:
If I now type "
http://work.testserver.de/manager" without the trailing "/", I will be redirected to "
http://www.mydomain.de/content/manager/". Okay, that is no problem at first. If I type "
http://work.testserver.de/manager/" (including trailing slash), it works as expected.
I can work as usual. But if I save configurations in the manager, the manager tells me to wait until action is completed (don’t know the exact phrase, because I am using German language in the backend). And this is then the moment, where I would be redirected again to "
http://www.mydomain.de/content/manager/".
MODx does not know of my "www.mydomain.de", so this MUST be a server configuration issue. But on the other hand, older versions of MODx (up to 1.0.3) did not behave like this. So this probably could be solved by adding a slash in the right place, couldn’t it?
I have been searching all relevant .htaccess files on my older web servers and on those two new ones. They are all just the default .htaccess files provided by MODx. I don’t know where to search on.
Please, I need some hint
Thank you very much in advance
Martin