Python Forum
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
an httpd server
#6
(Jan-03-2022, 05:32 AM)ndc85430 Wrote: As for the question about why certain things are included in the standard library and not, that's a question for the library developers.
it would be more of a question about the naming scheme, given that there is such a server. i just didn't see it because the naming scheme was different. i was looking for "httpd". but it is known, now, and i can avoid creating my own (i wrote one in C many years ago).
(Jan-03-2022, 09:15 AM)ndc85430 Wrote: Honestly, I just deploy all my personal apps on Heroku. Their docs are pretty good and things are pretty easy.
can you describe the scope of how it operates? is it a module or an executable? can you show a very minimal web server using it? just a simple single page hardcoded in the Python code, like a "hello world" page that can be modified from there? i want to deploy a simple "your IP address is ..." page that i can record logs from. the logs would be recording which VPN the connection cam through.
(Jan-03-2022, 12:09 PM)snippsat Wrote: Of course not a production environment solution.
i just need to get source/remote IP address and output it. then i want to add some other info. only i will be accessing it, so i'll use secret port number 24179.
i also want to make a web server that stores all URLs in a big lookup table indexed by a long random number. when the object has been stored, it is added to that database using a new random number. web web pages in HTML are served, all URL references are translated to the random number in URL form. the client is making requests by number and these get translated by the server going in and out. the client only sees the random numbers and the files have normal URLs. thus the site structure is hidden from clients/users.
Tradition is peer pressure from dead people

What do you call someone who speaks three languages? Trilingual. Two languages? Bilingual. One language? American.
Reply


Messages In This Thread
an httpd server - by Skaperen - Jan-02-2022, 07:14 PM
RE: an httpd server - by ndc85430 - Jan-03-2022, 05:32 AM
RE: an httpd server - by Gribouillis - Jan-03-2022, 08:15 AM
RE: an httpd server - by ndc85430 - Jan-03-2022, 09:15 AM
RE: an httpd server - by snippsat - Jan-03-2022, 12:09 PM
RE: an httpd server - by Skaperen - Jan-05-2022, 12:09 AM
RE: an httpd server - by Skaperen - Jan-06-2022, 01:39 AM
RE: an httpd server - by ndc85430 - Jan-06-2022, 06:46 AM
RE: an httpd server - by Skaperen - Jan-06-2022, 07:53 PM

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020