From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-0.1 required=5.0 tests=DKIM_SIGNED,DKIM_VALID, DKIM_VALID_AU autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 19910 invoked from network); 2 Feb 2021 00:20:58 -0000 Received: from 1ess.inri.net (216.126.196.35) by inbox.vuxu.org with ESMTPUTF8; 2 Feb 2021 00:20:58 -0000 Received: from out3-smtp.messagingengine.com ([66.111.4.27]) by 1ess; Mon Feb 1 18:51:06 -0500 2021 Received: from compute2.internal (compute2.nyi.internal [10.202.2.42]) by mailout.nyi.internal (Postfix) with ESMTP id 86F245C015C for <9front@9front.org>; Mon, 1 Feb 2021 18:06:17 -0500 (EST) Received: from imap21 ([10.202.2.71]) by compute2.internal (MEProxy); Mon, 01 Feb 2021 18:06:17 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=biobuf.link; h= mime-version:message-id:in-reply-to:references:date:from:to :subject:content-type; s=fm1; bh=7gdsMfc5mX+zsnJyTQr+pF4QFvm6bVI IaYgQT62lNtQ=; b=P9K5kAKTpW0tOhaLwI7/VRvDvB74VhwCM5W8xWuk4tboz/4 kp+2jEdGfDWSlICInkSbZRFvMMZYfpii/194LN62kuqTwhV4iLP1NZ9Sf2jegAU2 Q+JK8L8TcbdLiUGY9pmoL/6f7D7wY2+78FwqkIPRGyLQ/sBelH+3KsgdX8srvgIK VkzuyZWTZHkw0kJ7j7emZDPH/C8t8ILI5n/uIc7ll71N0SrsGsE9sZ4FL5Q9JfGO Gc0lxLmKN5ftp3LAE0+MuptMNAgDKaoGcZ3peGSXndZbO+b0UUgFzu9mJYQy4o8Q 9p9yFBM3itwXcFQc65cdFLeJpPog4r38qeL27pg== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=7gdsMf c5mX+zsnJyTQr+pF4QFvm6bVIIaYgQT62lNtQ=; b=OsDancUcLpJ/3k/ED/c7ee 2TmymOf1J7D5HoVigBm55QJZlaBnyhC/MoJFysKWR7kDhNDyRlDJ31f6QroaaZqk /4CBMLD2Nh2LcqVfs0c3Vmz5hNa1uoXpstWtDkc8O75hn7Eaks/Eu4WYax3jA/Mg dYBY/AE77paB/keOMnC6B1ntuVOzutKHsPuoKYkaknGQBhLnbextAI0Aepzy6apt Bo0mN8BOEwhMNECr4A5yWqdXGCV5Gm26Ii6GNHTCDLkthY8sU5nRa85QhdJQB4sW t0AGTzn1jAyXrP8SCf6qgyGZd0BElPHXNXCVuYzYjALATuanYXMCr9GW0k7KC2nQ == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduledrfeekgdduhedvucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepofgfggfkjghffffhvffutgesthdtredtreertdenucfhrhhomhepfdhjrghm vghsuchprghlmhgvrhdfuceojhgrmhgvshessghiohgsuhhfrdhlihhnkheqnecuggftrf grthhtvghrnheptdetteeuveegvdfhfeetkeevkeeijeetveeuhfefleektdeffedvveeu fedvieffnecuvehluhhsthgvrhfuihiivgeptdenucfrrghrrghmpehmrghilhhfrhhomh epjhgrmhgvshessghiohgsuhhfrdhlihhnkh X-ME-Proxy: Received: by mailuser.nyi.internal (Postfix, from userid 501) id C99D251C008D; Mon, 1 Feb 2021 18:06:16 -0500 (EST) X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.5.0-alpha0-93-gef6c4048e6-fm-20210128.002-gef6c4048 Mime-Version: 1.0 Message-Id: <591467c4-5c4c-487b-9082-0165326527b7@www.fastmail.com> In-Reply-To: <48A334002DE651E9CA76515CC9E0733D@gmail.com> References: <48A334002DE651E9CA76515CC9E0733D@gmail.com> Date: Mon, 01 Feb 2021 23:05:29 +0000 From: "james palmer" To: "9front mailing list" <9front@9front.org> Content-Type: text/plain List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: open converged map/reduce cloud full-stack-based DOM framework Subject: Re: [9front] rc-httpd Reply-To: 9front@9front.org Precedence: bulk Quoth thinktankworkspaces@gmail.com: > > #!/bin/rc > > PATH_INFO=$home/www/ > SERVER_NAME=yoda > > switch($SERVER_NAME) { > case 172.27.0.67 > FS_ROOT=$home/www/yoda > exec static-or-index > case* > error 503 > } this will always 503, you are setting SERVER_NAME to yoda you also don't want to set PATH_INFO, it is the path portion of the url > I know I'm missing something simple > also where Do I run the rc-httpd command. At the end of /rc/bin/cpurc? rc-httpd gets run by /rc/bin/service/tcp80, which gets run by aux/listen when an incoming connection to port 80 occurs. you do not want it in your cpurc.