tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rocco Scappatura" <Rocco.Scappat...@sttspa.it>
Subject Re: mod_proxy or mod_jk?
Date Tue, 20 Nov 2007 00:00:08 GMT

> put this in your servlet.xml file
>
> <Host name="localhost" appBase="webapps" unpackWARs="true"
> autoDeploy="true"
> xmlValidation="false" xmlNamespaceAware="false">
> <!--  Added this for JK THIS-->
>   <Listener className="org.apache.jk.config.ApacheConfig" append="true"
> forwardAll="false" modJk="Path/To/mod_jk.so" />
>     </Host>
OK.

> Start Tomcat.... it will generate the mod_jk.conf file under
> Tomcat/conf/auto
OK

> In the apache httpd.cong file... somewhere near the bottom...
> add
> # I added this for connector ======
> Include "Path/To/Tomcat 5.5/conf/auto/mod_jk.conf"
Done.

> That will make apache front end tomcat...I
It was already?

> Then just study those files...
> It generates all the core stuff... all the JKMounts folder protection etc
> for all your webapps.

??  What files do you refer?

> Then you can edit as required... add aliases etc.
>
> Load sharing is different again... but the generated file comes in handy
> there as well.
> Remember that everytime you start tomcat this is generated... so remove
> the
> listener if you dont want it to change, or copy it and point apache at
> that.

???

I don't unserstandvery well..

Thanks, rocsca


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message