mod_jk2 config file and log file place
Hello, I have just installed the latest version of mod_jk2 with Apache 1.3.29 on Linux and wanted to know how I can specify to mod_jk2 where he should look for the workers2.properties config file and where he should write the jk2.log log file ? I had a look into the documentation but I cannot find anything about that. The problem I have is that I have compiled Apache with --sysconfdir=/etc/apache and --prefix=/opt/apache and mod_jk2 still looks for workers2.properties in /opt/apache/conf. Same thiing for the log file it wants to write the logfile into /opt/apache/logs but I would like to have it into /var/log. How can I do that ? Many thanks Regards _ The new MSN 8: advanced junk mail protection and 2 months FREE* http://join.msn.com/?page=features/junkmail - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
mod_jk2 config question
I found that unless apache2 is installed in the default location an the environment variable serverRoot has to be set to the actual location of apache2. (This should be included in the how-to as jk2 won't work without it if the default location for serverRoot is changed) Having set serverRoot, the tomcat 4.1.27 logs indicate that the workers2.properties files has been found and has initialized correctly. Apache's 'server-info' indicates that mod_jk2 is loaded but no configuration variables have been set from the workers2.properties file. Is there another env variable that needs to be set? Any help would be appreciated. Jack Lauman - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Mod_jk2 config
In theory, the latest release of mod_jk2 should have full support for REs (so, in particular, you can use '!'). But I haven't tried it myself. "Reynir Hübner" <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... Hello, Is it possible to set the configuration of urls to be mapped down to tomcat programmatically, when application startsup or something similar to that ? I am also wondering if it's possible to map urls that should not be directed into tomcat. For example I would like all urls that map onto the pattern /* to be delivered with tomcat, but all that have endings such as *.jpg, *.gif, *.pdf, etc. to be deliverd with apache. Thanx, -reynir - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Re: Mod_jk2 config
Hi Reynir - Regarding your second question, I put the location of all my images, css, js files, etc as "/images/*.gif", "/scripts/*.js", "/style/*.css". I create and populate those directories under Apache's DocumentRoot. Only the JSP/servlet URLs are directed to Tomcat. That way, when a JSP or servlet displays a page, all the paths to images, stylsheets and scripts files will resolve to the server root which is happily handled by Apache. Hope that helps. Lajos Reynir Hübner wrote: Hello, Is it possible to set the configuration of urls to be mapped down to tomcat programmatically, when application startsup or something similar to that ? I am also wondering if it's possible to map urls that should not be directed into tomcat. For example I would like all urls that map onto the pattern /* to be delivered with tomcat, but all that have endings such as *.jpg, *.gif, *.pdf, etc. to be deliverd with apache. Thanx, -reynir - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] -- Lajos Moczar Open Source Support, Consulting and Training Cocoon Developer's Handbook (www.amazon.com/exec/obidos/tg/detail/-/0672322579) _ _ / \ / /___\ / / \ / http://www.galatea.com -- powered by AzSSL - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
Mod_jk2 config
Hello, Is it possible to set the configuration of urls to be mapped down to tomcat programmatically, when application startsup or something similar to that ? I am also wondering if it's possible to map urls that should not be directed into tomcat. For example I would like all urls that map onto the pattern /* to be delivered with tomcat, but all that have endings such as *.jpg, *.gif, *.pdf, etc. to be deliverd with apache. Thanx, -reynir - To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]