UnixServerAdmin

Server Administration & Management

Permission Deny Error on .htaccess

Error : [Tues March 15 22:01:42 2011] [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

Advertisements

March 16, 2011 Posted by | Apache, htaccess | , , | 3 Comments