Re: Fwd: xwiki vhost in apache

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Thanks Paul, this one works perfect.
 
D.

2008/4/6 Paul Heinlein <heinlein@xxxxxxxxxx>:
On Sat, 5 Apr 2008, David Hláčik wrote:

Hi, i am just wondering. I have a tomcat5, running xwiki at http://myserver.example.org:8080/xwiki  How can i create a vhost in httpd to do transparent proxy to tomcat5 webapplication ?

<VirtualHost *:80>
 ServerName  whatever.you.want
 RedirectMatch permanent '^//*$' /xwiki/
 ProxyRequests Off
 ProxyPass        /xwiki  http://myserver.example.org:8080/xwiki
 ProxyPassReverse /xwiki  http://myserver.example.org:8080/xwiki
 <Proxy *>
   Order deny,allow
   Allow from all
 </Proxy>
</VirtualHost>

Note: make sure that mod_proxy and mod_proxy_http are loaded somewhere along the line.

--
Paul Heinlein <> heinlein@xxxxxxxxxx <> www.madboa.com

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux