... Or you can use
http://platform.xwiki.org/xwiki/bin/view/AdminGuide/Performances#HModProxyA…
(see
http://httpd.apache.org/docs/2.2/mod/mod_proxy_ajp.html )
example:
/etc/httpd/conf/httpd.conf :
<IfModule mod_proxy.c>
ProxyRequests Off
## NPM: see
ProxyPreserveHost On
</IfModule>
/etc/httpd/conf.d/proxy_ajp.conf:
LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
# general redirect for Xwiki application
ProxyPass /xwiki/ ajp://127.0.0.1:8009/xwiki/
-- Niels.
http://nielsmayer.com