Gentoo Archives: gentoo-user

From: "Rupert Young (Restart)" <rupert.young@×××××××××××××××××.com>
To: gentoo-user@l.g.o
Subject: RE: [gentoo-user] Apache2 tomcat5 virtual hosts (solved)
Date: Mon, 26 Sep 2005 12:35:08
Message-Id: 20050926123018.613EE24F526@smtp.nildram.co.uk
In Reply to: Re: [gentoo-user] Apache2 tomcat5 virtual hosts by z3rosix@my-mail.ch
1 I removed the lines
2
3 <Location "/*.jsp">
4 JkUriSet worker ajp13:localhost:8009
5 </Location>
6
7 And it worked. I'd changed from jk2 to jk so maybe it was a jk2 thing
8
9 Regards,
10
11 Rupert Young
12
13 > -----Original Message-----
14 > From: z3rosix@×××××××.ch [mailto:z3rosix@×××××××.ch]
15 > Sent: 26 September 2005 10:50
16 > To: gentoo-user@l.g.o
17 > Subject: Re: [gentoo-user] Apache2 tomcat5 virtual hosts
18 >
19 > hello,
20 >
21 > are you sure that the mod_jk modul is loaded before?
22 >
23 >
24 > greetz
25 >
26 > alex
27 >
28 > On Sun, Sep 25, 2005 at 08:58:06PM +0100, Rupert Young (Restart) wrote:
29 > > Hi,
30 > >
31 > >
32 > >
33 > > I've updated apache2 and am going through the process of changing to
34 > the
35 > > new configs. Is there a how-to which describes virtual hosts?
36 > >
37 > >
38 > >
39 > > This is what I have now, but apache2 won't start and I get the error
40 > below
41 > >
42 > >
43 > >
44 > > <VirtualHost 192.168.1.40:80>
45 > >
46 > > ServerName xxx
47 > >
48 > > DocumentRoot "/opt/tomcat5/webapps/xx"
49 > >
50 > > <Location "/*.jsp">
51 > >
52 > > JkUriSet worker ajp13:localhost:8009
53 > >
54 > > </Location>
55 > >
56 > > <Directory /opt/tomcat5/webapps/xx>
57 > >
58 > > DirectoryIndex index.jsp
59 > >
60 > > </Directory>
61 > >
62 > > </VirtualHost>
63 > >
64 > >
65 > >
66 > >
67 > >
68 > > * Apache2 has detected a syntax error in your configuration files:
69 > >
70 > > Syntax error on line 73 of /etc/apache2/vhosts.d/vhosts.conf:
71 > >
72 > > Invalid command 'JkUriSet', perhaps mis-spelled or defined by a
73 > module not
74 > > included in the server configuration
75 > >
76 > >
77 > >
78 > > Regards,
79 > >
80 > >
81 > >
82 > > Rupert Young
83 > >
84 > >
85 > > /etc/elinks/elinks.conf:196: bad value
86 > > /etc/elinks/elinks.conf:232: unknown option
87 > > /etc/elinks/elinks.conf:232: parse error
88 > > /etc/elinks/elinks.conf:319: unknown option
89 > > /etc/elinks/elinks.conf:319: parse error
90 > > /etc/elinks/elinks.conf:526: unknown option
91 > > /etc/elinks/elinks.conf:526: parse error
92 > >
93 >
94 > --
95 > gentoo-user@g.o mailing list
96
97
98
99 --
100 gentoo-user@g.o mailing list