8795 sujets

Développement web côté serveur, CMS

Voici mon problème, j'ai installer mon serveur mais je bloque sur les virtulHost je fais un peu court et si vous avez besoin d'autres infos je reviendrai pour vous en donner, j'aimerai savoir ce qui bloque quand je tape ceci:
 sudo service apache2 restart 

il me retourne cette erreur

 * Restarting web server apache2                                                Warning: DocumentRoot [/var/www/perso] does not exist
[Thu Feb 27 15:47:19 2014] [error] (EAI 5)No address associated with hostname: Could not resolve host name *:192.168.12.12 -- ignoring!
Warning: DocumentRoot [/var/www/perso] does not exist
Warning: DocumentRoot [/var/www/perso] does not exist
Warning: DocumentRoot [/var/www/perso] does not exist
[Thu Feb 27 15:47:19 2014] [error] (EAI 5)No address associated with hostname: Could not resolve host name *:192.168.12.12 -- ignoring!
Warning: DocumentRoot [/var/www/perso] does not exist
Warning: DocumentRoot [/var/www/perso] does not exist
Action 'start' failed.
The Apache error log may have more information.

Voici les VirtualHost
<VirtualHost *:80>
        ServerAdmin webmaster@moi.monsite.fr
        ServerName moimeme
        ServerSignature Off
        ServerAlias  https://moi.monsite.fr/acces/
 
        DocumentRoot /var/www/perso/monsite
                Options FollowSymLinks
                AllowOverride None
 
        <Directory /var/www/perso/monsite/>
                Options Indexes FollowSymLinks MultiViews
                AllowOverride All
                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
ErrorLog ${APACHE_LOG_DIR}/error.log

        # Possible values include: debug, info, notice, warn, error, crit,
        # alert, emerg.
        LogLevel warn

        CustomLog ${APACHE_LOG_DIR}/access.log combined

    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>

</VirtualHost>

Je rappelle que je suis sous https, au cas ou vous auriez plus à chercher voici le ports.conf
# /etc/apache2/sites-enabled/000-default
# This is also true if you have upgraded from before 2.2.9-3 (i.e. from
# Debian etch). See /usr/share/doc/apache2.2-common/NEWS.Debian.gz and
# README.Debian.gz

NameVirtualHost *:80
Listen 80

<IfModule mod_ssl.c>
    # If you add NameVirtualHost *:443 here, you will also have to change
    # the VirtualHost statement in /etc/apache2/sites-available/default-ssl
    # to <VirtualHost *:443>
    # Server Name Indication for SSL named virtual hosts is currently not
    # supported by MSIE on Windows XP.
NameVirtualHost *:443
Listen 443
</IfModule>

<IfModule mod_gnutls.c>
NameVirtualHost *:443
    Listen 443
</IfModule>

Et apache n'affiche rien sur le navigateur Smiley fache
Merci à vous de m'aider
Salut,

déjà, ton document root n'existe pas pour commencer, bien que ce ne soit qu'un warning, ça reste légèrement pénalisant.
Ensuite, ton ServerName moimeme, à tout hasard tu n'aurais pas modifié ton fichier /etc/hosts?
Ton ServerAlias est faux aussi, on ne fait pas du https comme ça par ailleurs.
Quelle est ta version d'apache? Qu'as tu dans le error.log?