[ 
https://issues.apache.org/jira/browse/MRM-1898?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14703021#comment-14703021
 ] 

Fabian Trampusch commented on MRM-1898:
---------------------------------------

Have a look at http://httpd.apache.org/docs/2.2/mod/mod_proxy_ajp.html -> AJP 
is the preferred way of reverse proxying java applications. Maybe you have to 
enable the AJP connector in your tomcat configuration.

My config looks like this:
{code}ProxyPass /archiva ajp://127.0.0.1:8009/archiva{code}

Everything works fine.

> Archiva, tomcat 7 and apache reverse proxy configuration
> --------------------------------------------------------
>
>                 Key: MRM-1898
>                 URL: https://issues.apache.org/jira/browse/MRM-1898
>             Project: Archiva
>          Issue Type: Question
>          Components: system
>    Affects Versions: 2.2.0
>            Reporter: Keven Andrade
>              Labels: apache, redirect, reverse-proxy, tomcat-7.0.35
>             Fix For: 2.2.1
>
>
> I installed and configured the Archiva 2.2.0 on tomcat 7 using the war file 
> and so, all features work perfectly when I access the application directly by 
> the IP and port .
> However , when I access the application through apache server redirecting 
> (reverse proxy), administrative functions are not displayed. Below are the 
> reverse proxy configurations.
> <VirtualHost *:80>
>         ServerName archiva.company.com
>         ProxyRequests Off
>         ProxyPreserveHost On
>         <Proxy *>
>               Order deny,allow
>               Allow from all
>         </Proxy>
>         ProxyPass / http://localhost:8075/archiva/
>         ProxyPassReverse / http://localhost:8075/archiva/
> </VirtualHost>



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to