Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2004-04-28
6
Medium Priority
?
19,634 Views
Last Modified: 2011-08-18
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
0
Comment
Question by:lakshminair
  • 2
  • 2
5 Comments
 
LVL 10

Accepted Solution

by:
Mercantilum earned 200 total points
ID: 10938302
Look at what you get in your error log (usually /var/log/httpd/xxxxxerror_log)
0
 
LVL 23

Assisted Solution

by:rama_krishna580
rama_krishna580 earned 200 total points
ID: 10939130
make sure that the file is there and with proper permissions...send the
output of:
ls -l /usr/local/apache/bin/apachectl


I imagine /etc/rc5.d/S45httpd is a symlink to ../rc.d/init.d/httpd
Where did you get this file? Is this an RPM installation or did you
build it manually? I don't believe /usr/local/apache is the correct
path if it was an RPM install and (I may be totally wrong here) I
thought apache 2.x installed in much different places than 1.x

R.K
0
 
LVL 23

Expert Comment

by:rama_krishna580
ID: 10939177
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
0
 
LVL 10

Expert Comment

by:Mercantilum
ID: 10939209
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)
0
 
LVL 15

Expert Comment

by:periwinkle
ID: 11761570
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
0

Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Hi, in this article I'm going to teach you how to run your own site, and how to let people in (without IP). I'll talk about and explain each step... :) By the way, everything in this Tutorial is completely free and legal. This article is for …
If you've heard about htaccess and it sounds like it does what you want, but you're not sure how it works... well, you're in the right place. Read on. Some Basics #1. It's a file and its filename is .htaccess (yes, with a dot in the front). #…
This Micro Tutorial will teach you how to add a cinematic look to any film or video out there. There are very few simple steps that you will follow to do so. This will be demonstrated using Adobe Premiere Pro CS6.
This lesson discusses how to use a Mainform + Subforms in Microsoft Access to find and enter data for payments on orders. The sample data comes from a custom shop that builds and sells movable storage structures that are delivered to your property. …
Suggested Courses
Course of the Month8 days, 13 hours left to enroll

877 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question