From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1EJciU-0003z5-Ro for garchives@archives.gentoo.org; Sun, 25 Sep 2005 20:03:19 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.5/8.13.5) with SMTP id j8PJt9nG024178; Sun, 25 Sep 2005 19:55:09 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [134.68.220.30]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id j8PJpS54006604 for ; Sun, 25 Sep 2005 19:51:29 GMT Received: from smtp.nildram.co.uk ([195.112.4.54]) by smtp.gentoo.org with esmtp (Exim 4.43) id 1EJcdX-0003uW-6P for gentoo-user@lists.gentoo.org; Sun, 25 Sep 2005 19:58:11 +0000 Received: from FREEDOM (pollux1.gotadsl.co.uk [213.208.107.85]) by smtp.nildram.co.uk (Postfix) with ESMTP id 1AC5424F2CF for ; Sun, 25 Sep 2005 20:58:08 +0100 (BST) From: "Rupert Young (Restart)" To: Subject: [gentoo-user] Apache2 tomcat5 virtual hosts Date: Sun, 25 Sep 2005 20:58:06 +0100 Organization: Restart Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0019_01C5C213.D4C87000" X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180 Thread-Index: AcXCC3I78hsNgHtqS5aEcTJTren5Ow== Message-Id: <20050925195808.1AC5424F2CF@smtp.nildram.co.uk> X-Archives-Salt: 9f63272a-62d0-4d33-be05-3334c08e2998 X-Archives-Hash: 02817faa5a13762fd16110c3c6ae8d4c This is a multi-part message in MIME format. ------=_NextPart_000_0019_01C5C213.D4C87000 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit 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 ServerName xxx DocumentRoot "/opt/tomcat5/webapps/xx" JkUriSet worker ajp13:localhost:8009 DirectoryIndex index.jsp * 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 ------=_NextPart_000_0019_01C5C213.D4C87000 Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

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">

         =             &= nbsp;  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

 

------=_NextPart_000_0019_01C5C213.D4C87000-- -- gentoo-user@gentoo.org mailing list