Installation Configuration Apache
Bonjour,
J'ai un message lorsque je veux afficher une page :
Citation:
Forbidden
You don't have permission to access / on this server.
Apache/2.2.3 (CentOS) Server at localhost Port 82
J'ai créer un compte ( test_admaa/test_admaa) avec comme arborescence ceci /home/test_admaa/test/w1/01_00_00/ sous lequel j'ai mis mes fichiers web. J'ai donné à ces répertoires comme propriétaire l'utilisateur root et faisant aussi partie du groupe root ( chown -R root /home/test_admaa/test/w1/01_00_00 ).
Mon fichier toto.vhost contient le code suivant :
Code:
1 2 3 4 5 6 7 8 9 10 11 12
| <VirtualHost 127.0.0.1:82>
ServerAdmin <a href="mailto:toto@gmail.com">toto@gmail.com</a>
DocumentRoot /home/test_admaa/test/w1/01_00_00/
ServerName 127.0.0.1
<Directory "/home/test_admaa/test/w1/01_00_00">
Order Deny,Allow
Deny from all
Allow from all
</Directory>
ErrorLog /home/test_admaa/test/w1/traces/test_admaa-01_00_00-error_log.tra
CustomLog /home/test_admaa/test/w1/traces/test_admaa-01_00_00-access_log.tra common
</VirtualHost> |
Installation Configuration Apache
Mygale1078 voici le résultat de la commande ls -ld /home/test_admaa/test/w1/01_00_00/
drwxrwxrwx 8 root test_admaa 4096 jui 6 06:39 /home/test_admaa/test/w1/01_00_00/
_Mac_ effectivement j'ai la directive NameVirtualHost 127.0.0.1:82 et j'utilise l'URL http://127.0.0.1:82/ pour accéder à ma page.