LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
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 10-13-2005, 10:56 AM   #1
lsgko
Member
 
Registered: Aug 2003
Location: USA
Distribution: Fedora Core 4
Posts: 48

Rep: Reputation: 15
Problems running CGIs from user directories


I'm trying to allow users to run cgi programs from their public_html directories. I followed the directions at http://httpd.apache.org/docs/2.0/howto/cgi.html. I checked the permissions but I'm still get "Premature end of script headers" and an Internal Server Error in the browser. I've tried printing the header as text and using CGI.pm.

I added this to the conf file:
<Directory /home/*/public_html>
Options +ExecCGI
AddHandler cgi-script .cgi
</Directory>


What could I be missing?

Thanks in advance.
 
  


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
Running a command across several directories Poetics Linux - Newbie 2 05-15-2005 07:26 AM
Problems running java as a user zoomzoom Linux - Software 4 04-12-2004 02:57 PM
VSFTP user directories SBSAdam Linux - Networking 0 02-23-2004 08:42 AM
LDAP and user Directories hilltop*Tech Linux - Software 1 02-09-2004 07:22 PM
running cgi scripts in other directories init-5 Linux - Software 2 09-16-2003 03:01 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:24 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