Published on : April 21, 2016 by Manu M.
Hello All, This post is about blocking an IP using the .htaccess file. At times we will have to block or whitelist a particular IP access to our domain. In such cases we may have to add the IP in the firewall. The method mentioned here will help us to block an IP without adding […]
Published on : July 30, 2014 by Ajo
Preface Hot link protection is security measure in order to prevent other websites from directly linking to files and pictures on your website. Other sites will only be able to link to file types that you don’t specify.Let us see how to enable Hotlink protection Hotlink Protection – Preventing Bandwidth Theft Bandwidth theft or hotlinking […]
Published on : April 1, 2012 by George K.
We had a situation with our cPanel migration support team, very recently where we had to move a cPanel based hosting account to Godaddy. Move went successful. We had to setup the Free Hosting Account which Godaddy has given to the customer, FTP Transfer was done (I guess it was FXP) and we did made […]
Published on : September 24, 2009 by George K.
To password protect a directory htaccess password protect rules can be added in the directory AuthUserFile /path/to/.htpasswd AuthName “This is Hasten secret area” AuthType Basic require valid-user To create .htpasswd file use the following command htpasswd -c .htpasswd <user> You will be prompted for password . Once it is done, the file will be created. […]
Published on : July 29, 2009 by Sharafuddin M.A
To redirect domain to a subfolder you can create a new .htaccess file in the document root of the domain. Then Edit .htaccess file and include the following entries: RewriteEngine On Options +FollowSymlinks RewriteBase / RewriteCond %{HTTP_HOST} www.domainname [OR] RewriteCond %{HTTP_HOST} domainname RewriteCond %{REQUEST_URI} !subfolder/ RewriteRule ^(.*)$ subfolder/$1 [L]