Hi there!
I have 2 centos 5 servers, both with apache 2. One of them is the "public" one, and it has this configuration in apache conf
<location /modx >
ProxyPass
http://xx.xx.xx.xx/modx
ProxyPassReverse
http://xx.xx.xx.xx/modx
</location>
where xx.xx.xx.xx is the second server inside the lan. The problem is that it is not preserving the domain name. For instance if i type
www.mydomain.com/modx it takes me to xx.xx.xx.xx/modx where xx.xx.xx.xx is the private ip so i can’t use it outside the lan.
I have severals applicacion using this way, but modx is the only one I can’t make it work.
I looked into config.inc.php, and the preference table in mysql, but I couldn’t find any information.
Any ideas ? Can anyone help me?
I hope you understand the idea, because my english isn’t very good.
Thanks a lot!