Apache 應用程序防火牆
引擎.它主要是用于Web應用程序所以也可以叫做Web應用程序防火牆.它可以作為Apache Web服務器的一個模塊或單獨的應用程序來運行.ModSecurity的目的是為增強Web應用程序的安全性和保護Web應用程序避免遭受來自已知與未知的攻擊.該項目主頁:http://www.modsecurity.org/
轉自:http://www.open-open.com/open109925.htm
分享此文章
無聊人網誌
引擎.它主要是用于Web應用程序所以也可以叫做Web應用程序防火牆.它可以作為Apache Web服務器的一個模塊或單獨的應用程序來運行.ModSecurity的目的是為增強Web應用程序的安全性和保護Web應用程序避免遭受來自已知與未知的攻擊.該項目主頁:http://www.modsecurity.org/
轉自:http://www.open-open.com/open109925.htm
分享此文章
在httpd.conf加入
#LoadModule speling_module modules/mod_speling.so 請先把最頭的# 移除
加入 CheckSpelling on
重新啟動apache 就可以了
分享此文章
Apache will lock the log file and syslog also cannot rotate it.
so we need a program cronolog
1. download most update version from http://cronolog.org/
2. unzip the file
3. ./configure
4. make
5. make install
6. configure the apache
CustomLog “|/usr/sbin/cronolog /var/www/logs/domain.com-access_log.%Y%m%d” common
ErrorLog “|/usr/sbin/cronolog /var/www/logs/domain.com-error_log.%Y%m%d”
7. restart apache
8. Done
分享此文章
[...]
<Directory “/vhost dir/”>
Options Indexes FollowSymLinks
AllowOverride None
Order Deny,Allow
Deny from all
Allow from 172.16.0.0/255.255.0.0
</Directory>
分享此文章