Koozali.org: home of the SME Server
Other Languages => Français => Topic started by: vclarine on May 03, 2008, 11:50:15 PM
-
Bonjour à vous tous,
Mon système est sme 6.5.
Comment faire pour revenir à ma dernière config qui marchait bien avant modification ?
Je voulais appliquer le " Allow PHP URL File Open per ibay " et voici les commandes que j'ai tapées :
* Allow PHP URL File Open per ibay:
Make custom httpd directory if not exist
mkdir -p /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf
Create the template name 99allow_url_fopen and put the content
<Directory /home/e-smith/files/ibays/IBAYNAME/html>
php_admin_flag allow_url_fopen on
</Directory>
Save the file
Expand
expand-template /etc/httpd/conf/httpd.conf
Restart httpd.
/etc/init.d/httpd-e-smith restart
---- Après avoir rebooté le système marche et je peux aller sur les sites externes mais les sites que j'héberge ne sont plus accessibles ni en local ni depuis l'extérieur ..
Merci d'avance à vous tous..
-
voila tout simplement effacer ce que tu as ajouté ... tout l'interet des templates "custom"
rm -f /etc/e-smith/templates-custom/etc/httpd/conf/httpd.conf/99allow_url_fopen
expand-template /etc/httpd/conf/httpd.conf
/etc/init.d/httpd-e-smith restart
-
Merci beaucoup !! ça marche bien ..