...has no VirtualHost... S4Y, Debian 3.1, Apache2 + Confixx

Apache, Lighttpd, nginx, Cherokee
Post Reply
toschido
Posts: 8
Joined: 2005-06-29 19:21
 

...has no VirtualHost... S4Y, Debian 3.1, Apache2 + Confixx

Post by toschido »

Wenn ich die Apache restarten möchte, erschein die Warnung
"NameVirtualHost 62.70.100.148:80 has no VirtualHosts". Hab mich hier schon dumm gesucht, aber leider immer noch keine rechte Erklärung gefunden. Hier der Auszug aus der Confixx_Vhost.conf :

NameVirtualHost 62.70.100.148:80
php_admin_flag safe_mode On
php_admin_value safe_mode_exec_dir /var/www/empty

UseCanonicalName Off
LogFormat "%V:#:%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-agent}i"" confixx
LogFormat "%h %l %u %t "%r" %s %b "%{Referer}i" "%{User-agent}i"" confixx2
CustomLog |/usr/local/confixx/pipelog.pl confixx
<Directory "/var/www">
<Files ~ "^.ht">
deny from all
</Files>
AllowOverride None
AllowOverride Indexes AuthConfig Limit FileInfo
Options None
Options +FollowSymLinks +SymLinksIfOwnerMatch +Includes
</Directory>

<VirtualHost 62.70.100.148:80>
ServerName 62.70.100.148
DocumentRoot /var/www/confixx/html/gesperrt
</VirtualHost>
<VirtualHost 62.70.100.148:80>
ServerName web1.vs149148.vserver.de
ServerAlias homepage.de http://www.homepage.de
DocumentRoot /var/www/web1/html
SuexecUserGroup web1 ftponly
ScriptAlias /cgi-bin/ /var/www/web1/html/cgi-bin/
php_admin_value open_basedir /var/www/web1/:/var/www/phpmyadmin/:/var/www/confixx/html/gesperrt/
php_admin_value upload_tmp_dir /var/www/web1/phptmp/
</VirtualHost>

und hier der Ausdruck aus der httpd.conf :

# This is here for backwards compatability reasons and to support
# installing 3rd party modules directly via apxs2, rather than
# through the /etc/apache2/mods-{available,enabled} mechanism.
#
#LoadModule mod_placeholder /usr/lib/apache2/modules/mod_placeholder.so

Kann mir da jemand auf die Sprünge helfen ? Danke
Roger Wilco
Posts: 5923
Joined: 2004-05-23 12:53
 

Re: ...has no VirtualHost... S4Y, Debian 3.1, Apache2 + Conf

Post by Roger Wilco »

toschido wrote:Kann mir da jemand auf die Sprünge helfen ? Danke
Ignoriere die Meldung einfach. Die wird durch einen doppelten Eintrag von
"NameVirtualHost 62.70.100.148:80" erzeugt, der sich wahrscheinlich auch noch in der confixx_mhost.conf findet.
Post Reply