Jira access with AJP-Proxy

Posted by user60869 on Server Fault See other posts from Server Fault or by user60869
Published on 2010-11-19T14:14:22Z Indexed on 2011/11/13 9:55 UTC
Read the original article Hit count: 547

Filed under:
|
|

I want to Configure the Jira-Acces over APJ-Proxy. I proceeded as follows (Following this howto: http://confluence.atlassian.com/display/JIRA/Configuring+Apache+Reverse+Proxy+Using+the+AJP+Protocol) :

1) In the server.xml I activate the AJP:

2) Edit VHOST Konfiguration:

   # Load Proxy-Modules
   LoadModule proxy_module /usr/lib/apache2/modules/mod_proxy.so
   LoadModule proxy_http_module /usr/lib/apache2/modules/mod_proxy_http.so

   # Load AJP-Modules
   LoadModule proxy_ajp_module /usr/lib/apache2/modules/mod_proxy_ajp.so


   # Proxy Configuration

   <IfModule proxy_http_module>
      ProxyRequests Off
      ProxyPreserveHost On

      # Basic AuthType configuration
      <Proxy *>
         AuthType Basic
         AuthName Bamboo-Server
         AuthUserFile /var/www/userdb
         Require valid-user

         AddDefaultCharset off
         Order deny,allow
         Deny from all
         Allow from 192.168.0.1
         satisfy any
      </Proxy>

      ProxyPass        /bamboo http://localhost:8085/bamboo
      ProxyPassReverse /bamboo http://localhost:8085/bamboo

      ProxyPass        /jira ajp://localhost:8009/
      ProxyPassReverse /jira ajp://localhost:8009/
   </IfModule>

EDIT:

In the logs if found follow:

//localhost:8080/
[Fri Nov 19 14:51:13 2010] [debug] proxy_util.c(1819): proxy: worker ajp://localhost:8080/ already initialized
[Fri Nov 19 14:51:13 2010] [debug] proxy_util.c(1913): proxy: initialized single connection worker 1 in child 5578 for (localhost)
[Fri Nov 19 14:51:32 2010] [error] ajp_read_header: ajp_ilink_receive failed
[Fri Nov 19 14:51:32 2010] [error] (120006)APR does not understand this error code: proxy: read response failed from (null) (localhost)
[Fri Nov 19 14:51:32 2010] [debug] proxy_util.c(2008): proxy: AJP: has released connection for (localhost)
[Fri Nov 19 14:51:32 2010] [debug] mod_deflate.c(615): [client xx.xx.xx.xx Zlib: Compressed 468 to 320 : URL /jira

But It dosen´t work. Somebody have an idea?

© Server Fault or respective owner

Related posts about mod-proxy

Related posts about ajp