0 Replies Latest reply on Jan 17, 2013 5:40 AM by Alessandro Zatti

    Apache HTTPS to JBoss HTTP, admin-cosole doesn't work

    Alessandro Zatti Newbie

      Hi All,

       

      I'm trying to configure the JBOSS AS beihond the APACHE Reverse Proxy, Apache and Jboss are installed on the same machine.

      Jboss is configured in HTTP and Apache is running in HTTPS:

       

      Browser (client) -> Apache proxy (https:443) <--> jboss app-server (http:8080)

       

       

      The reverse proxy is working fine with my application but it doesn't work with the JBOSS admin console page (http://myserver.mydomain.com:8080/admin-console).

      I'm able to reach the main admin-console page but not all other page  (for example I could not reach correctly the login page).

      Any Idea? I think the problem is the HTTPS connection, if i disable the Apache SSL virual host and i configure it in HTTP it works! Any Idea?

       

      Details:

       

      JBOSS VERSION:  JBossAS [6.1.0.Final "Neo"]

      APACHE Version: Server version: Apache/2.2.17 (Unix)

       

      Apache VH configuration:

       

      <VirtualHost *:443>

       

          ServerAdmin webmaster@myserver.mydomain.com

       

          ServerName myserver.mydomain.com

       

          #---Reverse proxy

       

          ProxyPass / http://localhost:8080/

       

          ProxyPassReverse / http://localhost:8080/

       

          ProxyPreserveHost On

       

          SSLEngine on

       

          SSLCertificateFile certificatepath

       

          SSLCertificateKeyFile certificatepath.key

       

      </VirtualHost>