Tag Archives: 404

Weird 404 and .htaccess not working properly – cpanel

Took a HUGE time to figure out why my .htaccess rules weren’t working on a CPanel environment.

Like I said on the previous post, CPanel requires the right file permissions on folders and files.

[Tue Jan 06 12:19:40 2015] [crit] [client 84.XX.XX.XXX] (13)Permission denied: /home/asiandee/subdomains/www.domain.com/folder/.htaccess pcfg_openfile: unable to check htaccess file, ensure it is readable

folder has to be with 755
and .htaccess has to be with 644

 

More readings