mod_jk2 config file and log file place

2004-06-09 Thread syn uw
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

2003-10-03 Thread Jack Lauman
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

2003-01-30 Thread Bill Barker
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

2003-01-30 Thread Lajos
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

2003-01-30 Thread Reynir Hübner
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]