Archive | March, 2010

Block IP Address With IPTables

Need to block am IP address from your server? Here’s an IPTables command: /sbin/iptables -I INPUT -s w.x.y.z -j DROP where w.x.y.z is the IP address to be blocked. Here’s a way to block and address with just the route command: /sbin/route add -host w.x.y.z reject Bookmark on Delicious Digg this post Recommend on Facebook [...]

Need to block am IP address from your server? Here’s an IPTables command:

/sbin/iptables -I INPUT -s w.x.y.z -j DROP

where w.x.y.z is the IP address to be blocked.

Here’s a way to block and address with just the route command:

/sbin/route add -host w.x.y.z reject

View Comments Continue Reading →

Disable ETags

Create a file at /etc/httpd/conf.d/no-etags.conf with the following: Header unset ETag FileETag None Then of course restart Apache. Here’s a discussion on why you may want to turn ETags off: http://www.askapache.com/htaccess/apache-speed-etags.html Bookmark on Delicious Digg this post Recommend on Facebook share via Reddit Share with Stumblers Tweet about it Subscribe to the comments on this [...]

Create a file at /etc/httpd/conf.d/no-etags.conf with the following:

Header unset ETag
FileETag None

Then of course restart Apache.

Here’s a discussion on why you may want to turn ETags off:

http://www.askapache.com/htaccess/apache-speed-etags.html

View Comments Continue Reading →