Hi,
Since Wildfire 3.0 doesn’‘t support the servlet option any more, I’'ve looked into other ways of hooking wildfire into my HTTP-server, without opening another port on the firewall.
I’‘ve suceeded by using mod_proxy, mod_proxy_http and mod_proxy_html (Note that this is in Apache 2.0, I don’'t have any experience for the dated version 1.2.x). My configuration is as follows:
LoadFile /path/to/libxml2.so
LoadModule proxy_html_module modules/mod_proxy_html.so
RewriteEngine On
ProxyPass /wildfire/ http://myserver.com:9090/
ProxyPassReverse /wildfire/ http://myserver.com:9090/
RewriteRule ^/help/(.*) /wildfire/help/$1
SetOutputFilter proxy-html
/code
mod_proxy_html is not part of the default distribution. Information on how to download, compile and include it are available on http://www.apacheweek.com/features/reverseproxies[/url]. It is required because the web interface uses absolute URLs all over the place (which is very unfortunate).
The /help/-rule is required, because the help button at the top right uses javascript to link to /help/…, which mod_proxy_html doesn’‘t handle by default. Enabling the support for search/replace in javascript causes some other issues (like replacing the comment tags // with /wildfire//wildfire/), so I don’'t use it.
I don’‘t have any issues right now, but maybe I’'ve missed something (like I nearly missed that help-link issue). Any feedback would be nice!
Note that wildfire doesn’'t allow the admin interface to listen on 127.0.0.1 only (JM-724), you have to use the same IP the XMPP-service is listening on there.