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.2 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, DKIM_INVALID,DKIM_SIGNED,FREEMAIL_FROM autolearn=no autolearn_force=no version=3.4.4 Received: (qmail 6771 invoked from network); 1 Feb 2021 22:28:21 -0000 Received: from 1ess.inri.net (216.126.196.35) by inbox.vuxu.org with ESMTPUTF8; 1 Feb 2021 22:28:21 -0000 Received: from mail-pf1-f169.google.com ([209.85.210.169]) by 1ess; Mon Feb 1 17:18:09 -0500 2021 Received: by mail-pf1-f169.google.com with SMTP id q20so12610986pfu.8 for <9front@9front.org>; Mon, 01 Feb 2021 14:18:00 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:message-id:to:subject:date:mime-version :content-transfer-encoding; bh=CWwMU4EH7C8XUwK5/3qfwdrxVRJ1hd06xu/Q48py/J4=; b=Z+dtpHdbQqDhZxURXYaMPp9ESIjGQXg2osBoGCi5SODrl6M3Rt4SGY/IQC5x/UOOoe H1VhA2jp7NCRCC+SWarC2zIhW5AJf7xTOFNgiOaLY3YaXIaQe2rBw7kEB2qow3fERhgM gPFRifqJ3OLaUFr7O8Mwr3d7lLcdoXzygCcXmP9Yxi+01RO7mc+hucoqM816W4/b4HJu COE8naXBtg+ZaAZMS9qxzlao/1gkF+4XvjSi45ZcjNZEFRll8fxyGJMAOW9oNNoidVbo ok3K/bL/T0w+5ltLblFkXQgrfx7GZv46ssF1K7Zk8nkwfHiHmwyf0bl7yulqBUjHoLPC l8/g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:to:subject:date:mime-version :content-transfer-encoding; bh=CWwMU4EH7C8XUwK5/3qfwdrxVRJ1hd06xu/Q48py/J4=; b=aOL1PyTLjj5LYXiCeHYMMr+19dunW7E/6LtuKXbqtxes+vAXV4XBIb85UVaVKO128S ktzuDjXfrjyDnvdKva3m/Vzu+HOQCnGBQyy4XIHv/KYTRFQjUGWDU/qqpRKPdptmi0kW OiqMX2ds4cRLWzQZl7EubJw8STqFQwDI93B40K6foSQiEk6bxCXkUydQRxnt7eyuHmhq 93v7W631xoxsVaisgOkRDLtcG+7mnsxZusLVJIjZ1PN0svkrlFfa5wHetwrPchd316w5 sxU6I54t7XUb3bJc1BrQI1LLvKF7X8J7ewXIV/PSHs+2b6ty+4H+Om76+7jqjE/wyMe9 qABg== X-Gm-Message-State: AOAM531XZO6UEmkqAPU2TPSh68WM1VJfZk4Y4hGYz9c/uYIzxmizvbT/ rEAGgtAAF1TeGKDhvYUYRmoZFgTPDMA= X-Google-Smtp-Source: ABdhPJzcL3uTc8MbZ/qqWFHijhnaAh3sVJqXO3FPlRerkpFuo+/fV0w8V0zr5JXyawxhFLB7cU69nQ== X-Received: by 2002:a62:5ec5:0:b029:1ae:6847:fa02 with SMTP id s188-20020a625ec50000b02901ae6847fa02mr18625103pfb.61.1612216187036; Mon, 01 Feb 2021 13:49:47 -0800 (PST) Return-Path: Received: from cirno.thinktank (107-200-43-169.lightspeed.sntcca.sbcglobal.net. [107.200.43.169]) by smtp.gmail.com with ESMTPSA id r1sm18858405pfh.2.2021.02.01.13.49.46 for <9front@9front.org> (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 01 Feb 2021 13:49:46 -0800 (PST) From: thinktankworkspaces@gmail.com X-Google-Original-From: glenda@gmail.com Message-ID: <48A334002DE651E9CA76515CC9E0733D@gmail.com> To: 9front@9front.org Date: Mon, 1 Feb 2021 13:49:44 -0800 MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit List-ID: <9front.9front.org> List-Help: X-Glyph: ➈ X-Bullshit: distributed lossless wrapper wrapper-aware general-purpose-oriented database Subject: [9front] rc-httpd Reply-To: 9front@9front.org Precedence: bulk Just having bit of an issue getting this up for the first time. I thought it was as simple as creating a file in: /rc/bin/rc-httpd/handlers/select-handler #!/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 } 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 denied. It didn't really matter if I ran the command as glenda in drawterm or on the console. The error was the same if I curl 172.27.0.67 I know I'm missing something simple also where Do I run the rc-httpd command. At the end of /rc/bin/cpurc? I don't really have DNS setup so I was just testing with the IP address first.