===>http://www.glpi-project.org/spip.php?article31.
J ai installé apache,mysql,php
crée une base de donne mysql et j ai inclus php dans le fichier de configuration de base d apache ainsi que le module correspondant.
Sur mon serveur apache j ai déjà installe un site et je souhaite réinstaller celui ci sur un vhost mais petit problème j ai une erreur 403 et je comprend pas très bien pourquoi malgré les bon droits que j ai mis pour php.
chmod 755 sur tous mon dossier /srv avec l option -R
chown -R http:http sur mon dossier glpi
Petites questions en passant :
Est ce que apache regarde le fichier de conf et ensuite les fichiers "includes" ou l inverse pour savoir si 2 paramètres se contredisent lequel gagne (ex:DirectoryIndex ou une autre option) parceque AllowOverride n 'est que pour les htacces ?
Voila mon vhost
Code : Tout sélectionner
#
# Use name-based virtual hosting.
#
NameVirtualHost 192.168.1.19:80
#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for all requests that do not
# match a ServerName or ServerAlias in any <VirtualHost> block.
#
<VirtualHost *:80>
ServerAdmin webmaster@dummy-host.example.com
DocumentRoot "/srv/glpi/"
ServerName glpi.local
ServerAlias bibi
ErrorLog "/var/log/httpd/dummy-host.example.com-error_log"
CustomLog "/var/log/httpd/dummy-host.example.com-access_log" common
<Directory /srv/glpi/>
DirectoryIndex index.html index.php
Options FollowSymLinks
AllowOverride All
Order Allow,Deny
Allow from all
</Directory>
</VirtualHost>
