403 FORBIDDEN
You don't have permission to access/folder_name/index.php
on this server.
Server unable to read .htaccess
file, denying access to be safe
Additionally, a 403 Forbidden error was encountered while trying to use an ErrorDocument
to handle the request.
Here is .htaccess code:
<Files 403.shtml>
order allow,
deny allow from all
</Files>
And I also tried another code:
<Directory "/path/to/source/file/directory/www">
Options Indexes FollowSymLinks
AllowOverride all
Require all granted
</Directory>
But I am confused on the line "path/to/source/file/directory/www".
.htaccess
code – Sahil Gulatirw-rw-r--
(chmod 644 .htaccess
) or some variation, and ensure the user/group Apache is running under has access to that file/directory, assuming you're hosting on Linux. – Bytewave