Hi, all,
I got a problem with our xwiki site setup, I have apache webserver and
tomcat behind with xwiki 3.5 deployed, when I do login, logout or clicking
buttons on the server machine browser with
http://localhost:8082/xwiki/bin/login/XWiki/XWikiLogin, I can login,
everything works fine, but if I use external public internet to access our
xwiki site like:
http://mydomain.com/xwiki/bin/login/XWiki/XWikiLogin, I
got the login page shown up, but if I login, it redirects me to
localhost/xwiki/bin/view/Main/WebHome, which points to my localhost, not my
server
mydomain.com machine, then from the browser address bar, if I change
the localhost url to this url:
http://mydomain.com/xwiki/bin/view/Main/WebHome, I can see the page
correctly.
Hers is my httpd.conf file setup:
ProxyPass /xwiki
http://localhost:8082/xwiki
ProxyPassReverse /xwiki
http://localhost:8082/xwiki
Any clue what is going on?
You should use the ajp protocol instead of http to connect to the Tomcat
server. The configuration is almost the same, except that instead of
http:// links, you use the ajp:// prefix.
--
Sergiu Dumitriu