Link to home
Start Free TrialLog in
Avatar of lakshminair
lakshminair

asked on

403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request

Hi All,

I have apache 2.0 installed in redhat linux 9.0.
I have my perl code residing under cgi-bin in the same server.

When i try and invoke my perl script, it tells me

403 Forbidden error was encountered while trying to use an ErrorDocument to handle the request

Please tell what the issue is?

Regards,
Lakshmi
ASKER CERTIFIED SOLUTION
Avatar of Mercantilum
Mercantilum
Flag of Japan image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Hi,

check the file permissions also.....

find -type f | xargs chmod 644
find -type d | xargs chmod 755

The problem here is that none of the files or directories were readable by anyone other than the user who created them.

R.K
So, please look at your error log file to know from which file the permission problem is :)

(Usually the error log file is in your /var/log/httpd dir)
Avatar of periwinkle
No comment has been added to this question in more than 21 days, so it is now classified as abandoned..
I will leave the following recommendation for this question in the Cleanup topic area:

    SPLIT: Mercantilum, rama_krishna580

Any objections should be posted here in the next 4 days. After that time, the question will be closed.

Periwinkle
EE Cleanup Volunteer