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? [EMAIL PROTECTED] http://sourceforge.net/projects/newbiedoc -- we need your brain! http://www.dontUthink.com/ -- your brain needs us!
Re: apache+cgi+php+ssi
Hi, We have a problem with ftp transfers, when I try to upload or download information to a web site a lot of information the transfer breakdown just say connection closed. I'm use wu_ftp as my ftp server on my linux box and as client I try with gftp and ncftp and nothing. I'm trying to upload a lot of directories to my ISP site. Each directory has some files, but I've a lot of directories to upload. Any idea? -- Rogelio E. Castillo Haro [EMAIL PROTECTED] Vive libre o muere!!! Linux 2001 :)
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