<div>Thanks Paul, this one works perfect.</div>
<div> </div>
<div>D.<br><br></div>
<div class="gmail_quote">2008/4/6 Paul Heinlein <<a href="mailto:heinlein@madboa.com">heinlein@madboa.com</a>>:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div class="Ih2E3d">On Sat, 5 Apr 2008, David Hláčik wrote:<br><br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px; BORDER-LEFT: #ccc 1px solid">Hi, i am just wondering. I have a tomcat5, running xwiki at <a href="http://myserver.example.org:8080/xwiki" target="_blank">http://myserver.example.org:8080/xwiki</a>  How can i create a vhost in httpd to do transparent proxy to tomcat5 webapplication ?<br>
</blockquote><br></div><VirtualHost *:80><br> ServerName  whatever.you.want<br> RedirectMatch permanent '^//*$' /xwiki/<br> ProxyRequests Off<br> ProxyPass        /xwiki  <a href="http://myserver.example.org:8080/xwiki" target="_blank">http://myserver.example.org:8080/xwiki</a><br>
 ProxyPassReverse /xwiki  <a href="http://myserver.example.org:8080/xwiki" target="_blank">http://myserver.example.org:8080/xwiki</a><br> <Proxy *><br>   Order deny,allow<br>   Allow from all<br> </Proxy><br></VirtualHost><br>
<br>Note: make sure that mod_proxy and mod_proxy_http are loaded somewhere along the line.<br><font color="#888888"><br>-- <br>Paul Heinlein <> <a href="mailto:heinlein@madboa.com" target="_blank">heinlein@madboa.com</a> <> <a href="http://www.madboa.com/" target="_blank">www.madboa.com</a></font><br>
_______________________________________________<br>CentOS mailing list<br><a href="mailto:CentOS@centos.org">CentOS@centos.org</a><br><a href="http://lists.centos.org/mailman/listinfo/centos" target="_blank">http://lists.centos.org/mailman/listinfo/centos</a><br>
<br></blockquote></div><br>