oxomichael Tux's lil' helper
Joined: 05 Aug 2005 Posts: 87 Location: Loin de chez moi
|
Posted: Mon Dec 18, 2006 12:58 am Post subject: [APACHE] Alias et directory |
|
|
Bonsoir,
Je passe enfin à PHP5 sur mon petit serveur personnel et j'ai un problème.
Sur mes autres pc ma configuration est la suivante :
Apache 2.0.59
PHP4.4.4
Voici un exemple de mon fichier httpd.conf épuré
Code: |
Alias /webcreation/ "/home/oxomichael/webcreation/"
<Directory "/home/oxomichael/webcreation">
Options Indexes MultiViews
AllowOverride none
Order allow,deny
Allow from all
AcceptPathInfo On
php_value allow_url_fopen 1
</Directory>
<Directory "/home/oxomichael/webcreation/*/catalog">
php_value register_globals 1
</Directory>
<Directory "/home/oxomichael/webcreation/catalog">
php_value register_globals 1
</Directory>
|
Pour cette machine je peux donc accéder à http://localhost/webcreation/
Sur le pc qui pose problème j'ai donc à peu près la même conf dans httpd.conf
Code: |
Alias /webcreation/ "/home/oxomichael/webcreation/"
<Directory "/home/oxomichael/webcreation">
Options Indexes MultiViews
AllowOverride none
Order allow,deny
Allow from all
</Directory>
|
Apache 2.0.58
PHP5
Et là cela ne fonctionne pas. Dans le fichier error_log, j'ai un permission denied.
Même pour afficher de simple html.
Alors il y a un truc auquel je n'ai pas pensé mais si quelqu'un pourrait m'orienter.
Merci. _________________ Gigabyte MA790GP-DS4H - Phenon X4 955 - 4Go
3.0 - ~amd64
Gigabyte MA770T-UD3P - Athlon II X2 240 - 4Go
2.6.38 - ~amd64 |
|