
المشاركة الأصلية كتبت بواسطة arabih
--------------------------------------
ملحوظه البعض يريد فتح السيف مود لموقع واحد واقفاله عن الجميع اي جعل موقع ما بدون سيف مود اذن اتبع الاتي
عن طريق الشل root
قم بكتابه الامر التالي
كود:
pico /usr/local/apache/conf/httpd.conf
قم بلبحث عن يوزر الموقع اللذي تريد
باستخدام Ctrl+W
مثلا arabih
ستجده هكذا
------------------------------------------------
<VirtualHost ***.***.***.***>
ServerAlias
www.arabih.com arabih.com
ServerAdmin
webmaster@arabih.com
DocumentRoot /home/arabih/public_html
BytesLog domlogs/arabih.com-bytes_log
ServerName
www.arabih.com
User arabih
Group arabih
CustomLog domlogs/arabih.com combined
ScriptAlias /cgi-bin/ /home/arabih/public_html/cgi-bin/
</VirtualHost>
----------------------------------------
نظيف له بعد
كود:
DocumentRoot /home/arabih/public_html
داله قفل السيف مود
كود:
php_admin_flag safe_mode Off
تم الانتهاء ويمكنك فعل ذلك لاكثر من موقع
الان قم بحذظ العمل ب Ctrl+X
وبعدها Y
enter
لكي تعمل الاعدادات الجديده قم بعمل ريستارت للاباتشي
كود:
/etc/init.d/httpd restart
----------------------------------------------------