7 Replies Latest reply on Apr 21, 2010 11:47 AM by Elias Barrientos Garcia

    How to configure GateIn with apache + proxy_pass?

    Elias Barrientos Garcia Newbie

      Hello Friends

       

      I need to configure the gatein so that it is possible to see it  from the Apache using the directive proxy_pass.

       

      It's my configuration in the file httpd.conf

      <VirtualHost *:80>
        ServerName www.myserver.com
        ServerAdmin info@eliasbg.com
        DocumentRoot /var/www/html/
        ErrorLog logs/test.com.pe-error_log
        CustomLog logs/test.com.pe-access_log common
      
        ProxyPreserveHost On
        ProxyPass /statico !
      
        ProxyPass /portal http://192.168.100.3:8080/portal
        ProxyPassReverse /portal http://192.168.100.3:8080/portal
      
        <Directory "/var/www/html/">
          Options FollowSymLinks
          AllowOverride None
          Order allow,deny
          Allow from all
        </Directory>
      </VirtualHost>
      

       

      But it does not appear correctly.

       

      http://test.intralot.com.pe/portal/public/classic/

       

       

      HTTP Status 404 - /portal/portal/public/classic/


      type Status report

      message /portal/portal/public/classic/

      description The requested resource (/portal/portal/public/classic/) is not available.


      JBoss Web/2.1.3.GA

       

       

       

      If I eliminate the Portal from him it shows me the page but without styles:

      http://test.intralot.com.pe/public/classic/

       

      Pantallazo.png

       

      Can anybody help me with this problem?