in my httpd.conf i have
LoadModule jk2_module modules/mod_jk2.so
<VirtualHost some.ip:80>
DocumentRoot /nethosting/mysite.com/jsp/ROOT
ServerName www.mysite.com
ServerAdmin [EMAIL PROTECTED]
ServerPath /nethosting/mysite.com/jsp/ROOTs
CustomLog /var/log/httpd/mysite.com/access.log combined
ErrorLog /var/log/httpd/mysite.com/error.log
</VirtualHost>
so basically nothing that has to do with jk2 in my httpd.conf file !
below is a full listing of my workers2.properties file
--- begin ----
[logger]
level=DEBUG
# Define the comunication channel
#[channel.jni:jni]
#info=The jni channel, used if tomcat is started inprocess
[shm]
file=/var/log/httpd/shm.file
size=1048576
# Define the parameters for the Java Virtual Machine
#[vm:]
#info=Parameters used to load a JVM in the server process
#OPT=-Djava.class.path=${TOMCAT_HOME}/bin/tomcat-jni.jar;${TOMCAT_HOME}/serv
er/lib/catalina.jar
#OPT=-Dtomcat.home=${TOMCAT_HOME}
#OPT=-Dcatalina.home=${TOMCAT_HOME}
#OPT=-Xmx128M
# JNI worker startup handler
#[worker.jni:onStartup]
#info=Command to be executed by the VM on startup. This one will start
tomcat.
#class=org/apache/jk/apr/TomcatStarter
#ARG=start
#stdout=/var/log/httpd/stdout.log
#stderr=/var/log/httpd/stderr.log
# JNI worker shutdown handler
#[worker.jni:onShutdown]
#info=Command to be executed by the VM on shutdown. This one will stop
tomcat.
#class=org/apache/jk/apr/TomcatStarter
#ARG=stop
# Example socket channel, override port and host.
[channel.socket:localhost:8009]
port=8009
host=127.0.0.1
[ajp13:localhost:8009]
channel=channel.socket:localhost:8009
# ksi webapp configuration (virtualhost)
[uri:www.mysite.com/*.jsp]
info=Map .jsp files
[uri:www.mysite.com/do/*]
info=Map do actions
[uri:www.mysite.com/manager/*]
info=Map the manager webapp
--- end ----
i am using apache 2.0.46
and tomcat 4.1
thanx again !
Catalin Constantin
Bounce Software
www.bounce-software.com
>
> -----Original Message-----
> From: Eric J. Pinnell [mailto:[EMAIL PROTECTED]
> Sent: Monday, July 07, 2003 5:27 PM
> To: Tomcat Users List
>
> Hi,
>
> What is your httpd.conf entry? Your workers2.properties
> files looks ok.
> You include things you want Tomcat to do rather than exclude
> things. You
> are not including /images so apache should handle those requests.
>
> -e
>
> On Mon, 7 Jul 2003, Catalin Constantin wrote:
>
> > hi there
> >
> > i have in my workers2.properties
> > the following uri mappings:
> >
> > [uri:www.mysite.com/*.jsp]
> > info=Map .jsp files
> >
> > [uri:www.mysite.com/do/*]
> > info=Map do actions
> >
> > [uri:www.mysite.com/manager/*]
> > info=Map the manager webapp
> >
> > why does tomcat handle the requests to
> > http://www.mysite.com/images ?
> > (eg: i see the tomcat directory listing, instead of the
> Apache 2.0.46
> > forbidden error)
> >
> > thank you !
> >
> >
> > Catalin Constantin
> > Bounce Software
> > www.bounce-software.com
> >
> >
> >
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]