CGI magic help

トップ ページ
添付ファイル:
Eメールのメッセージ
+ (text/plain)
このメッセージを削除
このメッセージに返信
著者: Jeremy C. Reed
日付:  
題目: CGI magic help
On Tue, 3 Jun 2003, Don Calfa wrote:

> ErrorLog /Volume2m/Websites/Logfiles/website3.com/error_log
> LogLevel debug
> ScriptAlias /cgi-bin/ "/Volume2m/Websites/website3.com/cgi-bin/"
> </VirtualHost>
>
> I have the scripts located in the correct directory, permissions are set
> to read and execute.
> All I get is:
>
>
> Server error!
>
>     The server encountered an internal error and was unable to complete
> your request.

>
>     Error message:
> Premature end of script headers: test2.pl


If using an sh-bang interpreter (like #!/usr/bin/perl) make sure it
has the right path.

Also check the log file to see if it has better error description.

If using suexec, then look at your suexec.log (or cgi.log). It is usually
very informative.

Jeremy C. Reed
http://www.reedmedia.net/