You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@archiva.apache.org by Paul Spencer <pa...@apache.org> on 2008/06/06 19:23:25 UTC

How to configure Archive to run on Tomcat fontend by Apache

I would like to frontend the Tomcat 6 server running Archiva with an 
Apache web server to simplify the URL and make it easier to move the 
Archiva server.  As an example, dev.foo.com is our development server 
and http://dev.foo.com/archiva is the desired url for the archiva 
server.  The intent is to route the traffic from the Apache server to 
the Tomcat server via mod_jk.

Questions:

1) How to I configure archive to display the desired url in the 
repository's WebDAV URL and "Pom Snippet" fields on the web page?

   Please note that Archiva is installed as a "Web application" and
   Tomcat is configured not to expand the war.

2) Is their a reason NOT to do this?

Paul Spencer

Re: How to configure Archive to run on Tomcat fontend by Apache

Posted by Wendy Smoak <ws...@gmail.com>.
On Fri, Jun 6, 2008 at 10:23 AM, Paul Spencer <pa...@apache.org> wrote:
> I would like to frontend the Tomcat 6 server running Archiva with an Apache
> web server to simplify the URL and make it easier to move the Archiva
> server.  As an example, dev.foo.com is our development server and
> http://dev.foo.com/archiva is the desired url for the archiva server.  The
> intent is to route the traffic from the Apache server to the Tomcat server
> via mod_jk.

I think most of us just use ProxyPass and ProxyPassReverse.

> 1) How to I configure archive to display the desired url in the repository's
> WebDAV URL and "Pom Snippet" fields on the web page?
>  Please note that Archiva is installed as a "Web application" and
>  Tomcat is configured not to expand the war.

> 2) Is their a reason NOT to do this?

Nope.

-- 
Wendy