justanotheradress wrote:
justanotheradress wrote:
Hi guys
I wrote a little howto for my installation. Some things I was not able to cover (mod_proxy) or I just didn't do it so far (importing initial database).
Guys,
I have a little problem. I've got finally the whole "ProxyPass" running, well, almost.
Here is my Apache part:
*************************************** NameVirtualHost 88.198.238.101:80 <VirtualHost 88.198.238.101:80> ServerName wahlfreiheit.ch ProxyPass / http://wahlfreiheit.ch:8082/xwiki/ ProxyPassReverse / http://wahlfreiheit.ch:8082/xwiki/
Try: ProxyPass /xwiki http://wahlfreiheit.ch:8082/xwiki/ ProxyPassReverse /xwiki http://wahlfreiheit.ch:8082/xwiki/
</VirtualHost> ***************************************
The thing is, if you go to http://wahlfreiheit.ch http://wahlfreiheit.ch you will see that something is wrong. It passes the thing to Tomcat but, well, you see the site is mixed up.
If you go to http://wahlfreiheit.ch:8082/xwiki http://wahlfreiheit.ch:8082/xwiki you will get the content but again, just not the right way.
Now the weirdest thing: If I enter http://wahlfreiheit.ch:8082/xwiki/bin/view/Main/WebHome http://wahlfreiheit.ch:8082/xwiki/bin/view/Main/WebHome (note the port), it works just fine...
Funny thing is, if I change my Apache settings and let the "/xwiki/" part from the ProxyPass away, it connects just smoothly to the welcome page of Tomcat.
Any ideas what I'm doing wrong??
-- Sergiu Dumitriu http://purl.org/net/sergiu/