Envoyé par
hinook67
c'est installé et ça marche !!!
Absolument tout nickel chrome ??
Envoyé par
hinook67
j'ai changé httpd.conf avec le chemin vers mon site (répertoire sur mon disque), et je recois ça :
Forbidden
You don't have permission to access / on this server.
pourquoi ?
Pour changer le dossier contenant ton site je pense que tu as modifié cette ligne :
DocumentRoot "/Library/Apache-2.2.6/htdocs"
n'est-ce pas ?
Mais as tu pensé à changer ces lignes ?
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32
| #
# This should be changed to whatever you set DocumentRoot to.
#
<Directory "/Library/Apache-2.2.6/htdocs">
#
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs/2.2/mod/core.html#options
# for more information.
#
Options Indexes FollowSymLinks
#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
#
AllowOverride None
#
# Controls who can get stuff from this server.
#
Order allow,deny
Allow from all
</Directory> |
Si tu veux que ça fonctionne, tu dois modifier l'adresse indiquée à la ligne <Directory "/Library/Apache-2.2.6/htdocs"> .
Envoyé par
hinook67
oui, pour arrêter appache, le handler me demande mon mdp !
Hmmm… pas normal ça, normalement si tu ne traines pas trop pour l'arrêter (quelques minutes d'intervalle maximum) tu ne devrais pas avoir besoin de donner à nouveau le mot de passe, en tout cas chez moi ça se passe comme ça. Mais bon je ne connais pas encore très bien le système de sécurité d'Apple, faudra que je vois ça…
Bon si je résume les dépendances on a…
Apache :
- libexpat
PHP 4 :
- mySQL
- gettext
- libpng
- cURL
PHP 5 :
à voir… peux-tu installer PHP 5 chez toi pour voir s'il fonctionne aussi ? sachant que pour retourner à PHP 4 tu auras juste besoin de remettre les lignes que je t'avais indiquées pour le fichier php.conf.
Partager