[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] cgiwrap problem running cgi script
- Subject: Re: [cobalt-users] cgiwrap problem running cgi script
- From: "John D. Gorena" <Support@xxxxxxxxxxxxxxxxxxx>
- Date: Fri Nov 22 05:26:07 2002
- Organization: http://www.JMG-Enterprises.com
- List-id: Mailing list for users to share thoughts on Sun Cobalt products. <cobalt-users.list.cobalt.com>
What kind of Raq are your on? I have found that the Raq550 will cause
problems where no one else has it before.
try these two things:
1) Is there a .htaccess file in that directory? If so, remove it
temporarily and see if the error continues.
2) I also had this problem when the URL was too long. I renamed the
file to a shorter name to test it and it worked. I know that a shorter
name should not make a difference, but that is how I got it to work on
the Raq550.
John
Tom Cameron wrote:
>
> I am having trouble executing a cgi script on a site.
>
> When it is called through the web I get the error message:
> The server encountered an internal error or
> misconfiguration and was unable to complete your request.
>
> and when I look at the apache logs I see the error:
>
> Premature end of script headers: /usr/cgiwrap/cgiwrap
>
> Now Ive tested this script from the command line and it runs perfectly, but
> it seems to return this error when called throught the web.
>
> Ive checked the owner and permissions and they seem fine to me. Permissions
> are 755 and the script and containing folder are owned by the site admin and
> the site group. I have tried all sorts of combinations of ownership and
> chmod also but with no luck at all. .cgi is enabled on that site.
>
> Can anybody suggest what the problem may be, or is there some kind of debug
> log from cgiwrap that I can use to find out the cause of the problem.
>
> Thanks
> Tom
>
> _____________________________________
> cobalt-users mailing list
> cobalt-users@xxxxxxxxxxxxxxx
> To subscribe/unsubscribe, or to SEARCH THE ARCHIVES, go to:
> http://list.cobalt.com/mailman/listinfo/cobalt-users