Version 1

    This is short information how to proxy JBoss Application Server 7 admin console through apache httpd. Hope to write a nicer howto out of it later.


    1. Run JBoss AS (admin console running on localhost:9990)
    2. put this in /etc/httpd/conf.d/proxy_console.conf (you can change localhost to a hostname if AS running on a separate machine)
      ProxyPassReverseCookieDomain localhost <YOUR PUBLIC IP ADDRESS>
      # ProxyPassReverseCookiePath / / 
      ProxyPassReverse / http://localhost:9990/ 
      ProxyPass             / http://localhost:9990/
      # avoid problems with browsers that support header Origin
      ProxyPreserveHost On
      # fix problems with header Origin by disabling that header, not recommended
      # RequestHeader unset Origin
    3. start httpd
    4. access console on http://<YOUR PUBLIC IP ADDRESS>


    Another possibility is to use something like this but there are some flaws. Need to revisit with AS 7.2 because of AS7-4397.

    <Location /asconsole>
    ProxyPass http://localhost:9990
    ProxyPassReverseCookiePath / /asconsole/
    ProxyPassReverseCookieDomain localhost <YOUR PUBLIC IP ADDRESS>
    <Location /asconsole/>
    ProxyPassReverse /
    ProxyPreserveHost On