Return-Path: Delivered-To: apmail-httpd-bugs-archive@www.apache.org Received: (qmail 18231 invoked from network); 26 Jun 2008 10:47:51 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 26 Jun 2008 10:47:50 -0000 Received: (qmail 92828 invoked by uid 500); 26 Jun 2008 10:47:52 -0000 Delivered-To: apmail-httpd-bugs-archive@httpd.apache.org Received: (qmail 92700 invoked by uid 500); 26 Jun 2008 10:47:51 -0000 Mailing-List: contact bugs-help@httpd.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: "Apache HTTPD Bugs Notification List" List-Id: Delivered-To: mailing list bugs@httpd.apache.org Received: (qmail 92687 invoked by uid 99); 26 Jun 2008 10:47:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Jun 2008 03:47:51 -0700 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 26 Jun 2008 10:46:59 +0000 Received: by brutus.apache.org (Postfix, from userid 33) id EFCE3234C150; Thu, 26 Jun 2008 03:46:48 -0700 (PDT) From: bugzilla@apache.org To: bugs@httpd.apache.org Subject: DO NOT REPLY [Bug 45286] New: Listen / AcceptFilter interaction X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: newchanged X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Apache httpd-2 X-Bugzilla-Component: Documentation X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: lendl@nic.at X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: bugs@httpd.apache.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: Content-Type: text/plain; charset="UTF-8" MIME-Version: 1.0 Date: Thu, 26 Jun 2008 03:46:48 -0700 (PDT) X-Virus-Checked: Checked by ClamAV on apache.org https://issues.apache.org/bugzilla/show_bug.cgi?id=45286 Summary: Listen / AcceptFilter interaction Product: Apache httpd-2 Version: 2.2.8 Platform: All OS/Version: Linux Status: NEW Severity: normal Priority: P2 Component: Documentation AssignedTo: bugs@httpd.apache.org ReportedBy: lendl@nic.at While dealing with basically the same problem as http://www.gossamer-threads.com/lists/modperl/modperl/97455 for https://sourceforge.net/projects/aepps, a lot of Googling and Source-reading brought me to the following solution: AcceptFilter epp none Listen 700 epp --------- Now knowing the solution, I checked back to the official documentation for these two directives, and found that * http://httpd.apache.org/docs/2.2/mod/core.html#acceptfilter does not somehow tell the reader how to set the protocol name for a socket. * http://httpd.apache.org/docs/2.2/bind.html does not contain any information regarding a possible second parameter which sets the protocol for this port. * I haven't found any hints as to what a connection-handler should do (e.g. call ap_set_server_protocol()?) to set the AcceptFilter or "protocol" field itself. Phew. What about adding to the "Listen" documentation something like "Listen takes an optional second argument which sets the protocol name for this connection. An 'AcceptFilter' statement can then be used to set policies for this port" and to the 'AcceptFilter', something like "The default protocol names are https (for port 443) and http (for everything else). To set the protocol of a specific port, use the second parameter of the "Listen" directive. -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org For additional commands, e-mail: bugs-help@httpd.apache.org