Subscribe Now

* You will receive the latest news and updates on your favorite celebrities!

Trending News

Categoria: Apache2

Apache2, wordpress

wordpress htaccess 

Codex Codex tools: Log in htaccess The .htaccess is a distributed configuration file, and is how Apache handles configuration changes on a per-directory basis. WordPress uses this file to manipulate how Apache serves files from its root directory, and subdirectories thereof. Most notably, WP modifies...
Apache2, iptables

IP bloqueado ataque continua Prevencao Syn Flood 

# Prevencao Syn Flood http://www.forumcpanel.com.br/topic/2148-ip-bloqueado-ataque-continua/ iptables -N syn-flood iptables -A INPUT -i eth0 -p tcp –syn -j syn-flood iptables -A syn-flood -m limit –limit 10/s –limit-burst 24 -j RETURN iptables -A syn-flood -j DROP http://linuxthink.blogspot.com.br/2011/03/prevent-syn-floods-synrecv-attack-on.html iptables -I INPUT -p tcp -m state –state NEW –dport...
Apache2

Parsing Apache Logs 

cat access.log | awk ‘{print $1 ” ” $4}’ Below are some simple awk/sed/etc command line scripts to parse apache logs and get quick statistics Unique visitors per day Where access.log is your combined log file with typical format as below: access.log 69.175.xxx.yyy – –...
Apache2

Protegendo suas páginas com .htaccess do Apache 

Protegendo suas páginas com .htaccess do Apache O “.htaccess” é um arquivo de configuração distribuído (já que pode ser usado em vários diretórios), sendo seu uso relacionado a webservers em geral, principalmente o Apache. Um arquivo, contendo uma ou mais diretivas de configuração, quando colocado...