سلام.
کسی تاحالا توی دایرکت ادمین مود سکوریتی نصب کرده؟
من هرکاری میکنم نمیشه!
لطفا دوستان یه اموزش قرار بدند!
با تشکر
سلام.
کسی تاحالا توی دایرکت ادمین مود سکوریتی نصب کرده؟
من هرکاری میکنم نمیشه!
لطفا دوستان یه اموزش قرار بدند!
با تشکر
ممكن هست لود سرورت بالا بره كمي
کد:This worked for me on centos 5.2 using info elsewhere on the DA forums and modsecurity site For info see http://www.modsecurity.org/documenta...tallation.html download latest files from http://www.modsecurity.org/download/index.html wget http://www.modsecurity.org/download/...e_2.5.9.tar.gz tar xzvf modsecurity-apache_2.5.9.tar.gz cd modsecurity-apache_2.5.9/apache2 ./configure make make test make install mkdir -p /etc/modsecurity2/base_rules/ cd /etc/modsecurity2/base_rules/ wget http://www.modsecurity.org/download/...5-1.6.1.tar.gz vi /etc/httpd/conf/httpd.conf after load php module, add... #mod_sec LoadModule security2_module /usr/lib/apache/mod_security2.so and at end of file... <IfModule mod_security2.c> # ModSecurity2 config file. # Include /etc/modsecurity2/base_rules/*conf </IfModule> then compile into apache with custombuild cd /usr/local/directadmin/custombuild mkdir -p custom/ap2 cp configure/ap2/configure.apache custom/ap2/configure.apache vi custom/ap2/configure.apache and add... "--with-mod_security2" then... ./build clean ./build apache
دستور حذف مدسکوریتی دایرکت ادمین چیه؟به شدت لود رو بالا برده
کد HTML:vi /etc/httpd/conf/httpd.conf Edit This Line : LoadModule security2_module /usr/lib/apache/mod_security2.so To : # LoadModule security2_module /usr/lib/apache/mod_security2.so In this file : /etc/httpd/conf/httpd.conf After that do following command : # service httpd restart
سلام . بعد از نصب آپاچی stop میشه وقتیم میخوام استارت کنم ارور زیر رو میده
حل شد :دیکد:[root@150 lib]# service httpd start Starting httpd: [Sun May 29 12:07:58 2011] [warn] module php5_module is already loaded, skipping Syntax error on line 191 of /etc/modsecurity2/base_rules/modsecurity_crs_10_config.conf: ModSecurity: Failed to open the audit log file: /etc/httpd/logs/modsec_audit.log
کد:mkdir logs
ویرایش توسط Dr.SalaR : May 29th, 2011 در ساعت 12:24
Soft98.iR
سلام ، من امروز با این روش داشتم این کار رو میکردم مرحله ی آخر که خواستم آپاچی رو بیلد کنم ارور داد
دوستان کسی میدونه مشکل از کجاست ؟کد PHP:
config.status: creating build/config_vars.sh
config.status: creating include/ap_config_auto.h
config.status: executing default commands
/usr/local/directadmin/custombuild/custom/ap2/configure.apache: line 7: --bindir=/usr/bin: No such file or directory
*** There was an error while trying to configure Apache 2. Check the custom/ap2/configure.apache file
دوستان کسی میتونه در این مورد بهم کمک کنه؟
در حال حاضر 1 کاربر در حال مشاهده این موضوع است. (0 کاربران و 1 مهمان ها)