LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 07-13-2007, 02:16 PM   #1
censanian
LQ Newbie
 
Registered: Jun 2007
Posts: 3

Rep: Reputation: 0
cgi via web browser


i cant get perl scripts to execute out of a users public_html directory. the rights are all ok, 755 throughout. apache configed right to allow cgi execution. in a browser, im getting the "premature end of script headers" error 500. (yet the script runs fine via command line)... i see this error in the suexec.log

[2007-07-12 14:50:18]: uid: (1000/alumni) gid: (1000/1000) cmd: test.cgi
[2007-07-12 14:50:18]: target uid/gid (1000/1000) mismatch with directory (1000/1000) or program (1000/0)

im assuming this is honing in on my problem, but im not sure exectly what this means. can someone describe whats going on. the user im testing with has login of 'alumni' and its assigned UID is 1000. any help appreciated. thanks!

(its a sles 9.3 server)
 
Old 07-13-2007, 03:51 PM   #2
wjevans_7d1@yahoo.co
Member
 
Registered: Jun 2006
Location: Mariposa
Distribution: Slackware 9.1
Posts: 938

Rep: Reputation: 31
I really don't know anything about this, but is there any chance that this:

Code:
target uid/gid (1000/1000) mismatch with directory (1000/1000) or program (1000/0)
                                                                                ^
means that the cgi script is in group root instead of in whatever group has gid 1000?
 
  


Reply



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
Can not access cgi-bin from browser. Spreegem Linux - Software 6 11-07-2005 07:22 PM
CGI problem, works at the command line, but not on the browser izmir Fedora 36 10-08-2005 02:57 PM
browser plugin for Konqueror web browser (linspire) Tracianddwayne Linux - Newbie 1 01-01-2005 02:15 PM
public web browser aka web kiosk xmnemonic Linux - Software 6 06-14-2004 03:20 PM
How to run simple CGI program in browser ? amit_28oct Programming 5 03-23-2004 11:43 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:35 AM.

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