httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ian Brandt <...@ianbrandt.com>
Subject Re: [users@httpd] mod jk too smart
Date Tue, 23 May 2006 17:39:13 GMT

I'm a bit rusty here, but if memory servers you need a JkMount
directive somewhere so that Apache knows to forward a request to
Tomcat via a mod_jk worker.

Can you give more details on your configuration (OS, distro if Linux,
etc.)?

Many Linux distros split the apache configuration for vhosts and
modules into separate directories using the Include directive.  Also,
I've never tried, and the docs don't specify, but perhaps it's also
possible to specify mod_jk directives in per-directory .htaccess files.

On Linux I'd:

grep -ir '^[^#]*JkMount' [any directories where Apache *.conf or
.htaccess files might reside]

Renaming your workers.properties from whatever is specified by your
JkWorkersFile directive would definitely break any JkMounts as there'd
be no worker for Apache to forward the request to.

Regards,

Ian


Chris Pat wrote:
> Hello
> After the properties files is setup, it appears that I dont need the
> jkmount lines in httpd.conf. I know that is odd and impossibly, however
> I tested it rather throughly methodically stopping Apache, TC reversing
> when any chane to the httpd.conf or workers.properties.  The only edit
> that broke it was renaming workers.properties.  Not even # the jkmount
> lines prevented the proxying from working.  Which is good in one way,
> but indeterminate in another troubling way.  Is this normal?  tia
> 
> ------------------------------------------------------------------------
> Feel free to call! Free PC-to-PC calls. Low rates on PC-to-Phone. Get
> Yahoo! Messenger with Voice
> <http://us.rd.yahoo.com/mail_us/taglines/postman10/*http://us.rd.yahoo.com/evt=39663/*http://messenger.yahoo.com>
> 

---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message