[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: apache+cgi+php+ssi



On Tue, Apr 03, 2001 at 09:33:14PM -0700, Nicole Zimmerman wrote:
> HTML (.shtml) sites say:
> [an error occurred while processing this directive]
> 
> The apache logs say:
> [Tue Apr 3 21:15:40 2001] [error] [client 1.2.3.4] Premature end
> of script headers: /directory/cgi-bin/file.cgi

this is usually a lack of including

	HTTP/1.1 200 OK

before even the

	Content-Type: text/html

header.

> [Tue Apr 3 21:15:40 2001] [error] [client 1.2.3.4] unable to include
> "/cgi-bin/file.cgi?options" in parsed file
> /html/directory/subdirectory/index.shtml
> 
> In the /html/directory <Directory> information I do have the Includes
> option as well as ExecCGI. This is also true for the CGI directory. I
> don't think this is critical considering it *works* locally.

in your main config don't forget to check for

	AllowOverride None

for various <location> or <directory> blocks...

> Anyone have ideas as to what could cause this and how I can fix it? I
> don't see any .htaccess files anywhere in these directories. The cgi
> scripts are all owned by www-data:www-data and are 755. Why would it work
> locally and not externally?
> 
> I have dug and dug and I can't find an answer. Insight is appreciated.
> While searching I did find a LOT of other sites with these errors, but
> none with a solution.

keep poking, it's in there somewhere. just think how
knowledgeable you'll be, once you find it!

-- 
does a brain cell think?

will@serensoft.com
http://sourceforge.net/projects/newbiedoc -- we need your brain!
http://www.dontUthink.com/ -- your brain needs us!



Reply to: