LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 05-16-2003, 08:18 AM   #1
Bill Barrington
LQ Newbie
 
Registered: May 2003
Distribution: Mandrake
Posts: 4

Rep: Reputation: 0
Non performing CGI script


I've seen similar questions to this around various forums, but not precisely what I'm looking for. So, being specific:

When trying to get a CGI script to run from an Apache server, I keep getting a 403 Permission Denied error. All ordinary HTML pages serve up just fine.

The script in question has permission set to 755, which seems to be right. The ScriptAlias is pointing at the right place. Previously, when it wasn't, the page would get served up as text, without executing, but now I have fixed the ScriptAlias issue, I am being denied permission.

Any ideas?
 
Old 05-17-2003, 01:03 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 67
I take it that the script is in the ScriptAlias directory and that you have got all the cgi AddHandler and LoadModule directives in place?

Take a look in the apche error log - it will usually goive you more of an idea what is wrong:
less /etc/httpd/logs/error_log
 
  


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
Directory listing - Calling shell script from a CGI script seran Programming 6 08-11-2005 11:08 PM
python cgi script and premature end of script headers Neruocomp Programming 1 07-28-2005 11:43 AM
Getting the Source of a CGI Script kdepa Linux - Security 5 04-30-2004 07:37 PM
SSH in a CGI script michedlp Programming 7 04-16-2004 10:58 AM
Protect a CGI Script? LiveMatter Programming 13 09-24-2002 08:41 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 06:22 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration