Block IP from accessing website using .htaccess

advertisement

To block certain ip address from accessing your website, just create a file with name .htaccess at your root directory with the content below:-

order allow,deny
deny from 192.168.0.1
allow from all

If you want to block multiple ip address using .htaccess simply add one ip address per line as below:-
Continue reading Block IP from accessing website using .htaccess »

Password protect directory with .htaccess and .htpasswd

If you have some files to share among friends in your web server, you can use .htaccess to password protect your directory. To enable this password protect directory feature without any web control panel (ex: CPanel, Ensim, DirectAdmin or etc) is a bit troublesome. No worry, the tutorial below will teach you how to password protect directory using shell or CPanel.

To password protect your website folder with shell command:-
Continue reading Password protect directory with .htaccess and .htpasswd »

How to Disable the Window Media Player Upgrade Message

When there is new version of window media player release, you will get a upgrade message in window media player. To disable this upgrade message in Window Media Player, just follow the steps below:-
Continue reading How to Disable the Window Media Player Upgrade Message »