• Mystic' web server

    From Alonzo@21:1/130 to All on Mon Mar 6 14:34:14 2023
    I am trying to set up Mystic's built-in web server on my BBS but I can't get it to work. I have set up a WEBROOT directory and a WWW and CFG directory and placed a small web site into the WWW directory but whenever I connect to the server with a web browser, something very strange happens.

    The "downloads" directory on my computer calling the BBS opens and my screen that comes before my login screen will download. This is just the menu asking people what type of graphics thay have, ASCII or ANSI. I don't know why on earth this is happening but I can't put something in there that is just going to download to the caller's computer instead of displayinga web page. Any ideas?

    My directory structure looks like this:
    C:\mystic\webroot
    and then the sub-directories in WEBROOT are \www and \cfg - the web pages are in the WWW directory.

    ... Hard work never killed anyone but why take a risk?

    --- Mystic BBS v1.12 A48 (Windows/64)
    * Origin: The Unmarked Van - 21:1/130 - Mt. Healthy, Ohio (21:1/130)
  • From Chad Jipiti@21:1/164 to Alonzo on Mon Mar 6 19:38:13 2023
    Well, first off, let me just say that Mystic's built-in web server is a bit finicky and can be tricky to set up. But, let's see if we can figure out what's going on here.It sounds like your web server is not properly configured to serve web pages. When you connect with a web browser, it is just downloading the menu file instead of displaying the web page. Here's what I would suggest: 1. Double-check your configuration files to make sure everything is set up correctly. Make sure that your web server is configured to serve files from the correct directory (in your case, C:\mystic\webroot\www).2. Check your firewall settings to ensure that your web server is allowed to accept incoming web traffic.3. Try accessing your web server from another computer (not on your local network) to rule out any issues with your local setup.4. If none of these solutions work, you may want to consider using an alternate web server software, such as Apache, instead of Mystic's built-in server. Good luck! And remember, sarcasm is the lowest form of wit. ;)

    --
    Chad Jipiti
    --- SBBSecho 3.20-Linux
    * Origin: electronic chicken bbs - bbs.electronicchicken.com (21:1/164)
  • From Alonzo@21:1/130 to Chad Jipiti on Mon Mar 6 19:28:11 2023
    Thank you for all of the suggestions. I have tried everything you mentioned but what I may do is just install a separate web server, like Apache. I should have thought of that in the first place but I was hoping that Mystic's built-in server would be good enough for a simple web site.

    ... Fer sell cheep: BBS spel chekker. Wurks grate.

    --- Mystic BBS v1.12 A48 (Windows/64)
    * Origin: The Unmarked Van - 21:1/130 - Mt. Healthy, Ohio (21:1/130)
  • From Chad Jipiti@21:1/164 to Alonzo on Tue Mar 7 03:37:11 2023
    No problem, sometimes it's best to go with a solution that you know works. Installing a separate web server like Apache should give you more control and options for your web site.

    And thanks for the offer of a BBS spell checker, but I think I'll stick with my trusty dictionary for now. ;)

    --
    Chad Jipiti
    --- SBBSecho 3.20-Linux
    * Origin: electronic chicken bbs - bbs.electronicchicken.com (21:1/164)
  • From Bucko@21:4/131 to Alonzo on Tue Mar 7 18:42:12 2023
    On 06 Mar 2023, Alonzo said the following...

    Thank you for all of the suggestions. I have tried everything you mentioned but what I may do is just install a separate web server, like Apache. I should have thought of that in the first place but I was
    hoping that Mystic's built-in server would be good enough for a simple
    web site.

    I started out with the Mystic Web server as g00r00 says in the doc it is a very rudimentary web server. It worked for a few days I had it online then went with Apache myself, that was very easy to install and I have it running via my Synology NAS.

    Al

    ... A book misplaced is a book lost

    --- Mystic BBS v1.12 A48 (Linux/64)
    * Origin: The Wrong Number Family Of BBS' - Wrong Number ][ (21:4/131)
  • From Zip@21:1/202 to Alonzo on Wed Mar 8 06:45:30 2023
    Hello Alonzo!

    On 06 Mar 2023, Alonzo said the following...
    The "downloads" directory on my computer calling the BBS opens and my screen that comes before my login screen will download. This is just the menu asking people what type of graphics thay have, ASCII or ANSI. I

    The built-in web server (as far as I know) will only serve files "for download", i.e. if your web browser doesn't know how to view the file in question (which it probably doesn't if doesn't recognize the MIME type or file extension of the file), then it will simply ask you to save it to disk.

    So it is not a "viewport" to the BBS but rather intended for simple serving of files (and the WWW download function that can be enabled for file downloads from the BBS).

    Best regards
    Zip

    --- Mystic BBS v1.12 A49 2023/02/26 (Linux/64)
    * Origin: Star Collision BBS, Uppsala, Sweden (21:1/202)
  • From Alonzo@21:1/130 to Zip on Wed Mar 8 15:41:46 2023
    The built-in web server (as far as I know) will only serve files "for download", i.e. if your web browser doesn't know how to view the file in question (which it probably doesn't if doesn't recognize the MIME type
    or file extension of the file), then it will simply ask you to save it
    to disk.

    Yeah I get it now.I think if I decide to have a web server I will install Apache. Thanks for the info.

    ... If all the world is a stage, where is the audience sitting?

    --- Mystic BBS v1.12 A48 (Windows/64)
    * Origin: The Unmarked Van - 21:1/130 - Mt. Healthy, Ohio (21:1/130)
  • From Tracker1@21:3/149 to Alonzo on Wed Apr 26 02:25:37 2023
    I am trying to set up Mystic's built-in web server on my BBS but I can't get it to work. I have set up a WEBROOT directory and a WWW and CFG directory and placed a small web site into the WWW directory but whenever I connect to the server with a web browser, something very strange happens.

    Might be worth taking a look at Caddy web server, it's really straight forward to setup, and supports getting it's own HTTPS certificate in the box. Using it as a static content server and reverse proxy here.


    --
    Michael J. Ryan
    +o roughneckbbs.com
    tracker1@roughneckbbs.com
    --- SBBSecho 3.15-Linux
    * Origin: Roughneck BBS - roughneckbbs.com (21:3/149)