On Sat, Apr 5, 2008 at 3:45 PM, David Hláčik <david(a)hlacik.eu> wrote:
Hi, i have xwiki running on
http://myserver.example.org:8080/xwiki(tomcat5)
I have also apache2 running on my centos5 server with virtual hosts.
I want to create a virtual host (on port 80) named
wiki.example.org --
which will proxy to xwiki and action will be transparent.
I found a howto on xwiki pages
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Performances#HModProxyA…
.
but this config works for me without vhost only.
I have Centos 5 server ,with httpd and tomcat
Thanks in advance!
David <http://lists.xwiki.org/mailman/listinfo/users>
Hi David
<VirtualHost xx.xx.xx.xx:80>
ServerName
domain.com
ServerAlias
www.domain.com
RewriteRule ^/$
http://www.domain.com/xwiki
ProxyPass /xwiki
http://www.domain.com:8082/xwiki
ProxyPassReverse /xwiki
http://www.domain.com:8082/xwiki
</VirtualHost>
Or have a look into my Howto on
HowtoForge<http://howtoforge.com/xwiki-tomcat-mysql-debian-etch>(look
to the comments at the bottom, too).
Hope that helps.