-
1. Re: How to access Admin Console via Apache Web Server ?
dlofthouse Dec 1, 2012 5:17 AM (in response to sewatech)I would suggest taking a look at the following: -
https://community.jboss.org/wiki/ApacheHttpdJBossAS7AdminConsoleProxy
-
2. Re: How to access Admin Console via Apache Web Server ?
sewatech Dec 1, 2012 12:37 PM (in response to dlofthouse)Thanks Darran, that is the link I needed.
I've just added ProxyPreserveHost, and it's working. I'll see later if I really need the ProxyPassReverseCookieDomain directive
For the moment, the following configuration is fine :
ProxyPass /console http://localhost:9990/console ProxyPassReverse /console http://localhost:9990/console ProxyPass /management http://localhost:9990/management ProxyPassReverse /management http://localhost:9990/management ProxyPreserveHost On
This wiki is really like a gold mine. Too sad, I haven't found the page before.
A second test over SSL failed, I have to add the unrecommended directive :
RequestHeader unset Origin
Alexis
-
3. Re: How to access Admin Console via Apache Web Server ?
mbsakho May 24, 2013 6:24 AM (in response to sewatech)Hi Alexis,
I'm facing to the same problem.
But unfortuntely, the solution described above did'nt solve my problem.
I've to precise that I'm using Jboss AS 7.1.
Here is my configuration:
ProxyPass /console http://localhost:10490/console
ProxyPassReverse /console http://localhost:10490/console
ProxyPass /management/ http://localhost:10490/management
ProxyPassReverse /management http://localhost:10490/management
ProxyPreserveHost On
As you can see, it's exactly the same.
And when I try to acces the the console, I'm gettin an error.
In the apache log I have the errors below:
[Thu May 23 17:33:05 2013] [error] [client 10.206.17.218] proxy: Error reading from remote server returned by /console/
[Thu May 23 17:36:27 2013] [error] [client 10.206.17.218] (70014)End of file found: proxy: error reading status line from remote server localhost
[Thu May 23 17:36:27 2013] [error] [client 10.206.17.218] proxy: Error reading from remote server returned by /console/
[Thu May 23 17:39:57 2013] [error] [client 10.206.17.218] (70014)End of file found: proxy: error reading status line from remote server localhost, referer: http://webscasd.test.casden.fr:8743/console/
[Thu May 23 17:39:57 2013] [error] [client 10.206.17.218] proxy: Error reading from remote server returned by /console/, referer: http://webscasd.test.casden.fr:8743/console/
[Thu May 23 17:44:10 2013] [error] [client 10.206.17.218] File does not exist: /var/www/html/console
[Thu May 23 17:44:48 2013] [error] [client 10.206.17.218] File does not exist: /var/www/html/console
Do you have any idea about the reasons?
Thanks in advance.
Meissa
-
4. Re: How to access Admin Console via Apache Web Server ?
sewatech May 26, 2013 6:09 AM (in response to mbsakho)massai khosa a écrit:
10.206.17.218 File does not exist: /var/www/html/console
The above log indicates that the ProxyPass directive has been ignored.
Is mod_proxy activated in your Apache ?
Alexis