Hi, you can find my configuration attached. Anyway I have the following problem of code exposure: if you request one of the sites with a name that's not registered in workers2.properties you can easily get to view the source code of the jsp.
Maybe somebody can help? Thanks in advance, Umberto yoom nguyen wrote: > > Umberto > > I am using the same version of Apache 2, tomcat and jk2 on linux. > However, I am still having problem getting Apache2 to talk to tomcat. > Could you share your implementation? I need to compare my setting for > httpd.conf, workers2.properties on the web server. On tomcat server I > will also need to compare jk2.properties and perhaps server.xml. > > Thanks in advance > > ----- Original Message ----- > From: Umberto Nicoletti <[EMAIL PROTECTED]> > Date: Monday, October 21, 2002 3:50 am > Subject: JK2 connector and virtual hosting > > > Hi all, > > I succeeded in configuring apache 2.0.43 and tomcat 4.1.12 to talk to > > each other via jk2. > > > > Still I have a couple of questions: > > > > 1) I am using name based virtual hosting and have the following > > problem:the main/default site will be reached through its IP > > address because of > > customers coming from extranet. This way I cannot get the jk2 > > connectorto handle jsp pages, unless i put a uri mapping like this in > > workers2.properties: [uri:10.0.0.10/*.jsp]. Is this the way it > > should be > > or am I missing something? > > > > 2) for each vhost I must add an uri mapping in > > workers2.properties. Is > > this intentional? Is there any way to specify a global uri like > > [uri:*/*.jsp]? > > > > 3) for better security should I use a network socket or a unix > > socket to > > connect apache and tomcat (they're on the same box)? Has anyone > > suggestions on setting up a secure configuration? > > > > I have also looked through the code and it looks like item 2 is not > > possible, but I did not spend too much time on it, just a quick tour. > > I can post my conf files, if that's necessary. > > > > Thanks in advance, > > > > -- > > Umberto Nicoletti - [EMAIL PROTECTED] | > > [EMAIL PROTECTED] 049-8239380 (assistenza) > > > > "We'll try to make different mistakes this time." - Larry Wall > > > > -- > > To unsubscribe, e-mail: <mailto:tomcat-user- > > [EMAIL PROTECTED]>For additional commands, e-mail: > > <mailto:tomcat-user-help@;jakarta.apache.org> > > > > > > -- > To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> > For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org> -- Umberto Nicoletti - [EMAIL PROTECTED] | [EMAIL PROTECTED] Tel. 049-8239380 (assistenza) "We'll try to make different mistakes this time." - Larry Wall
apachejk2.zip
Description: Zip compressed data
-- To unsubscribe, e-mail: <mailto:tomcat-user-unsubscribe@;jakarta.apache.org> For additional commands, e-mail: <mailto:tomcat-user-help@;jakarta.apache.org>