Posted October 26, 200420 yr Bonjour Je tourne sous SuSE 9.1 pro et apache2 fonctionne avec une config par defaut: dans /etc/apache2/default-server.conf DocumentRoot est actuellement indiqué comme /srv/www/htdocs avec la config par defaut jarrive a travailler si mes fichiers sont stockés dans ~/public_html je met http://localhost/~xm (user xm) et ça roule bon mais maintenant je voudrais en fait travailler sur ma partoche en FAT qui contient mon repertoire de travail PHP ici: /media/ieee1394_sbp2-0050770e00002140-0-0p1/essai_php/ (sur un dd externe en firewire) je voudrais donc arriver à avoir mon repertoire de travail ici /media/ieee1394_sbp2-0050770e00002140-0-0p1/essai_php/ j'ai cherché,jai modifié mon rep public_html en //blabla/essai_php mais ça marche pas et le fichier /etc/apache2/mod_userdir.conf est pas encourageant: <IfModule mod_userdir.c> # Note that the name of the user directory ("public_html") cannot easily be # changed here, since it is a compile time setting. The apache package # would have to be rebuilt. You could work around by deleting # /usr/sbin/suexec, but then all scripts from the directories would be # executed with the UID of the webserver. # # To rebuild apache with another setting you need to change the # %userdir define in the spec file. faut recompiler Apache pour faire ça ?!! je sais pas comment faire...
Archived
This topic is now archived and is closed to further replies.