Bonsoir,

J'ai fait l'acquisition d'un serveur dédié chez ovh aujourd'hui afin d'en faire un serveur web.
J'avais aussi un nom domaine chez eux que j'ai décidé de migrer sur mon dédié.
Jusque là pas (trop) de soucis.
Vient alors la configuration des virtual host.

Mes sous-domaines fonctionnent correctement, par contre impossible de faire pointer mon domaine principal (www.mondomaine.com) sur le répertoire spécifié.
Résultat : You don't have permission to access / on this server.
Et ce malgré l'absence de .htaccess et la présence d'un index.html

Voici mes virtualhost
Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
 
<VirtualHost *:80>
        ServerAdmin postmaster@mondomain.org
        ServerName cyril.mondomaine.org
        DocumentRoot /home/cyril/www/
        <Directory /home/cyril/public_html/>
                Options -Indexes FollowSymLinks MultiViews
                AllowOverride All
        </Directory>
        ErrorLog /home/cyril/logs/error.log
        LogLevel warn
        CustomLog /home/cyril/logs/access.log combined
</VirtualHost>
 
<VirtualHost *:80>
        ServerAdmin postmaster@mondomaine.org
        ServerName www.mondomaine.org
        DocumentRoot /home/web/www/
        <Directory /home/web/public_html/>
                Options -Indexes FollowSymLinks MultiViews
                AllowOverride All
                Order allow,deny
                allow from all
        </Directory>
        ErrorLog /home/web/logs/error.log
        LogLevel warn
        CustomLog /home/web/logs/access.log combined
</VirtualHost>
Si quelqu'un voyait ce que je loupe...
par avance merci.

Cordialement.