Posts tagged Permission Deny Error on .htaccess

Permission Deny Error on .htaccess

Error :

[Tue Dec 01 22:01:42 2009] [crit] [client 127.0.0.1] (13)Permission denied: /home/username/public_html/.htaccess

When you get this errror, then  just run the following commands  :

find -type d -exec chmod 755 {} \;
find -type f -exec chmod 644 {} \;
chown usename.username  * -R

That’s all this will do it.