Project

General

Profile

Actions

Bug #823

closed

connections.c.239: (trace) no status, setting 403

Added by chernousov over 17 years ago. Updated over 15 years ago.

Status:
Invalid
Priority:
High
Category:
core
Target version:
-
ASK QUESTIONS IN Forums:

Description

svn sources, revision 1270.

originally from http://forum.lighttpd.net/topic/1310

'''Posted by ethaniel (Guest) on 27.08.2006 19:29'''

''I downloaded the latest lighttpd from SVN. it starts and works ok. but when it goes to php scripts it's acting strange. it performs scripts on some of the sites. on the others it spits out an error:


connections.c.239: (trace) no status, setting 403

''

'''Posted by Vyacheslav Chernousov on 27.08.2006 23:40'''

''There are 2 ways to solve this bug (yes, it's BUG):

1. insert everywhere in your scripts:
''


header('Status: 200');

''2. or apply this patch to lighttpd sources:''


svn diff connections.c
Index: connections.c
===================================================================
--- connections.c       (revision 1270)
+++ connections.c       (working copy)
@@ -236,8 +236,8 @@
        }

        if (con->http_status == 0) {
-               TRACE("%s", "no status, setting 403");
-               con->http_status = 403;
+               TRACE("%s", "no status, setting 200");
+               con->http_status = 200;
        }

        switch(con->http_status) {

''I know that this patch is not problem solving, but just bug bypass. But at least it's temporarily solution for us.''

Actions #1

Updated by jan about 17 years ago

the original bug report says 1.5.0-svn.

Actions #2

Updated by stbuehler almost 16 years ago

  • Status changed from New to Fixed
  • Resolution set to invalid

mod-fastcgi got removed, please use mod-proxy-core now.

Actions #3

Updated by stbuehler over 15 years ago

  • Status changed from Fixed to Invalid
Actions

Also available in: Atom