9front - general discussion about 9front
 help / color / mirror / Atom feed
* Re: [9front] werc noob
@ 2022-01-15 20:12 thinktankworkspaces
  0 siblings, 0 replies; 15+ messages in thread
From: thinktankworkspaces @ 2022-01-15 20:12 UTC (permalink / raw)
  To: sl, 9front

On January 15, 2022 5:01:25 PM UTC, thinktankworkspaces@gmail.com wrote:
>Okay inside /usr/www/werc/etc/initrc:21
>
>path=($plan9port/bin . ./bin ./bin/contrib /bin /usr/bin)
>
>But honestly I don't know what this means. I"m not running linux or 
>debian. What is poan9port and why do I need it if I"m running 9front?

werc ships that way so it doesn't need modification on plan 9 or unix.

the bug you're encountering is the result of recent rc changes. i ran into the same thing, but it was fixed after i complained.

you need to make sure you have the latest rc, and that it's actually installed in /bin/rc.

sl


Its working now I had to exit connect again via drawterm. I shouldn't of needed to do that
and yes I needed to change initrc line 21

path=(/usr/www/werc/bin . ./bin ./bin/contrib /bin /usr/bin)

Thanks!!!!!!!


^ permalink raw reply	[flat|nested] 15+ messages in thread
* [9front] werc noob
@ 2022-01-15  9:07 thinktankworkspaces
  2022-01-15  9:46 ` Kurt H Maier
  2022-01-15 14:18 ` Stanley Lieber
  0 siblings, 2 replies; 15+ messages in thread
From: thinktankworkspaces @ 2022-01-15  9:07 UTC (permalink / raw)
  To: 9front

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 ::



^ permalink raw reply	[flat|nested] 15+ messages in thread

end of thread, other threads:[~2022-01-15 22:10 UTC | newest]

Thread overview: 15+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-15 20:12 [9front] werc noob thinktankworkspaces
  -- strict thread matches above, loose matches on Subject: below --
2022-01-15  9:07 thinktankworkspaces
2022-01-15  9:46 ` Kurt H Maier
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

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).