9front - general discussion about 9front
 help / color / mirror / Atom feed
From: Kurt H Maier <khm@sciops.net>
To: 9front@9front.org
Subject: Re: [9front] werc noob
Date: Sat, 15 Jan 2022 01:46:05 -0800	[thread overview]
Message-ID: <YeKX3eudQOq/IDe3@wopr> (raw)
In-Reply-To: <AF620D9C0A722DF60DFB0460B6443697@gmail.com>

On Sat, Jan 15, 2022 at 01:07:40AM -0800, thinktankworkspaces@gmail.com wrote:
> The first if statement shows a simple page
> 
> #if(~ $SERVER_NAME 172.27.0.67){
> #	PATH_INFO=$location
> #	FS_ROOT=/usr/www/werc/sites/172.27.0.67
> #	exec static-or-index
> #}
> 
> 
> But this block below does nothing. I swapped out the IP named directory with other
> directories including the samples such as werc.cat-v.org etc...Nothing gets 
> displayed. Mothra display error "Unknown file type"
> 
> if(~ $SERVER_NAME 172.27.0.67){
> 	PATH_INFO=$location
> 	FS_ROOT=/usr/www/werc/sites/172.27.0.67
> 	exec static-or-cgi /usr/www/werc/bin/werc.rc
> }
> if not
> 	error 503
> 
> 
> tail /sys/log/www
> 
> ./etc/initrc:21: null list in concatenation
> Sat Jan 15 00:58:29 PST 2022 :: 172.27.0.67 :: GET / HTTP/1.1 :: Mozilla/5.0 (compatible; hjdicks) :: 200 ::
> 
> 

we're gonna need a hell of a lot more information.  start with "which
line of ./etc/initrc is line 21 and why does rc think there's a null
list in that concatenation?"

khm

  reply	other threads:[~2022-01-15  9:53 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-01-15  9:07 thinktankworkspaces
2022-01-15  9:46 ` Kurt H Maier [this message]
2022-01-15 17:01   ` thinktankworkspaces
2022-01-15 18:26     ` Stanley Lieber
2022-01-15 19:40       ` thinktankworkspaces
2022-01-15 19:47         ` Stanley Lieber
2022-01-15 20:02           ` thinktankworkspaces
2022-01-15 17:20   ` thinktankworkspaces
2022-01-15 14:18 ` Stanley Lieber
2022-01-15 17:18   ` thinktankworkspaces
2022-01-15 18:22     ` Stanley Lieber
2022-01-15 19:24       ` thinktankworkspaces
2022-01-15 19:52         ` ori
2022-01-15 19:32       ` thinktankworkspaces
2022-01-15 20:12 thinktankworkspaces

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=YeKX3eudQOq/IDe3@wopr \
    --to=khm@sciops.net \
    --cc=9front@9front.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).