You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Hans-Erik Skyttberg <Ha...@boxer.se> on 2001/09/25 14:03:27 UTC

Invalid virtual hostname ?, At the directive: WebAppDeploy ?

Starting httpd: Syntax error on line 331 of /etc/httpd/conf/httpd.conf:
Invalid virtual host name

When having a vanilla installed Tomcat 4.0 that I just started and added
following to httpd.conf:
    WebAppConnection conn warp localhost:8008
    WebAppDeploy examples conn /examples

Any ideas suggestions...

Hans - Erik Skyttberg
Boxer TV Access AB
Tegluddsv. 64
115 28 Stockholm
+46 (0)8 587 899 64
+46 (0)733 35 70 64


Re: Invalid virtual hostname ?, At the directive: WebAppDeploy ?

Posted by Marcel May <Ma...@consol.de>.
Try out setting the http server name: "ServerName myServer.myDomain.com"
This worked for me ... the Warp conf you use should be ok.

On Tue, Sep 25, 2001 at 02:03:27PM +0200, Hans-Erik Skyttberg wrote:
> Starting httpd: Syntax error on line 331 of /etc/httpd/conf/httpd.conf:
> Invalid virtual host name
> 
> When having a vanilla installed Tomcat 4.0 that I just started and added
> following to httpd.conf:
>     WebAppConnection conn warp localhost:8008
>     WebAppDeploy examples conn /examples
> 
> Any ideas suggestions...
> 
> 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

RE: Invalid virtual hostname ?, At the directive: WebAppDeploy ?

Posted by Nick Torenvliet <to...@sympatico.ca>.
The ServerName and Port directives should be located in the httpd.conf
file somewhere before the LoadModule, AddModule and WebAppConnection/Deploy.
I moved ServerName up from its default position in the file, and added
the Port directive just after it and everything worked fine.

-----Original Message-----
From: Hans-Erik Skyttberg [mailto:Hans-Erik.Skyttberg@boxer.se]
Sent: Tuesday, September 25, 2001 8:03 AM
To: tomcat-user@jakarta.apache.org
Subject: Invalid virtual hostname ?, At the directive: WebAppDeploy ?


Starting httpd: Syntax error on line 331 of /etc/httpd/conf/httpd.conf:
Invalid virtual host name

When having a vanilla installed Tomcat 4.0 that I just started and added
following to httpd.conf:
    WebAppConnection conn warp localhost:8008
    WebAppDeploy examples conn /examples

Any ideas suggestions...

Hans - Erik Skyttberg
Boxer TV Access AB
Tegluddsv. 64
115 28 Stockholm
+46 (0)8 587 899 64
+46 (0)733 35 70 64