Hi friends,

I am struggle from last coup[le of days with this error.

Error: `Forbidden

You don't have permission to access /reports.php on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.`

I tried to solve this by searching different forums. Every where about httpd.conf. But i can't change the server files.

All the files in that folder are working good except and also i set "777" permissions to this page.

Please give some suggestions..

is this an apache server on linux ? Aside from running the server settings by default, did you modified any entries? If so, what are those entries..e.g. vhosts.conf, myPHPAdmin...etc.. Do you have .htaccess in or above that directory?

can you post the < directory /> part of your httpd.conf

example

<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
</Directory>
Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.