Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Server
User Name
Linux - Server This forum is for the discussion of Linux Software used in a server related context.


  Search this Thread
Old 03-07-2008, 06:04 AM   #1
LQ Newbie
Registered: Apr 2005
Posts: 3

Rep: Reputation: 0
cgi-bin error 403 in some cases.

Have something really strange going on and hope someone can help me.
Using Apache 2.2.8 on a Centos box.

If I want to execute a script without any extension is works perfectly f I rename the script to ex.. I get error 403 access denied.
Same thing happens with cgi script, no extension or "-cgi" it works When changing to ".cgi" or ".pl" I get the error.

Since the scripts are called from some programms it is not really easy to change this. On another box with an older version of Apache it works with no problems.

Old 03-08-2008, 03:21 AM   #2
LQ Newbie
Registered: Apr 2005
Posts: 3

Original Poster
Rep: Reputation: 0

OK solved the problem by placing Sethandler cgi-script in the conf file in the directory.

The why is unclear to me. Never had this problem on older version of Apache.


access, cgibin, denied, error

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
CGI-bin Directory Request = 403 Forbidden King4lex Linux - Server 1 04-10-2007 09:43 PM
403 Forbidden when accessing http://mydomain/cgi-bin/openwebmail/ mtsolutions Linux - Software 3 10-27-2006 08:31 AM
nagios cgi-bin permission error noir911 Linux - Software 5 05-26-2006 11:38 PM
cgi-bin error regarding perl script hamish Linux - Software 11 12-09-2004 10:16 AM
Apache and cgi 403 Error. tethysgods Linux - Software 2 08-30-2004 09:06 AM > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 02:08 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration