Hello,

I got a problem getting the servlets examples and the admin application via mod_jk 1.3 connector to work. I can call the servlets-examples' main page but receive a server error when I want to call a particular servlet example.

The jsp-examples work, by the way.

First: To me, it seems the information in the mod_jk 1.3 documentation does not explicitly say where to put the JkMount directives. Is it to be set in the general section of the httpd.conf or in the VirtualHost section?

Also, do I have to alias _each_ webapp URI?

Well, at the moment I set this in the general section of httpd.conf (following the modules section):

-- snip --
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"
-- pins --

and I set this in the Virtual Host section of httpd.conf:

-- snip --
<VirtualHost *>
     ServerName www.myserver.athome
     DocumentRoot /var/lib/tomcat5/webapps/ROOT
     Alias /admin /var/lib/tomcat5/webapps/admin
     Alias /servlets-examples /var/lib/tomcat5/webapps/servlets-examples
     Alias /jsp-examples /var/lib/tomcat5/webapps/jsp-examples
     JkMount /*.jsp worker1
     JkMount /servlet/* worker1
</VirtualHost>
-- pins --

Any help or hint is very much appreciated.

Thanks for reading this

Michael Kastner


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



Reply via email to