Gentoo Archives: gentoo-user

From: "Rupert Young (Restart)" <rupert.young@×××××××××××××××××.com>
To: gentoo-user@l.g.o
Subject: [gentoo-user] Apache2 tomcat5 virtual hosts
Date: Sun, 25 Sep 2005 20:03:19
Message-Id: 20050925195808.1AC5424F2CF@smtp.nildram.co.uk
1 Hi,
2
3
4
5 I've updated apache2 and am going through the process of changing to the new
6 configs. Is there a how-to which describes virtual hosts?
7
8
9
10 This is what I have now, but apache2 won't start and I get the error below
11
12
13
14 <VirtualHost 192.168.1.40:80>
15
16 ServerName xxx
17
18 DocumentRoot "/opt/tomcat5/webapps/xx"
19
20 <Location "/*.jsp">
21
22 JkUriSet worker ajp13:localhost:8009
23
24 </Location>
25
26 <Directory /opt/tomcat5/webapps/xx>
27
28 DirectoryIndex index.jsp
29
30 </Directory>
31
32 </VirtualHost>
33
34
35
36
37
38 * Apache2 has detected a syntax error in your configuration files:
39
40 Syntax error on line 73 of /etc/apache2/vhosts.d/vhosts.conf:
41
42 Invalid command 'JkUriSet', perhaps mis-spelled or defined by a module not
43 included in the server configuration
44
45
46
47 Regards,
48
49
50
51 Rupert Young

Replies

Subject Author
Re: [gentoo-user] Apache2 tomcat5 virtual hosts z3rosix@×××××××.ch