Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[APACHE] Alias et directory
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index French
View previous topic :: View next topic  
Author Message
oxomichael
Tux's lil' helper
Tux's lil' helper


Joined: 05 Aug 2005
Posts: 87
Location: Loin de chez moi

PostPosted: Mon Dec 18, 2006 12:58 am    Post subject: [APACHE] Alias et directory Reply with quote

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
Back to top
View user's profile Send private message
thelinuxfr
Tux's lil' helper
Tux's lil' helper


Joined: 15 Oct 2006
Posts: 122
Location: FRANCE (Orleans 45)

PostPosted: Wed Dec 20, 2006 12:39 pm    Post subject: Reply with quote

Regarde peut-être les droits sur le répertoire /home/oxomichael/webcreation/
Il doit avoir le groupe d'apache
_________________
TheLinuxFr.Org
Blog: http://thelinuxfr.org/
Ebuild Gentoo: http://overlays.thelinuxfr.org/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index French All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum