If you're using the auto-generation function (are you?), then copy mod_jk.conf from $CATALINA_HOME/conf/auto to $APACHE_HOME/conf, then edit httpd.conf and change the "Include" line to reflect the new location. Then edit $APACHE_HOME/conf/mod_jk.conf. Then restart Apache.


If you're not using the auto-generation function, then please post the relevant portions of your httpd.conf file (not the whole thing!). That means all of it, the JkWorkersFile stuff, JkLogLevel, etc. not just the VirtualHost blocks.

John

[EMAIL PROTECTED] wrote:

How would I fix that so it wouldn't be overwritten?

-----Original Message-----
From: John Turner [mailto:[EMAIL PROTECTED] Sent: Monday, August 11, 2003 3:08 PM
To: Tomcat Users List
Subject: Re: JkMount causing problems




Are you sure its set to info? If you're using the auto-generation feature of Tomcat, then your change is probably getting overwritten.

There should be something if JkLogLevel is set to info.

John

[EMAIL PROTECTED] wrote:


Yes I don't have a mod_jk.log being created with the level set to info

-----Original Message-----
From: Atristain, Bobbie J.
Sent: Monday, August 11, 2003 3:03 PM
To: [EMAIL PROTECTED]
Subject: RE: JkMount causing problems


yes


-----Original Message-----
From: John Turner [mailto:[EMAIL PROTECTED]
Sent: Monday, August 11, 2003 2:41 PM
To: Tomcat Users List
Subject: Re: JkMount causing problems



You have no mod_jk.log, even with JkLogLevel set to "info"?

John

[EMAIL PROTECTED] wrote:



The local host file doesn't say anything and I don't have a mod_jk.log being created. But I can't see any reason for it to not work. I have removed the 2nd 2 JkMount statements but the same thing is happening at http://placeanad.classifiedmarketplace.net

No idea what is going on?


-----Original Message----- From: John Turner [mailto:[EMAIL PROTECTED] Sent: Monday, August 11, 2003 2:28 PM To: Tomcat Users List Subject: Re: JkMount causing problems



One thing is that DocumentRoot is typically not "webapps" but some directory under webapps, like "webapps/ROOT" or "webapps/myApp" or whatever.

What URL is causing the 500 error?

What do Tomcat's logs say?

Also, try setting JkLogLevel to "info", restarting, and trying it then.

Also, the JkMounts you have are redundant...if you have "/*", there's no need for the other two, as "/*" means "send everything to Tomcat".

John

[EMAIL PROTECTED] wrote:




When I have the JkMount statements in my virtual host directives the
server gives me a internal 500 server error message and the error log doesn't say anything This is what I have in my virtual host directives


<VirtualHost *:443>
 DocumentRoot /usr/local/jakarta-tomcat-4.1.27/webapps
 ServerName placeanad.classifiedmarketplace.net
 ErrorLog logs/placeanadclassi.com-error_log
 CustomLog logs/placeanadclassi.com-access_log common
 SSLEnable
 SSLCertificateFile /usr/local/apache1/conf/ssl.crt/server3.crt
 SSLCertificateKeyFile /usr/local/apache1/conf/ssl.crt/server.key3
 JkMount /* ajp13
 JkMount /*.jsp ajp13
 JkMount /servlet/* ajp13
</VirtualHost>

Any ideas?

Thanks,
bobbie

Bobbie Atristain
Internet Systems Administrator
Media General, INC.
804.649.6156

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







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

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





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

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

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





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

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




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



Reply via email to