On 2/13/2004 2:59 PM, Ako Ito wrote:
hello sir,
it should be the same as apache 2 i think.. care to share with me your
procedures or links? also i was able to configure it to load tomcat contents
using JkMount.. i can successfully view http://example.com/application which
is on the webapps folder of tomcat..what i want is to acccomplish it to load
the jsp application on a direct virtual hosting.. using the url
http://application.com :-)

thanks,
allan

Its something like this


Debian 3.0r2
apt-get install apache
apt-get install apache-dev (requires libdb2-dev)
apt-get install libtool
apt-get install automake

##install j2sdk
##install tomcat

##BUILD/INSTALL jk2
tar -xzvf jakarta-tomcat-connectors-jk2-src-current.tar.gz
cd jakarta-tomcat-connectors-jk2-2.0.2-src/jk/native2
sh buildconf.sh
./configure --with-apxs=/usr/bin/apxs
make
make all
cp ../build/jk2/apache13/mod_jk2.so /usr/lib/apache/1.3/

vi /usr/local/tomcat5/conf/jk2.properties
handler.list=channelSocket,request
channelSocket.port=8009

vi /etc/apache/httpd.conf
LoadModule jk2_module /usr/lib/apache/1.3/mod_jk2.so

cp jakarta-tomcat-connectors-jk2-2.0.2-src/jk/conf/workers2.properties /etc/apache/

for virtual hosting, in tomcat 5.0.18 there are examples in the workers2.properties files
e.g
[uri:127.0.0.1:8003]
info=Example virtual host. Make sure myVirtualHost is in /etc/hosts to test it
alias=myVirtualHost:8003
--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie

Reply via email to