tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mansour <mansour77+li...@ownmail.net>
Subject Re: configuring mod_jk - can any one help, please ??
Date Mon, 28 Aug 2006 18:20:01 GMT
Thank you for writing me back:
Here's some of my code. It shows what I have doen so far.

I have added this to my httpd.conf:
JkWorkersFile /etc/httpd/conf/workers.properties
JkLogFile /var/log/httpd/mod_jk.log
JkLogLevel info
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
JkRequestLogFormat "%w %V %T"
JkMount /*.jsp worker1

Here's my workers.properties:
# Define 1 real worker using ajp13
worker.list=worker1
# Set properties for worker1 (ajp13)
worker.worker1.type=ajp13
worker.worker1.host=localhost
worker.worker1.port=8009


And I added to server.xml these lines

<Host name="virtualhost" appBase="/path/to/virtualhost">
<Context path="" docBase="webapp1" debug="0"/>
</Host>

the file mod_jk.conf is generated automatically:

JkWorkersFile "/etc/httpd/conf/workers.properties"
JkLogFile "/etc/httpd/logs/mod_jk.log"
JkLogLevel info
JkLogStampFormat "[%a %b %d %H:%M:%S %Y]"

Now, pointing my browser to http://virtualhost/hello.jsp gives error 404.
What did I do wrong ?? and what other files I have to edit. Please I 
really need help in this??


Mladen Turk wrote:

> Mansour wrote:
>
>> I still need help in this, please!!
>>
>
> Nobody can help you unless you post some
> configuration you are using.
>
> The tip is to use JkUnMount *.jsp worker
> for static content mime types.
>
> Regards,
> Mladen.
>
> ---------------------------------------------------------------------
> 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
>


---------------------------------------------------------------------
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