• Web Server Error

    From Operations@1:103/705 to All on Fri Mar 1 19:16:41 2019
    Hey all,
    I've changed my rootdirectory setting in my sbbs.ini to .../webv4/root to use the webv4 server and I'm getting this error in a constant loop

    3/1 10:15:30p 0788 !ERROR: 404 Not Found (line 3643)
    3/1 10:15:30p 0788 Request resolved to: c:\sbbs\webv4\root\error\404.html
    3/1 10:15:30p 0788 Result: HTTP/1.1 404 Not Found
    3/1 10:15:30p 0788 Sending c:\sbbs\webv4\root\error\404.html
    3/1 10:15:31p 0788 JavaScript: Destroying context
    3/1 10:15:31p 0788 JavaScript: Destroying runtime
    3/1 10:15:31p 0960 Session thread terminated (1 clients, 4 threads remain, 50 served)
    3/1 10:15:32p 0788 Session thread terminated (0 clients, 2 threads remain, 50 served)


    Any suggestions?

    Thanks,
    Operations
    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Electrosys@1:103/705 to Operations on Fri Mar 1 19:25:50 2019
    Re: Web Server Error
    By: Operations to All on Fri Mar 01 2019 07:16 pm

    Do you have any more details?

    Which file are you requesting initially? It appears that there is a messing web
    resource and the 404 is being sent along in place of the resource being requested. I think we need a little more of the error log as well.

    Electrosys
    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Operations@1:103/705 to Electrosys on Fri Mar 1 22:10:02 2019
    Re: Web Server Error
    By: Electrosys to Operations on Fri Mar 01 2019 07:25 pm

    Which file are you requesting initially? It appears that there is a messing
    3/2 01:03:19a Reading c:\sbbs\ctrl\sbbs.ini
    3/2 01:03:19a Synchronet Web Server Revision 1.677
    3/2 01:03:19a Compiled Jan 27 2019 05:05:24 with MSC 1800
    3/2 01:03:19a WinSock 2.0 Running
    3/2 01:03:19a Initializing on Sat Mar 02 01:03:19 2019 with options: 803
    3/2 01:03:19a Loading configuration files from c:\sbbs\ctrl\
    3/2 01:03:19a Temporary file directory: c:\sbbs\temp\
    3/2 01:03:19a Root directory: c:\sbbs\webv4\root
    3/2 01:03:19a Error directory: c:\sbbs\webv4\root\error\
    3/2 01:03:19a CGI directory: c:\sbbs\webv4\root\cgi-bin\
    3/2 01:03:19a Read 79 MIME types from root section of c:\sbbs\ctrl\mime_types.ini
    3/2 01:03:19a Read 1 CGI content handlers from CGI section of c:\sbbs\ctrl\web_handler.ini
    3/2 01:03:19a Read 2 JavaScript content handlers from JavaScript section of
    c:\sbbs\ctrl\web_handler.ini
    3/2 01:03:19a Web Server socket set created
    3/2 01:03:19a Web Server listening on socket 0.0.0.0 port 81
    3/2 01:03:19a Web Server thread started
    3/2 01:04:06a 0668 HTTP connection accepted from: 73.10.101.192 port 55059
    3/2 01:04:06a 0668 Session thread started
    3/2 01:04:06a 0668 RX: GET / HTTP/1.1
    3/2 01:04:06a 0668 Request: GET / HTTP/1.1
    3/2 01:04:06a 0668 RX: Host: 73.10.101.192:81
    3/2 01:04:06a 0668 RX: Connection: keep-alive
    3/2 01:04:06a 0668 RX: Purpose: prefetch
    3/2 01:04:06a 0668 RX: Upgrade-Insecure-Requests: 1
    3/2 01:04:06a 0668 RX: User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.119 Safari/537.36
    3/2 01:04:06a 0668 RX: Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/webp,image/apng,*/* ;q=0.8
    3/2 01:04:06a 0668 RX: Accept-Encoding: gzip, deflate
    3/2 01:04:06a 0668 RX: Accept-Language: en-US,en;q=0.9
    3/2 01:04:06a 0668 RX:
    3/2 01:04:06a 0668 Path is: c:\sbbs\webv4\root\
    3/2 01:04:06a 0668 Checking for c:\sbbs\webv4\root\index.html
    3/2 01:04:06a 0668 Checking for c:\sbbs\webv4\root\index.ssjs
    3/2 01:04:06a 0668 HTTP Logon (user #0)
    3/2 01:04:07a 0668 404 - c:\sbbs\webv4\root\ does not exist
    3/2 01:04:07a 0668 !ERROR: 404 Not Found (line 3643)
    3/2 01:04:07a 0668 Request resolved to: c:\sbbs\webv4\root\error\404.html
    3/2 01:04:07a 0668 Result: HTTP/1.1 404 Not Found
    3/2 01:04:07a 0668 Sending c:\sbbs\webv4\root\error\404.html
    3/2 01:04:08a 0668 Session thread terminated (0 clients, 2 threads remain, 109 served)
    3/2 01:04:10a 0796 HTTP connection accepted from: 73.10.101.192 port 55064
    3/2 01:04:10a 0796 Session thread started
    3/2 01:04:10a 0796 RX: GET /favicon.ico HTTP/1.1
    3/2 01:04:10a 0796 Request: GET /favicon.ico HTTP/1.1
    3/2 01:04:10a 0796 RX: Host: 73.10.101.192:81
    3/2 01:04:10a 0796 RX: Connection: keep-alive
    3/2 01:04:10a 0796 RX: User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/72.0.3626.119 Safari/537.36
    3/2 01:04:10a 0796 RX: Accept: image/webp,image/apng,image/*,*/*;q=0.8
    3/2 01:04:10a 0796 RX: Referer: http://73.10.101.192:81/
    3/2 01:04:10a 0796 RX: Accept-Encoding: gzip, deflate
    3/2 01:04:10a 0796 RX: Accept-Language: en-US,en;q=0.9
    3/2 01:04:10a 0796 RX:
    3/2 01:04:10a 0796 Path is: c:\sbbs\webv4\root\favicon.ico
    3/2 01:04:10a 0796 HTTP Logon (user #0)
    3/2 01:04:10a 0796 404 - c:\sbbs\webv4\root\favicon.ico does not exist
    3/2 01:04:10a 0796 !ERROR: 404 Not Found (line 3643)
    3/2 01:04:10a 0796 Request resolved to: c:\sbbs\webv4\root\error\404.html
    3/2 01:04:10a 0796 Result: HTTP/1.1 404 Not Found
    3/2 01:04:10a 0796 Sending c:\sbbs\webv4\root\error\404.html
    3/2 01:04:11a 0796 Session thread terminated (0 clients, 2 threads remain, 110 served)

    This is the whole thing, when I try to log in from the web. on the actual chrome page, I get 404 file not found on the tab and in the main screen "no resource at this location.
    It's looking for something in ...\webv4\root but why wouldn't I have that?

    Thanks,
    Operations
    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Electrosys@1:103/705 to Operations on Fri Mar 1 22:27:30 2019
    Re: Web Server Error
    By: Operations to Electrosys on Fri Mar 01 2019 10:10 pm

    Do both of these files exist on your machine?

    3/2 01:04:06a 0668 Checking for c:\sbbs\webv4\root\index.html
    3/2 01:04:06a 0668 Checking for c:\sbbs\webv4\root\index.ssjs
    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Operations@1:103/705 to Electrosys on Fri Mar 1 22:40:34 2019
    Re: Web Server Error
    By: Electrosys to Operations on Fri Mar 01 2019 10:27 pm

    Never mind about that problem with the webserver. I was stupid. I thought all
    the files would have been in the directories automatically. I just copied them
    over from my web/root to the webv4/root and it worked fine

    So sorry everyone. It's the old saying....never ASSume.

    Operations
    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Electrosys@1:103/705 to Operations on Fri Mar 1 22:44:27 2019
    Re: Web Server Error
    By: Operations to Electrosys on Fri Mar 01 2019 10:40 pm

    Dont call yourself stupid! Things are always obvious in hindsight.
    --- SBBSecho 3.06-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)