How to disable directory browsing using .htaccess – Apache Web Server
Apache web server allow directory browsing by default. It’s always good to disable directory browsing in security aspect. To disable directory browsing in apache web server you need to edit the...
View ArticleInstall eAccelerator to Optimize PHP performance
Server load increase? looking for ways to optimize your php performance? if you have php optimization problem, you should try PHP eAccelerator. PHP eAccelerator is a free open source PHP accelerator,...
View ArticleDomain Parking – How to park a domain in CPanel Hosting
Domain Parking is useful when you want people to get to your website with multiple domain name. (Domain Parking feature already exists in CPanel by default) Here’s the Domain Parking example: you have...
View ArticleMod Security – Open source Web Application Firewall
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...
View ArticleHow to solve “.htaccess pcfg_openfile: unable to check htaccess file, ensure...
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...
View ArticleHow to block access to certain file types using .htaccess
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...
View ArticleHow to block .log file using in .htaccess
log file normally contain some sensitive information about a website. it’s good to block .log file from being access by visitor. If log file is not block, hacker might use the log file content to...
View ArticleHow to remove apache test page in CentOS
After you install apache web server in CentOS and point your browser to http://localhost you will see a Apache 2 Test Page powered by CentOS. You can disable or remove this apache test page from the...
View ArticleHow to hide apache2 version number in error page
It’s good to hide the apache2 version number from outsider. Especially hiding apache2 version number in all the error pages. Hackers used to collect all this information before they launch any attack....
View ArticleHow to block all file access except one using .htaccess
If you use .htaccess to control the file access, i guess u might came to a situation where you want to block all the files but except one. For an example, you might want to block all the php file...
View Article