You'll have to fix this first: 
[Thu Jul 18 16:38:33 2002] [error] [client 194.214.221.61] client denied by
server configuration: /var/mpictures/Mpictures

AND

194.214.221.61 - - [18/Jul/2002:16:38:33 +0200] "GET /appli/Mpictures
HTTP/1.1" 403 321 "-" "Mozilla/5.0 (X11; U; Linux i686; fr-FR;rv:0.9.8)
Gecko/20020204"

That's apache telling you that you have no permissions to access that
resource.  Tomcat hasn't even gotten involved at that point, and neither has
the connector, as far as I know.

Also, it's a really good idea to make sure http://localhost:8080/examples
and http://localhost/examples work before trying to add your own
configurations into the mix.

John Turner
[EMAIL PROTECTED]

-----Original Message-----
From: COLLINEAU Franck FTRD/DMI/TAM
[mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 18, 2002 10:56 AM
To: Tomcat Users List
Subject: apache + tomcat + mod_jk


Greetings,

I would like to run an application using both Tomcat and Apache with mod_jk 
module.
I have followed the procedure 's intallation given on the tomcat site
So Tomcat listen to on port 8080 (http) and on port 8007 (mod_jk).
When i type in a browser http://myUrl:8080 it works!
But when i type in a brwser http://myUrl i have the 403 error (forbidden)

Here an extract of the httpd.conf:

Include /opt/tomcat/conf/mod_jk.conf-auto
JkWorkersFile /etc/httpd/conf/workers.properties
JkLogFile /var/log/httpd/mod_jk.log
JkLogLevel warn
JkMount /*.jsp ajp12
JkMount /servlet/* ajp12

Here are logs traces:
error_log:
[Thu Jul 18 16:38:18 2002] [warn] module jk_module is already loaded, 
skipping
[Thu Jul 18 16:38:18 2002] [notice] Apache-AdvancedExtranetServer/1.3.23 
(Mandrake Linux/4.1mdk) mod_gzip/1.3.19.1a mod_jk configured -- resuming 
normal operations
[Thu Jul 18 16:38:18 2002] [notice] Accept mutex: sysvsem (Default: sysvsem)
[Thu Jul 18 16:38:33 2002] [error] [client 194.214.221.61] client denied by 
server configuration: /var/mpictures/Mpictures

mod_jk_log:
[jk_worker.c (223)]: build_worker_map, removing old ajp13 worker
[jk_worker.c (235)]: build_worker_map, done
[jk_worker.c (102)]: wc_open, done
[jk_uri_worker_map.c (345)]: Into jk_uri_worker_map_t::map_uri_to_worker
[jk_uri_worker_map.c (435)]: jk_uri_worker_map_t::map_uri_to_worker, done 
without a match


access_log
194.214.221.61 - - [18/Jul/2002:16:38:33 +0200] "GET /appli/Mpictures 
HTTP/1.1" 403 321 "-" "Mozilla/5.0 (X11; U; Linux i686; fr-FR; rv:0.9.8) 
Gecko/20020204"

extract of httpd.conf
<IfModule mod_jk.c>
Include /opt/tomcat/conf/mod_jk.conf-auto
</IfModule>
JkWorkersFile /etc/httpd/conf/workers.properties
JkLogFile /var/log/httpd/mod_jk.log
JkLogLevel warn
JkMount /*.jsp ajp12
JkMount /servlet/* ajp12


can anybody help me ?

Franck

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

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

Reply via email to