Apache設定限制目錄瀏覽的方法
修改Apache的設定檔httpd.conf。
改成這樣存檔後,重新啟動Apache即可:
Options FollowSymLinks
WAMP Server ERROR “Forbidden You don't have permission to access /phpmyadmin/ on this server.”
DocumentRoot "e:/wamp/www"Apache Server 問題: Slow DOS 攻擊# Require all granted # onlineoffline tag - don't remove Order Deny,Allow #Deny from all Allow from 127.0.0.1 Allow from ::1 Allow from localhost
http://osskb.blogspot.tw/2013/01/vulnerability-http-server-prone-to-slow.html
調整 mod_reqtimeout.so 的參數以達到防止 Slow DOS 攻擊 !
LoadModule reqtimeout_module modules/mod_reqtimeout.so# Wait max 10 seconds for the first byte of the request line+headers # From then, require a minimum data rate of 500 bytes/s, but don't # wait longer than 20 seconds in total. RequestReadTimeout header=10-20,minrate=500 # Wait max 10 seconds for the first byte of the request body (if any) # From then, require a minimum data rate of 500 byte/s. RequestReadTimeout body=10,minrate=500
沒有留言:
張貼留言
注意:只有此網誌的成員可以留言。