Tuesday, March 29, 2016

Solution for 403-Forbidden Issue

403 error usually refer to incorrect setting in .htaccess or incorrect read right permission with the project folder.

There is a possible happen due to incorrect alias of folder too. So, go to /var/www/html and use the following command to check folder's alias:

ll -Z

To change folder alias, use the following code

chcon -R -t httpd_sys_content_t foldername

No comments:

Post a Comment