Bonjour,
je suis en traint de me faire un sereur web clean sous une vm
j'ai installé une centos,
mon documentroot se trouve en /www,
j'ai mis un index.html pour savoir si mon serveur fonctionne,
pour le moment j'ai juste installé php.
lorsque je vais sur localhost c'est bien la page de présentation apache,
lorsque je vais sur localhost/index.html j'ai une erreur 403 :(
je suis allé sur /etc/httpd/log/erreur_log voici ce que j'ai
je ne trouve pas pourquoi j'ai cette erreur voici mon mes droits de dossierCode:
1
2
3 [Fri Mar 07 09:37:39 2014] [notice] Apache/2.2.15 (Unix) DAV/2 PHP/5.3.3 configured -- resuming normal operations [Fri Mar 07 09:38:36 2014] [error] [client ::1] (13)Permission denied: access to /index.html denied
voici ma configuration apacheCode:
1
2
3
4
5
6
7 [root@VMlamp www]# chown apache:apache index.html [root@VMlamp www]# ls -l total 8 -rwxr-xr-x. 1 apache apache 17 7 mars 09:38 index.html -rwxr-xr-x. 1 apache apache 27 7 mars 09:26 info.php [root@VMlamp www]# chmod 777 index.html
Code:
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15 DocumentRoot "/www" <Directory /> Options FollowSymLinks AllowOverride None </Directory> <Directory "/www"> Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all </Directory>
merci d'avance de votre réponse :)