From mboxrd@z Thu Jan 1 00:00:00 1970 X-Msuck: nntp://news.gmane.org/gmane.linux.lib.musl.general/1946 Path: news.gmane.org!not-for-mail From: Rich Felker Newsgroups: gmane.linux.lib.musl.general Subject: Re: musl 0.9.5 release and new website Date: Sun, 16 Sep 2012 08:39:00 -0400 Message-ID: <20120916123900.GF254@brightrain.aerifal.cx> References: <20120915081227.GD27715@brightrain.aerifal.cx> <20120915135340.GI9428@port70.net> <20120916032657.GA254@brightrain.aerifal.cx> <20120916103148.GK9428@port70.net> Reply-To: musl@lists.openwall.com NNTP-Posting-Host: plane.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Trace: ger.gmane.org 1347799668 23287 80.91.229.3 (16 Sep 2012 12:47:48 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 16 Sep 2012 12:47:48 +0000 (UTC) To: musl@lists.openwall.com Original-X-From: musl-return-1947-gllmg-musl=m.gmane.org@lists.openwall.com Sun Sep 16 14:47:48 2012 Return-path: Envelope-to: gllmg-musl@plane.gmane.org Original-Received: from mother.openwall.net ([195.42.179.200]) by plane.gmane.org with smtp (Exim 4.69) (envelope-from ) id 1TDEGI-0004wA-0m for gllmg-musl@plane.gmane.org; Sun, 16 Sep 2012 14:47:46 +0200 Original-Received: (qmail 19605 invoked by uid 550); 16 Sep 2012 12:47:41 -0000 Mailing-List: contact musl-help@lists.openwall.com; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: Original-Received: (qmail 19597 invoked from network); 16 Sep 2012 12:47:41 -0000 Content-Disposition: inline In-Reply-To: <20120916103148.GK9428@port70.net> User-Agent: Mutt/1.5.21 (2010-09-15) Xref: news.gmane.org gmane.linux.lib.musl.general:1946 Archived-At: On Sun, Sep 16, 2012 at 12:31:48PM +0200, Szabolcs Nagy wrote: > * Rich Felker [2012-09-15 23:26:58 -0400]: > > Wow, thanks! I had no idea how this $PATH_INFO thing worked, but it's > > very nice. Is this thttpd-specific, or is it the generic way > > webservers work when a non-final path element is not a directory but > > instead a script? cgit is supposed to do something like this, but I > > couldn't get it to work so I hacked it to use the ugly old > > query-string style urls, but it would be a lot nicer if I could have > > just: > > > > http://git.musl-libc.org/musl/tree/README > > > > the PATH_INFO is part of the cgi 1.1 rfc > http://www.ietf.org/rfc/rfc3875 > > most web servers can serve a vhost with a given > cgi script, i think in thttpd it's enough to > symlink the vhost name to the cgi script > > it seems thttpd cgi handling has minor issues: > - it ignors the 301 status code > (and uses 302 redirects, so search engines don't > know that they should only index the target url) > (this seems to be patched on my system) > - the PATH_INFO for the root is '/.' instead of '/' > (but this is just a minor detail, and can be solved > with [ "$PATH_INFO" != /. ] || PATH_INFO=/) > > so the redirect is not perfect now.. I'll look at it later and try to improve it. If you have ideas for how to do so, let me know. Thanks again! Rich