Re: [python-win32] Recommended web server implementation to actively run multiple flask web apps on a windows machine
I have a small Flask app running on IIS with wfastcgi https://pypi.org/project/wfastcgi/ PyPI project seems to be dormant but the package works :-) Cheers, Waldemar On Fri, Sep 8, 2023 at 1:50 AM Jacob Kruger wrote: > Thanks. > > > More to do with that, at times, I want to run forms of apache, for things > like the adminer database management, single page .php file, while sort of > running flask alongside, and, yes, generally then just run flask on a > different port, but, for example, when put flask in production, more or > less run it under nginx on linux servers, using nginx .conf to route > requests to .sock, or via gunicorn services. > > > So, do agree that think must try out nginx running here under windows a > bit more, or play around with wsgi mod under apache properly. > > > Thanks > > Jacob Kruger > Skype: BlindZA > "...resistance is futile!...acceptance is versatile..." > On 2023/09/08 09:37, Mriswithe wrote: > > Not sure if this is the sort of thing you are looking for, but if what you > want is a simple http server, there is an http server in Python stdlib ( > https://docs.python.org/3/library/http.server.html ) for simple non-prod > web serving purposes, but flask will run itself in the same non-prod > capacity.for development purposes. > > On Fri, Sep 8, 2023, 2:10 AM Jacob Kruger wrote: > >> Vernon, this is really just for dev testing, and/or for testing a bit >> across machines, etc. - would also never consider running an actual >> production web server on windows - last time did that was a very long time >> ago, when classic ASP, and ASP.net, running against MSSQL server were my >> focus areas. >> >> Jacob Kruger >> Skype: BlindZA >> "...resistance is futile!...acceptance is versatile..." >> On 2023/09/07 16:04, Vernon D. Cole wrote: >> >> I highly recommend nginx. >> >> I also highly recommend NOT running a web server on Windows. >> >> >> On Wed, Sep 6, 2023 at 1:14 AM Jacob Kruger wrote: >> >>> Hi there >>> >>> >>> My primary development focus at the moment is web applications, using >>> the flask web-framework, and, while, in development, I can just run them >>> on different ports, etc. on my dev machine - windows 11 home 64 bit - in >>> the past I worked with laragon or WAMPP when working with PHP >>> development. >>> >>> >>> Now, I know in theory it's possible to map something like virtual >>> directorys/paths via apache, which is what WAMP is working with, but, >>> was just wondering what is the recommended web server package to work >>> with in this context? >>> >>> >>> Laragon? nGinX? WAMP? XAMPP? >>> >>> >>> TIA >>> >>> -- >>> >>> Jacob Kruger >>> Skype: BlindZA >>> "...resistance is futile!...acceptance is versatile..." >>> ___ >>> python-win32 mailing list >>> python-win32@python.org >>> https://mail.python.org/mailman/listinfo/python-win32 >>> >> ___ >> python-win32 mailing list >> python-win32@python.org >> https://mail.python.org/mailman/listinfo/python-win32 >> > ___ > python-win32 mailing list > python-win32@python.org > https://mail.python.org/mailman/listinfo/python-win32 > ___ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32
Re: [python-win32] Recommended web server implementation to actively run multiple flask web apps on a windows machine
Thanks. More to do with that, at times, I want to run forms of apache, for things like the adminer database management, single page .php file, while sort of running flask alongside, and, yes, generally then just run flask on a different port, but, for example, when put flask in production, more or less run it under nginx on linux servers, using nginx .conf to route requests to .sock, or via gunicorn services. So, do agree that think must try out nginx running here under windows a bit more, or play around with wsgi mod under apache properly. Thanks Jacob Kruger Skype: BlindZA "...resistance is futile!...acceptance is versatile..." On 2023/09/08 09:37, Mriswithe wrote: Not sure if this is the sort of thing you are looking for, but if what you want is a simple http server, there is an http server in Python stdlib (https://docs.python.org/3/library/http.server.html ) for simple non-prod web serving purposes, but flask will run itself in the same non-prod capacity.for development purposes. On Fri, Sep 8, 2023, 2:10 AM Jacob Kruger wrote: Vernon, this is really just for dev testing, and/or for testing a bit across machines, etc. - would also never consider running an actual production web server on windows - last time did that was a very long time ago, when classic ASP, and ASP.net, running against MSSQL server were my focus areas. Jacob Kruger Skype: BlindZA "...resistance is futile!...acceptance is versatile..." On 2023/09/07 16:04, Vernon D. Cole wrote: I highly recommend nginx. I also highly recommend NOT running a web server on Windows. On Wed, Sep 6, 2023 at 1:14 AM Jacob Kruger wrote: Hi there My primary development focus at the moment is web applications, using the flask web-framework, and, while, in development, I can just run them on different ports, etc. on my dev machine - windows 11 home 64 bit - in the past I worked with laragon or WAMPP when working with PHP development. Now, I know in theory it's possible to map something like virtual directorys/paths via apache, which is what WAMP is working with, but, was just wondering what is the recommended web server package to work with in this context? Laragon? nGinX? WAMP? XAMPP? TIA -- Jacob Kruger Skype: BlindZA "...resistance is futile!...acceptance is versatile..." ___ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32 ___ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32 ___ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32
Re: [python-win32] Recommended web server implementation to actively run multiple flask web apps on a windows machine
Vernon, this is really just for dev testing, and/or for testing a bit across machines, etc. - would also never consider running an actual production web server on windows - last time did that was a very long time ago, when classic ASP, and ASP.net, running against MSSQL server were my focus areas. Jacob Kruger Skype: BlindZA "...resistance is futile!...acceptance is versatile..." On 2023/09/07 16:04, Vernon D. Cole wrote: I highly recommend nginx. I also highly recommend NOT running a web server on Windows. On Wed, Sep 6, 2023 at 1:14 AM Jacob Kruger wrote: Hi there My primary development focus at the moment is web applications, using the flask web-framework, and, while, in development, I can just run them on different ports, etc. on my dev machine - windows 11 home 64 bit - in the past I worked with laragon or WAMPP when working with PHP development. Now, I know in theory it's possible to map something like virtual directorys/paths via apache, which is what WAMP is working with, but, was just wondering what is the recommended web server package to work with in this context? Laragon? nGinX? WAMP? XAMPP? TIA -- Jacob Kruger Skype: BlindZA "...resistance is futile!...acceptance is versatile..." ___ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32 ___ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32
Re: [python-win32] Recommended web server implementation to actively run multiple flask web apps on a windows machine
I highly recommend nginx. I also highly recommend NOT running a web server on Windows. On Wed, Sep 6, 2023 at 1:14 AM Jacob Kruger wrote: > Hi there > > > My primary development focus at the moment is web applications, using > the flask web-framework, and, while, in development, I can just run them > on different ports, etc. on my dev machine - windows 11 home 64 bit - in > the past I worked with laragon or WAMPP when working with PHP development. > > > Now, I know in theory it's possible to map something like virtual > directorys/paths via apache, which is what WAMP is working with, but, > was just wondering what is the recommended web server package to work > with in this context? > > > Laragon? nGinX? WAMP? XAMPP? > > > TIA > > -- > > Jacob Kruger > Skype: BlindZA > "...resistance is futile!...acceptance is versatile..." > ___ > python-win32 mailing list > python-win32@python.org > https://mail.python.org/mailman/listinfo/python-win32 > ___ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32
[python-win32] Recommended web server implementation to actively run multiple flask web apps on a windows machine
Hi there My primary development focus at the moment is web applications, using the flask web-framework, and, while, in development, I can just run them on different ports, etc. on my dev machine - windows 11 home 64 bit - in the past I worked with laragon or WAMPP when working with PHP development. Now, I know in theory it's possible to map something like virtual directorys/paths via apache, which is what WAMP is working with, but, was just wondering what is the recommended web server package to work with in this context? Laragon? nGinX? WAMP? XAMPP? TIA -- Jacob Kruger Skype: BlindZA "...resistance is futile!...acceptance is versatile..." ___ python-win32 mailing list python-win32@python.org https://mail.python.org/mailman/listinfo/python-win32