par
gesualda » 07 juin 2006, 17:08
Bonjour à tous,
Pourquoi quand j'appelle un script comme ceux-ci:
http://localhost/monscript.php
Cela me visualise ce qu'il y a dans le script, par contre lorsque je fais:
http://127.0.0.1/monscript.php
Cela me propose de le télécharger.
J'ai déjà fait:
windows\system32\drives\etc\hosts dans laquelle j'ai rajouté la ligne de commande suivante:
127.0.0.1 localhost
Dans httpd, j'ai rajouté la ligne:
DirectoryIndex index.php index.htm index.html index.html.var
Ainsi que:
AddType application/x-httpd-php .php .inc
AddType application/x-httpd-php .php3
Que changer encore dans la configuration pour que cela fonctionne dans les deux cas ?
Merci