Is it a good idea to run Apache on Windows server 2012? - django

I run AmazonWebService with: Windows Server 2012 + IIS + Python3 website and want to add django. I tried to find some tutorial how to do it, but unfortunately, found nothing.
Is it a good idea to install Apache on Windows Server 2012 and then try to deploy django on it? How difficult is it?
Thanks

Related

Apache webserver with app using GDAL not working on windows

I am trying to deploy a django project using POSTGIS on my windows 11 PC with Apache 2.4.
The web page is working as long as I am not using 'django.contrib.gis'.
When I add 'django.contrib.gis' to my INSTALLED_APPS and define GDAL_LIBRARY_PATH to point to my gdal installation things stop working.
Specifically, trying to access the web app ends up in infinitely loading the page. Weird enough there are no errors in the apache error log. The apache service starts fine.
As far as I can see gdal install is correct as the app is working fine on the same machine with the same python environment with the django development server.
Actually, I have the same issue with other python libraries that need some dlls, like opencv.
So my guess is that it is a security related issue, but I do not find any clues on how to solve it.
Any ideas?
I tried also to grant rights to the directory where gdal is install in apache conf. But no luck.

Can not install "wfastcgi 2.1 gateway for iis and python 2.7.9" in IIS

I have a error installing "wfastcgi 2.1 gateway for iis and python 2.7.9" in IIS, to deploy an app django in windows 10.
I can not download the installer (see the image).
enter image description here
Please, have someone the installer?
Thanks in advance!
That looks like Web Platform Installer. That feed is not maintained anymore, and it points to files on CodePlex which no longer exist now that CodePlex is closed/archived.
We recommend you install from https://pypi.org/project/wfastcgi/ instead, using pip.

Django Deployment on windows

I am learning python and Django now. I have a question related to deploying Django project on windows 7. I know how to start the test server in django and see the project. But I have to do start the server manually every time I restart the PC. Also I have to keep the terminal window open.
Consider the below scenario for php projects.
We copy and paste the php files in htdocs or www folder in apache server and access them using the respected url. Web Server is running in the background. We dont have to start the server on windows restart.
Is something similar possible with Django on apache or any other server?
If yes, how should I go about it?
Thanks in advance.
For anyone stumbling around for an answer to a similar problem with deploying Django on a Windows server, here is a guide
Deploy Django with Apache and mod_wsgi on Windows Server 2019
To have Apache24 service automatically run on startup, make the changes in Windows Services dialog.

Django 1.8 run on windows server 2008

I have a question about run django project in production on my windows server 2008. I tried to run it with apache but I can't get the mod_wsgi.so file for my apache server.
Is is possible to do it with cherrypy or can i get some advice for an other solution or get the correct mod_wsgi.so file to run my apache server with this module.
Thanks in advance

Configuration of modwsgi with wamp server

I would like to deploy a Django application in a production environment (Windows Server 2012 R2).
I am unable to configure modwsgi for a WAMP server.
There are a few posts for this topic, however it seems that all are old and not applicable now. All the posts say that I should have the .so file of modwsgi, but I am unable to find this file.
I have downloaded the source code for modwsgi and also .whl file, but don't know how to configure.
System configuration is as follows:
Operating System: Windows Server 2012 R2 (64 bit)
WAMP Server 2.5
Python 3.4
Django 1.7
Have you looked at the official mod_wsgi download area at all?
https://github.com/GrahamDumpleton/mod_wsgi/releases
All the release notes specifically say to read:
https://github.com/GrahamDumpleton/mod_wsgi/tree/master/win32