[linux] apache virtual hosts probleem

paai J.J.Paijmans op uvt.nl
Di Jan 20 10:16:28 CET 2009


Ik slaag er maar niet in virtual hosts aan de praat te krijgen
onder Kubuntu 8.10

De NameVirtualHost en includes zijn gezet inapache2.conf

  $ tail /etc/apache2/apache2.conf
  # Include the virtual host configurations:
  NameVirtualHost *:80
  Include /etc/apache2/sites-enabled/

De links staan in /etc/apache2/sites-enabled/
  $ dir /etc/apache2/sites-enabled/
  lrwxrwxrwx 1 root root   23 Jan 20 09:51 paai -> ../sites-available/paai
  lrwxrwxrwx 1 root root   25 Jan  6 14:33 xandra -> 
../sites-available/xandra

De files staan in ../sites-available als volgt:

<VirtualHost *:80>
    ServerName www.xandrapaijmans.nl
    ServerAlias xandrapaijmans.nl
    ServerAdmin paai op uvt.nl
    DocumentRoot /var/www/XandraPaijmans/
    <Directory />
        Options FollowSymLinks
        AllowOverride None
        Order allow,deny
        allow from all
    </Directory>
</VirtualHost>

Maar bij herstart van apache houd ik deze melding:
 * Restarting web server 
apache2                                                             
apache2: Could not reliably determine the server's fully qualified 
domain name, using 127.0.1.1 for ServerName
[Tue Jan 20 10:14:33 2009] [warn] NameVirtualHost *:80 has no VirtualHosts
 ... waiting apache2: Could not reliably determine the server's fully 
qualified domain name, using 127.0.1.1 for ServerName
[Tue Jan 20 10:14:34 2009] [warn] NameVirtualHost *:80 has no VirtualHosts
                                                                                      
[ OK ]


-- 
Dr. J.J. Paijmans
Tilburg University: Dept. of Linguistics & AI                013-4662693
Rijksdienst voor Archeologie, Cultuurlandschap en Monumenten 033-4227591
Thuis: Kleine St.Jansstraat 3, 3811 HV  Amersfoort           033-4722579 
http://paai.uvt.nl     http://paijmans.net          GSM: +31 621 961 083






More information about the Linux mailing list