You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users-de@httpd.apache.org by Silvio Siefke <li...@silvio-siefke.de> on 2004/02/03 21:21:34 UTC

Apache Windows

Hallo,

ist es möglich, das man den Apache unter Windows auch VHOSTs
beibringen kann.

Ich habe die folgende Konfiguration:
NameVirtualHost 213.xxx.xxx.xxx

#hserver.info
<VirtualHost *>
 ServerAdmin webmaster@hserver.info
 DocumentRoot "I:/Apache/Apache2/htdocs/hserver.info/"
 ServerName www.hserver.info
 ErrorLog logs/hserver.info-error_log
 ScriptAlias /cgi-bin/ "I:/Apache/Apache2/hserver.info/cgi-bin"
</VirtualHost>

#siefke-internet.net
<VirtualHost *>
 ServerAdmin webmaster@hserver.info
 DocumentRoot "I:/Apache/Apache2/htdocs/siefke-internet.net/"
ServerName: www.siefke-internet.net
 ErrorLog logs/siefke-internet.net-error_log
 ScriptAlias /cgi-bin/
"I:/Apache/Apache2/siefke-internet.net/cgi-bin"
</VirtualHost>

Bei Befehl -S kam folgendes

I:\Apache\Apache2\bin>apache -S
[Tue Feb 03 21:16:57 2004] [warn] NameVirtualHost 213.xxx.xxx.137:0
has no VirtualHosts
VirtualHost configuration:
wildcard NameVirtualHosts and _default_ servers:
*:*                    www.hserver.info
(I:/Apache/Apache2/conf/httpd.conf:976)
*:*                    www.siefke-internet.net
(I:/Apache/Apache2/conf/httpd.conf:985)
Syntax OK

Habt Ihr eine Idee, was falsch läuft im System! Denn leider sind die
VHOST nicht getrennt
ansprechbar.

MFG Silvio Siefke



--------------------------------------------------------------------------
                Apache HTTP Server Mailing List "users-de" 
      unsubscribe-Anfragen an users-de-unsubscribe@httpd.apache.org
           sonstige Anfragen an users-de-help@httpd.apache.org
--------------------------------------------------------------------------


Re: Apache Windows

Posted by Thomas Hilbert <ne...@lordskeletor.de>.
Bitte nicht vergessen, bei Angabe des Wildcards den Port zu nennen:

NameVirtualHost 213.xxx.xxx.xxx:80

<VirtualHost *:80>
    ServerName www.test.de
</VirtualHost>

<VirtualHost *:80>
    ServerName www.bla.de
</VirtualHost

Gruss,
Thomas

----- Original Message ----- 
From: "Silvio Siefke" <li...@silvio-siefke.de>
To: <us...@httpd.apache.org>
Sent: Tuesday, February 03, 2004 9:21 PM
Subject: Apache Windows


> Hallo,
>
> ist es möglich, das man den Apache unter Windows auch VHOSTs
> beibringen kann.
>
> Ich habe die folgende Konfiguration:
> NameVirtualHost 213.xxx.xxx.xxx
>
> #hserver.info
> <VirtualHost *>
>  ServerAdmin webmaster@hserver.info
>  DocumentRoot "I:/Apache/Apache2/htdocs/hserver.info/"
>  ServerName www.hserver.info
>  ErrorLog logs/hserver.info-error_log
>  ScriptAlias /cgi-bin/ "I:/Apache/Apache2/hserver.info/cgi-bin"
> </VirtualHost>
>
> #siefke-internet.net
> <VirtualHost *>
>  ServerAdmin webmaster@hserver.info
>  DocumentRoot "I:/Apache/Apache2/htdocs/siefke-internet.net/"
> ServerName: www.siefke-internet.net
>  ErrorLog logs/siefke-internet.net-error_log
>  ScriptAlias /cgi-bin/
> "I:/Apache/Apache2/siefke-internet.net/cgi-bin"
> </VirtualHost>
>
> Bei Befehl -S kam folgendes
>
> I:\Apache\Apache2\bin>apache -S
> [Tue Feb 03 21:16:57 2004] [warn] NameVirtualHost 213.xxx.xxx.137:0
> has no VirtualHosts
> VirtualHost configuration:
> wildcard NameVirtualHosts and _default_ servers:
> *:*                    www.hserver.info
> (I:/Apache/Apache2/conf/httpd.conf:976)
> *:*                    www.siefke-internet.net
> (I:/Apache/Apache2/conf/httpd.conf:985)
> Syntax OK
>
> Habt Ihr eine Idee, was falsch läuft im System! Denn leider sind die
> VHOST nicht getrennt
> ansprechbar.
>
> MFG Silvio Siefke
>
>
>
> --------------------------------------------------------------------------
>                 Apache HTTP Server Mailing List "users-de"
>       unsubscribe-Anfragen an users-de-unsubscribe@httpd.apache.org
>            sonstige Anfragen an users-de-help@httpd.apache.org
> --------------------------------------------------------------------------
>


--------------------------------------------------------------------------
                Apache HTTP Server Mailing List "users-de" 
      unsubscribe-Anfragen an users-de-unsubscribe@httpd.apache.org
           sonstige Anfragen an users-de-help@httpd.apache.org
--------------------------------------------------------------------------