You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Gert <Ge...@gmx.de> on 2001/02/11 17:05:57 UTC
"Permission denied" after changing from mod_jserv to mod_jk
Hello,
I wanted to change my runnimg tomcat-apache-configuration from mod_jserv
to mod_jk.
With mod_jserv I had no problems runnimg my web-application
But now I get the follwing error-message from the web-server, whenever i
try to access a directory
or a servlet (JSP-Files are being executed):
Apache-Error-Msg: "You don't have permission to access /hekdb on this
server."
Apache-Error-Msg: "You don't have permission to access /hekdb/login on
this server."
The strange thing is, that the preintalled examples are running.
For example I can see the content auf the webapps/examples by calling
http://localhost/exapmples
But I can't find any difference in my own configuration and that of the
examples-webapp.
the web.xml files are valid and ok (It works with mod_jserv)
I left the server.xml unchanged (in respekt to the jserv-Konfiguration).
The <context> remaind unchanged, too.
All that has chaged where the Mount-Commands
(by the way: where can I find a syntax description of JkMount?)
I've tried everything I could imagine to fix the problem,
but nothing worked :-(
Has anyone of you an idea of what I'm doing wrong?
I'd be very happy if you could help me.
gert
---- Konfiguration-files-
<server.xml>
[...]
# hekdb results in a "permission denied"-error
<Context path="/hekdb"
docBase="/home/gert/jbproject/hekdb" debug="2"
reloadable="true" >
</Context>
# example running fine
<Context path="/examples"
docBase="webapps/examples"
crossContext="false"
debug="0"
reloadable="true" >
</Context>
[...]
#end of server.xml
<mod_jk.conf>
[...]
# examples-Konf (running)
Alias /examples "/usr/local/jakarta-tomcat-3.2/webapps/examples"
<Directory "/usr/local/jakarta-tomcat-3.2/webapps/examples">
Options Indexes FollowSymLinks
</Directory>
JkMount /examples/servlet/* ajp13
JkMount /examples/*.jsp ajp13
#hekdb-Konf (not running -> "permission denied")
<Directory "/home/gert/jbproject/hekdb">
Options Indexes FollowSymLinks
</Directory>
JkMount /hekdb/servlet/* ajp13
JkMount /hekdb/*.jsp ajp13
# end of mod_jk.conf
[...]
Tomcat-Version: 3.2.1