How to solve Forbidden error ?
When client access there site or some links for example domainname/catalog/admin/ ,then browser shows the following error.
Quote:
===================================
Forbidden
You don't have permission to access /catalog/admin/ on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
===================================
|
or
Server logs show the following logs.
[root@server]# tail -f /usr/local/apache/logs/error_log | grep username
Quote:
=====================
[error] [client 203.193.165.98] client denied by server configuration: /home/username/public_html/catalog/admin/index.php
[error] [client 203.193.165.98] File does not exist: /home/username/public_html/403.shtml
=====================
|
Then the simple
solution for this issue is to open the
.htaccess file which is present in the public_html/ folder and search
"Deny from all" ,then
comment this line or remove this line.