Category Archives: Web

Squid ClamAV & HAVP

Originally from here

HAVP (HTTP AntiVirus proxy) is a proxy with an anti-virus filter. It does not cache or filter content and in this how-to it is set as a parent proxy of squid, i can be run on it’s own.

Name: Squid
Function: proxy caching server for web clients

Name: HAVP (HTTP anti-Virus Proxy)
Function: HAVP (HTTP AntiVirus proxy) is a proxy with an anti-virus filter

Read More

ASP.NET AJAX Progress Bar Control

Original Posting Here…

This not my work.

If you use AJAX in your web app’s, you no doubt have made use of some sort of progress/status indicator that lets the user know that some operation is currently executing.  In the app I am currently working on we use an animated gif for this.  It works great, but sometimes you might find it nice to have more control over the indicator – i.e. interacting with it via JavaScript and styling it using CSS.


Read More

Stop Annoying and Bad Bots

Original article

.htaccess file

# Deny domain access to spammers and other scumbags
RewriteEngine on
php_flag register_globals off
SetEnvIfNoCase User-Agent “^libwww-perl*” block_bad_bots
Deny from env=block_bad_bots

# Redirect index.php to
RewriteCond %{THE_REQUEST} ^[A-Z]{3,9}\ /index\.php\ HTTP/
RewriteRule ^index\.php$ [R=301,L]

# Redirect to
RewriteCond %{HTTP_HOST} ^ [NC]
RewriteRule ^(.*)$$1 [L,R=301]

Read More

Bad Behavior has blocked 181 access attempts in the last 7 days.