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.0 required=5.0 tests=none autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 12654 invoked from network); 1 Feb 2021 23:17:33 -0000 Received: from 1ess.inri.net (216.126.196.35) by inbox.vuxu.org with ESMTPUTF8; 1 Feb 2021 23:17:33 -0000 Received: from 5ess.inri.net ([107.191.111.177]) by 1ess; Mon Feb 1 17:46:03 -0500 2021 Received: from [127.0.0.1] ([107.207.65.229]) by 5ess; Mon Feb 1 17:45:57 -0500 2021 Date: Mon, 01 Feb 2021 17:45:54 -0500 From: Stanley Lieber To: 9front@9front.org In-Reply-To: <48A334002DE651E9CA76515CC9E0733D@gmail.com> References: <48A334002DE651E9CA76515CC9E0733D@gmail.com> Message-ID: <7A820243-652E-42D3-87BD-A81B9E51CE03@stanleylieber.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: content-driven-aware engine CSS optimizer Subject: Re: [9front] rc-httpd Reply-To: 9front@9front.org Precedence: bulk On February 1, 2021 4:49:44 PM EST, thinktankworkspaces@gmail=2Ecom wrote: >Just having bit of an issue getting this up for the first time=2E=20 > >I thought it was as simple as creating a file in: > >/rc/bin/rc-httpd/handlers/select-handler > >#!/bin/rc > >PATH_INFO=3D$home/www/ >SERVER_NAME=3Dyoda > >switch($SERVER_NAME) { >case 172=2E27=2E0=2E67 > FS_ROOT=3D$home/www/yoda > exec static-or-index >case* > error 503 >} > >Then running the following commmand: /rc/bin/rc-httpd/rc-httpd >>[2]/sys/= log/www > >No errors in /sys/log/www >But I discovered on the server the following error: >/sys/log/www: rc (tcp80): can't open: '/sys/log/www' access permission de= nied=2E=20 > >It didn't really matter if I ran the command as glenda in drawterm or on = the console=2E The >error was the same if I curl 172=2E27=2E0=2E67 > >I know I'm missing something simple >also where Do I run the rc-httpd command=2E At the end of /rc/bin/cpurc? > >I don't really have DNS setup so I was just testing with the IP address f= irst=2E > > ls -l /sys/log/www sl