Yes, this is a code jam for the shortest (bytes) functional (returns a valid HTTP response when visited by an HTTP-compliant browser) web server challenge.
You might already remember the “Shortest node.js express webserver” topic, and this challenge takes it up a notch by allowing any server-side programming language (available on replit) and any type of webserver.
EDIT: there will be TWO WINNERS: One will be for any server, another for a server which returns the text Hello World!
@python660 what do you mean by shortest? What are we exactly trying to achieve, are we trying to make a website that takes up the least amount of space? I assume HTML wouldn’t count since it isn’t a programming language.
Shortest means smallest program file size (char count, but on a more technical level, byte count), without additional config elsewhere, while being hosted on replit. Yes, HTML doesn’t count bc it isn’t a user-coded web server, and the webserver behind it is probably too long to count.
Yes, you can because the code is supposed to be what is opening the port. Making a file with a file extension isn’t what opens the port. Which, technically the php command is running some other code, but that’s really what’s being triggered in the beginning.