A couple of things...


- remove JkMount from global configuration. JkMount directives are VirtualHost-specific.

- verify the ServerName in httpd.conf matches the name in your Host container in server.xml

- change your worker name to ajp13 (worker1 is probably OK but since it doesn't matter, there's no reason not to use ajp13 and in some cases the name "ajp13" makes a difference)

- remove the extra stuff from workers.properties...you only need .list, .host, .type, and .port.

- check contents of your JK log file...it is typically pretty specific, telling you exactly what is wrong.

John

On Mon, 14 Jul 2003 18:35:21 +0200, Werner van Mook <[EMAIL PROTECTED]> wrote:

Hi all,

Here is another user of mod_jk who's now officially lost.

I have apache 1.3.x with tomcat 4.1.24
I installed mod_jk

in httpd.conf I put :

LoadModule jk_module modules/mod_jk.so

.
.
.

# MY OWN STUFF HERE
<IfModule mod_jk.so>
AddModule mod_jk.c
JkWorkersFile /etc/httpd/conf/workers.properties
JkLogFile     /var/log/httpd/mod_jk.log
JkLogLevel    info
JkLogStampFormat "[%a %b %d %H:%M:%S %Y] "
JkOptions     +ForwardKeySize +ForwardURICompat -ForwardDirectories
JkRequestLogFormat     "%w %V %T"
JkMount  /Friss/* worker1
</IfModule>


In workers.properties I have :


#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
worker.worker1.lbfactor=50
worker.worker1.cahcesize=10
worker.worker1.cache_timeout=600
worker.worker1.socket_keepalive=1
worker.worker1.socket_timeout=300

In the webapps dir I created a dir called Friss wich contains a WEB_INF dir and a index.html file.

When I restart tomcat and apache I want to request : www.connecties.com/Friss.

I suspected to get the index.html file from the Friss webapp. Instead I got a 404 document not found.


I think I'm missing something but I don't know what. Anybody out there had the same experience and want to share it with me?

Kind regards
Werner


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]





-- Using M2, Opera's revolutionary e-mail client: http://www.opera.com/m2/

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to