Hans,

Can't remember but I'm sure it's mentioned in the docs, the WebAppDeploy
handlers MUST be inside VirtualHost directives.

i.e.

NameVirtualHost 127.0.0.1

<VirtualHost 127.0.0.1>
ServerName yourName
WebAppDeploy your_app your_connection your_path
</VirtualHost>

Regards,

James

----- Original Message -----
From: Hans-Erik Skyttberg <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, September 24, 2001 3:54 PM
Subject: SV: Hi! I have followed the instructions in


> I have set the ServerName to something, but I dosen't work, if
> ServerName isn't set I would not even be able to start apache..
>
> Regards
> /Hasse
>
> -----Ursprungligt meddelande-----
> Från: Marcel May [mailto:[EMAIL PROTECTED]]
> Skickat: den 24 september 2001 16:21
> Till: [EMAIL PROTECTED]
> Ämne: Re: Hi! I have followed the instructions in
>
>
> Set the server name in httpd.conf should solve that (commented out by
> default), e.g.
> "ServerName myhost.mydomain.com"
>
> On Mon, Sep 24, 2001 at 04:10:37PM +0200, Hans-Erik Skyttberg wrote:
> > Starting httpd: Syntax error on line 331 of
> /etc/httpd/conf/httpd.conf:
> > Invalid virtual host name
> >                                                            [FAILED]
> >
> > This is in my httpd.conf:
> > LoadModule webapp_module modules/mod_webapp.so
> > AddModule mod_webapp.c
> >
> > <IfModule mod_webapp.c>
> >     WebAppConnection conn warp localhost:8008
> >     WebAppDeploy examples conn /examples
> > </IfModule>
> >
> > I have not touched server.xml, do I need to in order for the examples
> to
> > work ?
> > With mod_jk you could tell htat only .jsp files should be sent to
> > tomcat, is this gone with tomcat 4.0 and webapps ?
> >
> > Any help greatly appreciated ?
> >
> > I read something in server.xml that I should exchange localhost for
> the
> > same values as in ServerName in http.conf, I didn't find any value
> that
> > was localhost underneath this comment so if someone can give me an
> > example of how the standard <Service> should look like for this to
> > work....
> >
> > Regrads
> >
> > Hans - Erik Skyttberg
> > Boxer TV Access AB
> > Tegluddsv. 64
> > 115 28 Stockholm
> > +46 (0)8 587 899 64
> > +46 (0)733 35 70 64
>
> --
> Marcel May
> Development
> ConSol* GmbH
>

Reply via email to