* [gentoo-user] Apache2 tomcat5 virtual hosts
@ 2005-09-25 19:58 Rupert Young (Restart)
2005-09-26 9:50 ` z3rosix
0 siblings, 1 reply; 3+ messages in thread
From: Rupert Young (Restart) @ 2005-09-25 19:58 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 871 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 5896 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [gentoo-user] Apache2 tomcat5 virtual hosts
2005-09-25 19:58 [gentoo-user] Apache2 tomcat5 virtual hosts Rupert Young (Restart)
@ 2005-09-26 9:50 ` z3rosix
2005-09-26 12:30 ` [gentoo-user] Apache2 tomcat5 virtual hosts (solved) Rupert Young (Restart)
0 siblings, 1 reply; 3+ messages in thread
From: z3rosix @ 2005-09-26 9:50 UTC (permalink / raw
To: gentoo-user
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
> \a
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 3+ messages in thread
* RE: [gentoo-user] Apache2 tomcat5 virtual hosts (solved)
2005-09-26 9:50 ` z3rosix
@ 2005-09-26 12:30 ` Rupert Young (Restart)
0 siblings, 0 replies; 3+ messages in thread
From: Rupert Young (Restart) @ 2005-09-26 12:30 UTC (permalink / raw
To: gentoo-user
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: z3rosix@my-mail.ch [mailto:z3rosix@my-mail.ch]
> 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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-09-26 12:35 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-09-25 19:58 [gentoo-user] Apache2 tomcat5 virtual hosts Rupert Young (Restart)
2005-09-26 9:50 ` z3rosix
2005-09-26 12:30 ` [gentoo-user] Apache2 tomcat5 virtual hosts (solved) Rupert Young (Restart)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox