Sam Ewing <[EMAIL PROTECTED]> wrote:

> I am on Apache 2.0.39 and Tomcat 4.1.3, and the latest
> webapp connector code, fresh from CVS.
> 
> I am facing a "Invalid virtual host name" error from
> Apache with this configuration:
> 
>  LoadModule webapp_module libexec/mod_webapp.so
>  WebAppConnection conn     warp localhost:8008
>  WebAppDeploy     examples conn /examples
> 
> This seems to be identical to bug#8331. Any fixes?
> 
> http://nagoya.apache.org/bugzilla/show_bug.cgi?id=8331

I runs on my own system here... Did you remember to put the "ServerName"
directive in your virtual host? This is how my httpd.conf (relevant part of
virtualhosts looks like):

[...]
LoadModule webapp_module libexec/mod_webapp.so
[...]
ServerName blossom.betaversion.org:80
[...]
WebAppConnection local warp 127.0.0.1:8008
[...]
NameVirtualHost *

<VirtualHost *>
    ServerName blossom.betaversion.org:80
    # DocumentRoot [inherited from main]
    # ServerAdmin [inherited from main]

    WebAppInfo /webapp-status
    [...]
</VirtualHost>

<VirtualHost *>
    ServerName www1.blossom:80
    DocumentRoot /Library/Services/Apache2/Sites/www1
    # ServerAdmin [inherited from main]

    WebAppDeploy     svnview local /svnview
    [...]
</VirtualHost>

Anyhow, this is being fixed... TC should have no clue of what is a virtual
host, it just needs to know that a request is mapped to a particular
context, no need to care about anything else...

    Pier

--
[Perl] combines all the worst aspects of C and Lisp:  a billion of different
sublanguages in  one monolithic executable.  It combines the power of C with
the readability of PostScript. [Jamie Zawinski - DNA Lounge - San Francisco]


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to