Bonjour,
je vous ecris car je suis a court d’idees… mon soucis sera sans doute vite regle (je viens seulement d installer ma debian).
J’ai donc un zoli apache2, php5… j’ai suivi un tuto pour installe ssl.
la derniere fois j’avais tellement plante le serveur que j’ai du tout reinstalle…
Bref, quand je veux acceder (depuis Debian) a ma page index.html, j’ai bien ma page (j’ai du bataille avec le /etc/apache2/site-available/defaut)
mais j ai toujours cet avertissement :
/etc/init.d/apache2 reload
Reloading web server config: apache2apache2: Could not reliably determine the server’s fully qualified domain name, using 127.0.1.1 for ServerName
[Fri Jul 17 22:32:34 2009] [warn] NameVirtualHost *:80 has no VirtualHosts
Deja je comprends pas car j’ai bien mis dans le /etc/apache2/site-available/defaut : ServerName evix.no-ip.org
Et c’est quoi le soucis avec le namevirtualhost ?
voici mon /etc/apache2/site-available/defaut
[quote]NameVirtualHost *:80
<VirtualHost *:80>
DocumentRoot /var/www/
ServerAdmin webmaster@localhost
ServerName evix.no-ip.org
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog /var/log/apache2/error.log
LogLevel warn
CustomLog /var/log/apache2/access.log combined
ServerSignature Off
NameVirtualHost *:443
<VirtualHost *:443>
SSLEngine On
SSLCertificateFile /etc/apache2/apache2.pem
ServerAdmin webmaster@localhost
ServerName evix.no-ip.org
DocumentRoot /var/www/apache2_ssl/
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
<Directory /var/www/apache2_ssl/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
# This directive allows us to have apache2's default start page
# in /apache2-default/, but still have / go to the right place
#RedirectMatch ^/$ /index.html
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog /var/log/apache2/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/access.log combined
ServerSignature Off
Alias /doc/ "/usr/share/doc/"
<Directory "/usr/share/doc/">
Options Indexes MultiViews FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Allow from 127.0.0.0/255.0.0.0 ::1/128
</Directory>
Alias /torrentflux /usr/share/torrentflux/www/
Alias /phpmyadmin /usr/share/phpmyadmin/
Alias /cacti /usr/share/cacti/site/
[/quote]
merci d’avance pour votre aide