I removed the lines <Location "/*.jsp"> JkUriSet worker ajp13:localhost:8009 </Location>
And it worked. I'd changed from jk2 to jk so maybe it was a jk2 thing Regards, Rupert Young > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Sent: 26 September 2005 10:50 > To: gentoo-user@lists.gentoo.org > Subject: Re: [gentoo-user] Apache2 tomcat5 virtual hosts > > hello, > > are you sure that the mod_jk modul is loaded before? > > > greetz > > alex > > On Sun, Sep 25, 2005 at 08:58:06PM +0100, Rupert Young (Restart) wrote: > > Hi, > > > > > > > > I've updated apache2 and am going through the process of changing to > the > > new configs. Is there a how-to which describes virtual hosts? > > > > > > > > This is what I have now, but apache2 won't start and I get the error > below > > > > > > > > <VirtualHost 192.168.1.40:80> > > > > ServerName xxx > > > > DocumentRoot "/opt/tomcat5/webapps/xx" > > > > <Location "/*.jsp"> > > > > JkUriSet worker ajp13:localhost:8009 > > > > </Location> > > > > <Directory /opt/tomcat5/webapps/xx> > > > > DirectoryIndex index.jsp > > > > </Directory> > > > > </VirtualHost> > > > > > > > > > > > > * Apache2 has detected a syntax error in your configuration files: > > > > Syntax error on line 73 of /etc/apache2/vhosts.d/vhosts.conf: > > > > Invalid command 'JkUriSet', perhaps mis-spelled or defined by a > module not > > included in the server configuration > > > > > > > > Regards, > > > > > > > > Rupert Young > > > > > > /etc/elinks/elinks.conf:196: bad value > > /etc/elinks/elinks.conf:232: unknown option > > /etc/elinks/elinks.conf:232: parse error > > /etc/elinks/elinks.conf:319: unknown option > > /etc/elinks/elinks.conf:319: parse error > > /etc/elinks/elinks.conf:526: unknown option > > /etc/elinks/elinks.conf:526: parse error > > > > -- > gentoo-user@gentoo.org mailing list -- gentoo-user@gentoo.org mailing list