Bonjour,

J'ai configuré apache bien des fois, mais j'ai du oublier de noter quelque chose...

je n'arrive pas à faire comprendre à Apache que index.php est un fichier à ouvrir. Firefox me propose de le télécharger (et le télécharge) - pas de souci avec index.html.

j'ai mis des directives

DirectoryIndex index.html index.php

un peu partout, sans succès.

le seul message d'erreur que j'ai c'est :
apache2ctl restart
httpd2: Could not reliably determine the server's fully qualified domain name, using 192.168.56.2 for ServerName

le serveur est là:
http://asso.culte.org/index.html
cliquez sur le seul lien...

mon vhost est (et c'est essentiellement celui qui va très bien sur mon propre serveur):

# forbid access to the entire filesystem by default
<Directory />
    Options None
    AllowOverride None
    Order deny,allow
    Deny from all
#    RewriteEngine On
#    RewriteOptions Inherit
</Directory>

# Configure the DocumentRoot
#
#<Directory "/home/www/htdocs">
<Directory "/srv/www/htdocs">
Options FollowSymLinks Includes
#AllowOverride None
AllowOverride All
Order allow,deny
Allow from all
DirectoryIndex index.html index.php
</Directory>

NameVirtualHost *:80

<VirtualHost *:80>
ServerName culte.org
ServerAlias asso.culte.org
ServerAlias www.culte.org
DocumentRoot /srv/www/htdocs/
DirectoryIndex index.html index.php
<Directory />
    Options None
    AllowOverride None
    Order deny,allow
    Allow from all
</Directory>
</VirtualHost>


merci
jdd

-----------------------------------------------------------------
Les listes de diffusion du CULTe - Pour une informatique libre
http://www.CULTe.org/listes/
Pour se desabonner:
mailto:linux-31-unsubscr...@culte.org?subject=Cliquez_sur_ENVOYER

Répondre à