added exceptions handling for .htaccess file

Signed-off-by: Shishupal Kumar <shishupal082@gmail.com>
Merge branch 'master' of https://github.com/shishupal082/project.git