Re: webv4
By: Lonewolf to All on Thu Oct 08 2020 09:57 am
Greetings all,
I'm trying to use the /webv4 web interface instead of the default /web. I've changed my sbbs.ini file to be...
Port=8080
RootDirectory = ../webv4/root
IndexFileNames = index.html,index.ssjs
This the current default value of the [web] IndexFileName key:
IndexFileNames = index.html,index.ssjs,index.xjs
When I attempt to hit the site I get, 404 not found. I believe this happens because there is no index.ssjs file in the root of webv4. If I change IndexFileNames to include index.xjs, which is a file that does exist, I get the following error...
Yup, that'll be needed.
!JavaScript C:\sbbs\webv4\root\index.xjs.ssjs line 3: TypeError: settings is null
My questions is, what is the correct way to set up Synchronet to use webv4? I can use the default web without issue, just can't get webv4 to work.
I think you're just missing the [web] section from your ctrl/modopts.ini file.
https://gitlab.synchro.net/sbbs/sbbs/-/blob/master/ctrl/modopts.ini
digital man
Sling Blade quote #17:
Charles Bushman: A shovel just makes too goddamned much racket.
Norco, CA WX: 68.1øF, 74.0% humidity, 2 mph NNW wind, 0.00 inches rain/24hrs
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net