LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 03-23-2005, 10:53 AM   #1
niranjan_mr
Member
 
Registered: Dec 2004
Posts: 37

Rep: Reputation: 15
cgi error


Dear all

i have some cgi -scripts in cgi-bin directory . but when i am calling these cgi scripts, i get error "Object not found" error 404.
when i see the httpd error log i get the error
script not found or unable to stat: /disk2/xyz, referer: http://xyz.org/home.html

Please guide me

Regards
Niranjan
 
Old 03-24-2005, 05:55 AM   #2
bigearsbilly
Senior Member
 
Registered: Mar 2004
Location: england
Distribution: FreeBSD, Debian, Mint, Puppy
Posts: 3,276

Rep: Reputation: 170Reputation: 170
first thing, with strange problems - check permissions.
does the CGI user (nobody?)
have access to the disk/files?
 
Old 03-25-2005, 05:25 PM   #3
ginda
Member
 
Registered: Mar 2004
Distribution: SUSE8.2, 9.2, Knoppix
Posts: 322

Rep: Reputation: 31
Makesure the script is pointing to perl i.e. #!/usr/bin/perl

and also do chmod a+rx FILENAME

Then try the script
 
  


Reply


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
Perl-CGI 500 Error tzarcone Programming 1 07-01-2005 02:45 AM
RH 8.0 CGI 500 error (apache) 3Dxx Linux - General 46 06-27-2005 05:51 AM
CGI Internal server error newuser455 Linux - General 2 06-10-2004 09:39 PM
CGI Error linux_monkey Programming 2 01-02-2004 03:29 PM
cgi error in from apache nrmx Linux - Software 1 05-02-2003 07:54 AM


All times are GMT -5. The time now is 05:00 PM.

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