[BlueOnyx:11258] Re: CGI problem?
Michael Stauber
mstauber at blueonyx.it
Sat Sep 1 11:31:54 -05 2012
Hi Wisja,
> I'm trying to get a contactform working on a suphp enabled site.
> The Server (5108) runs php 5.3 and CGI is enabled for the website.
>
> [Fri Aug 31 12:56:32 2012] [error] [client 111.222.333.444] malformed header from
> script. Bad header=/home/.sites/111/site30/.users: contactform.php, referer:
> http://thewebsitesname.com/contact/contactform.php
>
> When calling the script it gives an "Internal Server Error" with the following lines:
> The server encountered an internal error or misconfiguration and was unable to
> complete your request. Your administrator may not have enabled CGI access for this
> directory.
The contact form has the extension *.php, so it is a PHP script. For
that you do not need CGI. Just PHP (or suPHP) needs to be enabled.
If the script in question is a Perl script, it should have the extension
*.pl or *.cgi instead.
--
With best regards
Michael Stauber
More information about the Blueonyx
mailing list