My configuration:

On my Linux ubuntu 10.04 Lucid, the package:
libapache2-mod-jk                1:1.2.28-2                        Apache 2 
connector for the Tomcat Java servlet

see the documentation: http://tomcat.apache.org/connectors-doc


*******************************************************************************************
        -------------------
        |   Frontal WEB   |
        -------------------
             |Module JK|  <---- file /etc/libapache2-mod-jk/workers.properties 
                  |
                  | port 8009
                  |
      ------------------------
      |  Tomcat APPs Server | x N servers 
      ------------------------
       
*******************************************************************************************

Ce fichier /etc/libapache2-mod-jk/workers.properties describe the conf 
application server. "ajp13_worker" connector plugs the localhost port 8009.
*******************************************************************************************
workers.tomcat_home=/usr/share/tomcat5
workers.java_home=/usr/lib/jvm/java-gcj
ps=/
worker.list=ajp13_worker

worker.ajp13_worker.port=8009
worker.ajp13_worker.host=localhost
worker.ajp13_worker.type=ajp13
worker.ajp13_worker.lbfactor=1

worker.loadbalancer.type=lb
worker.loadbalancer.balance_workers=ajp13_worker
*******************************************************************************************


Dans la conf Apache, sur Ubuntu nous l'avons mit dans /etc/apache2/httpd.conf
*******************************************************************************************
JkWorkersFile   /etc/libapache2-mod-jk/workers.properties
JkLogFile       /var/log/apache2/mod_jk.log
JkShmFile     /var/log/apache2/mod_jk.shm
JkLogLevel      info
*******************************************************************************************

Into an VH apache conf:
JkMount /wiki/*              ajp13_worker
<Location /wiki>
  <Limit GET POST>
        order deny,allow
        deny from all
        Allow from 10
        Allow from 172.24
        Allow from 172.16
        Allow from 172.25
        Satisfy any
  </Limit>
</Location>
*******************************************************************************************

E.

-----Original Message-----
From: Juan Pablo Santos Rodríguez [mailto:juanpablo.san...@gmail.com] 
Sent: mardi 6 mars 2012 14:31
To: jspwiki-dev@incubator.apache.org; mariano.r...@uam.es
Subject: Re: After Apache front-end: no log in, no trail

Hello Mariano,

we've also set up a JSPWiki instance behind an Apache server at work, and we 
haven't had any problems:

- jspwiki.baseURL points to http://ic.softwarefactory.entelgy.com/JSPWiki/
- relevant Apache2 configuration:
<Location /JSPWiki>
Order Deny,Allow
Deny from all
Allow from All
ProxyPass  http://192.168.3.12:8085/JSPWiki SetEnv force-proxy-request-1.0 1 
SetEnv proxy-nokeepalive 1 ProxyPassReverse  http://192.168.3.12:8085/JSPWiki 
</Location>

you can also check http://www.jspwiki.org/wiki/ApacheTomcatConnection to see if 
it helps you

regards,
juan pablo

On Tue, Mar 6, 2012 at 12:36 PM, Mariano Rico <mariano.r...@uam.es> wrote:

> Hi Florian,
>
>
>
> > deciding for one "entry point" and configuring this the baseURL is 
> > the
> way
> > to go.
> >
>
> Have you had this running? With login? Please, tell me how... :-)
>
>
> > BTW, any reason against using mod_proxy_ajp?
> >
> >
> I tried that at first, but it produced an error. It seems to be a 
> versions incompatibility (Tomcat-Apache) identified problem :-(
>
> -- Mariano
> ------------------------------------------------------
>  Mariano Rico <http://www.ii.uam.es/~mrico>  Computer Science Dept 
> <http://www.ii.uam.es/>.
>  Universidad Autónoma de Madrid <http://www.uam.es/>  Spain
>

Reply via email to