[aclug-L] Re: setting up Apache for CGI
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
You probably need a ScriptAlias command in you httpd.conf
file. Something on the order of:
ScriptAlias /~foobar/cgi-bin/ /home/foobar/.public_html/cgi-bin/
In addition, you could be getting messed up by the suexec module if
you have the compiled in and do not have it configured correctly. Or
perhaps if you have some permission problems that suexec doesn't like.
On Fri, Aug 25, 2000 at 02:57:57AM -0500, John Reinke wrote:
> I am trying to get Apache to allow CGI scripts from user cgi-bin
> directories. I've looked at the Web HOWTO, and at apache.org for help, but
> can't find an answer to my problem.
>
> Basically, I'm trying to get it set up so users have a .public_html
> directory in their home directory for web pages, and cgi-bin within that. I
> think I have that set up correctly, because if I don't name a CGI *.cgi, it
> will output the cgi script source in the browser. Otherwise, the error
> (500) I always get is:
>
> The server encountered an internal error or misconfiguration and was unable
> to complete your request.
>
> The logs say "Premature end of script headers", but I'm positive the script
> is correctly formatted , since I've used it in other places. It has the two
> newlines following the content-type. I've tried both a perl script and a
> shell script. Any suggestions?
>
> John
>
>
>
> -- This is the discussion@xxxxxxxxx list. To unsubscribe,
> visit http://tmp2.complete.org/cgi-bin/listargate-aclug.cgi
-- This is the discussion@xxxxxxxxx list. To unsubscribe,
visit http://tmp2.complete.org/cgi-bin/listargate-aclug.cgi
- [aclug-L] setting up Apache for CGI, John Reinke, 2000/08/25
- [aclug-L] Re: setting up Apache for CGI, Jeff Schaller, 2000/08/25
- [aclug-L] Re: setting up Apache for CGI,
Steven Saner <=
- [aclug-L] Re: setting up Apache for CGI, Andrew Peck, 2000/08/27
- [aclug-L] Re: setting up Apache for CGI, John Reinke, 2000/08/27
- [aclug-L] Re: setting up Apache for CGI, Jesse Kaufman, 2000/08/27
- [aclug-L] Re: setting up Apache for CGI, Andrew Peck, 2000/08/27
- [aclug-L] Re: setting up Apache for CGI - fixed, John Reinke, 2000/08/28
- [aclug-L] Re: setting up Apache for CGI - Getting closer., Andrew Peck, 2000/08/30
- [aclug-L] Re: setting up Apache for CGI - Getting closer., Clint A. Brubakken, 2000/08/30
- [aclug-L] Re: setting up Apache for CGI - Getting closer., John Reinke, 2000/08/31
- [aclug-L] Re: setting up Apache for CGI, John Reinke, 2000/08/27
|
|