How to run a DOS-based web server

by BryanLundukeon 12/20/2023, 5:26 AMwith 30 comments

by maximinus_thraxon 12/20/2023, 5:58 AM

With no intention of one-upping the original post, people who find this enjoyable may also check out https://secretgeek.net/dod_intro

by rollcaton 12/21/2023, 8:23 PM

I thought at first it's gonna be redbean (https://redbean.dev), but turns out Cosmo/APE (despite the .com file extension) "only" supports x86-64/Windows.

I like the idea of using the attached screen to scroll logs / show stats. My next server build has a 9" touchscreen on the front panel, and I'm looking for ideas on what (&how) to show there.

by dangon 12/21/2023, 8:47 PM

(sort of) related ongoing thread:

DOS on Dope: The last MVC web framework you'll ever need (2010) - https://news.ycombinator.com/item?id=38706483 - Dec 2023 (18 comments)

by k8sveton 12/21/2023, 8:53 PM

So, someone needs to integrate this with https://github.com/MatthewCroughan/NixThePlanet, of course.

("Run macOS, Windows and more via a single Nix command, or simple nixosModules", aka, declarative DOS VM images)

by sebazzzon 12/20/2023, 6:30 AM

That's nice but you can't run the Web server in the background can you? So you need to terminate it to edit index.htm?

by KRAKRISMOTTon 12/21/2023, 7:35 PM

Better sandbox the webserver in WebAssembly

by niruion 12/20/2023, 6:09 AM

It's cool and all, but does FreeDOS support something similar to Data Execution Prevention? I know MS-DOS probably don't have it, and searching "'FreeDOS' 'Data Execution Prevention'" on DuckDuckGo yielded no result.

by 1970-01-01on 12/21/2023, 9:07 PM

Gopher support?

by mbbrutmanon 12/22/2023, 2:14 AM

Cute article, but I'm not quite sure how you missed the mTCP HTTPServ program ...

by leshokuninon 12/20/2023, 6:30 AM

What happens if you DOS a DOS server?

by redder23on 12/20/2023, 5:08 PM

I fail to see the point.