Rob Thau's patch for the problem we were seeing with
"application/x-httpd-cgi" for in-directory .cgi scripts did indeed fix the
problem (it was a pretty basic patch, so that's not surprising). This gets
my +1, it's so small I wonder if it needs a patch ID or just a three "yay"'s
from the crowd here. I would strongly suggest putting it in, as the bug is
ugly on some of our imagemap scripts here.
*** http_mime.c~ Sat Apr 15 14:05:39 1995
--- http_mime.c Wed Apr 26 18:53:14 1995
***************
*** 312,317 ****
+ * the former on neatness grounds, the latter because */
+
+ strcpy (content_type, default_type);
+
while(1) {
/* why did this use getline, when we can use stdio buffered I/O?? */
/* maybe we should put a timeout on this. */
--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--
brian@organic.com brian@hyperreal.com http://www.[hyperreal,organic].com/
"application/x-httpd-cgi" for in-directory .cgi scripts did indeed fix the
problem (it was a pretty basic patch, so that's not surprising). This gets
my +1, it's so small I wonder if it needs a patch ID or just a three "yay"'s
from the crowd here. I would strongly suggest putting it in, as the bug is
ugly on some of our imagemap scripts here.
*** http_mime.c~ Sat Apr 15 14:05:39 1995
--- http_mime.c Wed Apr 26 18:53:14 1995
***************
*** 312,317 ****
+ * the former on neatness grounds, the latter because */
+
+ strcpy (content_type, default_type);
+
while(1) {
/* why did this use getline, when we can use stdio buffered I/O?? */
/* maybe we should put a timeout on this. */
--=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=--
brian@organic.com brian@hyperreal.com http://www.[hyperreal,organic].com/