tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Pabst <simon.pa...@web.de>
Subject Re: I'm officially lost with mod_jk
Date Mon, 14 Jul 2003 17:27:46 GMT
That looks like a trailing slash problem,
you requested /Friss, but mounted only /Friss/

Either use the following JkMount additionally:
JkMount /Friss worker1

Or use Apache's mod_rewrite to put a trailing slash to URL if it there is none.
http://httpd.apache.org/docs/misc/rewriteguide.html

Also make sure to have index.html in your Tomcat web.xml welcome file list.
http://jakarta.apache.org/tomcat/faq/misc.html#welcome


At 18:35 14.07.2003 +0200, you 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: tomcat-user-unsubscribe@jakarta.apache.org
>For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org


Mime
View raw message