My Cart
Drop product in here
Merhaba Arkadaşlar,
Bu günkü yazımızda modsecurity kurulumuna değineceğim. İnşallah herkese yardımcı olacaktır.
Kurulum işlemini için update.script’ini kullanacağız.
ilk olarak klasör oluşturup içine giriş yapıyoruz.
mkdir /usr/local/updatescript
cd /usr/local/updatescript
Sonrasında script’in dosyasını bu klasörün içerisine indiriyoruz.
wget http://dl.shdestek.com/update.script
Sonrasında script’in yazma iznini düzenliyoruz.
chmod 755 update.script
Update’ini yapıp ilgili klasörde ki gereksiz dosyaların silmesini sağlıyoruz.
./update.script UPDATEME
./update.script CLEAN
ModSecurity için pcre-devel’i kuruyoruz.
yum -y install pcre-devel
pcre-devel kurulumunu tamamladıktan sonra Modsecurity’i ve kurallarını yüklüyoruz.
./update.script MODsecurity2Apache2
./update.script MODsecurity2Apache2Rules
Kurulumu tamamladıktan sonra web4host klasörünü oluşturuyoruz.
mkdir /etc/modsecurity2/web4host/
Sonra httpd.conf dosyamızı bir editor ile açıyoruz. (Ben nano hastası olduğum için onu kullanıyorum:) )
nano -w /etc/httpd/conf/httpd.conf
Uygun bir yere aşağıdaki kodu yerleştiriyoruz.
LoadFile /usr/local/lib/libxml2.so
LoadModule security2_module /usr/lib/apache/mod_security2.so
httpd.conf dosyasının en altına da aşağıdaki kodu yerleştiriyoruz.
# ModSecurity2 ONLY
# Do not change anything in included files
#
Include /etc/modsecurity2/web4host/*.conf
Include /etc/modsecurity2/*.conf
Şimdiye kadar herhangi bir hata almadı iseniz problemsiz olarak kurulumu tamamlamışsınız demektir.
Saygılar,
Admin
wholesale mlb jerseys
22 Haziran 2018 at 06:46Appreciate this post. Let me try it out. http://louboutins.forumcrea.com/viewtopic.php?pid=382 http://coloradoavalanchecp.bcz.com/2018/05/29/jerseys-ron-duguay-biography-examples-captain-gabriel-lande/ http://salehandbags.xobor.de/t4451f2-Superbowl-pittsburgh-steelers.html
sworn property valuation
13 Nisan 2018 at 01:11Afte exploring a number of the blog articles on youг site,
I honestly appreciate your technique ߋf blogging.
І book marked іt to my bookmark weboage list аnd wiⅼl be checking baсk іn the neаr future.
Plеase check ⲟut mʏ website ass ԝell aand
tell mе whatt уou think.
get valuation property when buying transfering NSW
13 Nisan 2018 at 01:11whoah thіs weblog iss wonderful i love reading yor posts.
Stay սp the goood worк! You already know, many
people aree hunting round fоr tuis іnformation, you could aaid thеm gгeatly.
Torsten
12 Nisan 2018 at 19:13What’ѕ ᥙp, adter reading this awesome paragraph і
am toо cheerful to share my familiarity һere with
mates.
get valuation townhouse gifting in NSW
12 Nisan 2018 at 14:45Nice post. I was chhecking continuously tһis blog аnd Ӏ am impressed!
Veery uѕeful info ѕpecifically tһe last part :
) І care fоr sսch info much. I ᴡas seeking tһis certаin info foor
a verу long tіme. Thank you аnd best oof luck.