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

apache+cgi+php+ssi



I have a website that includes a "virtual" SSI directive for site
statistics. This worked for a long time, and it still *sort of* works, but
within the last week I have had some strange problems.

Things work within the local network, as far as I can tell (I have checked
on my computer and my husband's computer, which are both within the
network). They don't work anywhere outside of the local network.

PHP sites return the error:

Warning: Unable to include '/cgi-bin/file.cgi?options' - request execution
failed in /html/directory/subdirectory/index.php3 on line 156

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

[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.

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.

If you'd like to see the problem live, try colby.dhs.org (scroll over the
eyeball) for the html error and amimulletornot.dhs.org for the php error
(same thing, scroll over the eyeball).

-nicole



Reply to: