Prosty serwer HTTP w Pythonie z przekierowaniem 308

Prosty serwer HTTP w Pythonie z przekierowaniem 308
W dzisiejszym wpisie pokażę wam jak uruchomić prosty web serwer, który będzie dostępny wewnątrz sieci i po wpisaniu jego adresu użytkownik zostanie przekierowany na adres zewnętrzny. Ja zrobiłem swój web serwer na Debianie i jest napisany w pythonie. Posłużyłem się frameworkiem Flask. Serwer będzie wykonywał przekierowanie na podany adres zewnętrzny. Na początek musimy zainstalować Python ( jeśli…

Simple HTTP server with 208 redirect in Python

Simple HTTP server with 208 redirect in Python
In today's post, I will show you how to start a simple web server that will be accessible within your network, and when users enter its address, they will be redirected to an external address. I created my web server on Debian, and it's written in Python. I used the Flask framework. The server will perform a…