Archive for the 'Web Hosting' Category

How to block access to certain file types using .htaccess

Tuesday, January 26th, 2010

It’s a good practice to block visitor access to file types that is not being used in web server. You can configure .htaccess to block access to specific file types (eg: inc, bak, log, sh). It’s common for webmaster to edit files at the server and rename the old filename to .bak. If your file [...]

How to solve “.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable”

Sunday, July 13th, 2008

My error log shows:-

[Sun Jul 13 01:15:32 2008] [crit] [client 218.208.xxx.xxx] (13)Permission denied: /home/mydomain/public_html/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable

And the site is showing “403 Forbidden Error”.
At first, I suspect it’s .htaccess problem, but actually it’s caused by Frontpage Extension.
To solve “.htaccess pcfg_openfile: unable to check htaccess file, ensure it [...]

Mod Security – Open source Web Application Firewall

Thursday, January 24th, 2008

What is mod security (mod_security)?
ModSecurity is an embeddable web application firewall. It provides protection from a range of attacks against web applications and allows for HTTP traffic monitoring and real-time analysis with no changes to existing infrastructure.
It is also an open source project that aims to make the web application firewall technology available to everyone. [...]