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
Related
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.
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
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
I finished my project in the development server and now I worked it using Apache in the localhost. The project worked good. Now, I got an apache sever. can you please clarify some of my doubts;
1. Need to upload the Django installation files, mod_wsgi and any other files to the server?
2. Can I maintain the same folder directory as I did with the local host Apache?
3. what is httpd.conf, and where can I find it in my server?
I am using Linux ubuntu OS, Python 2.7, Django 1.6 and my server got its first level of directories like:
.cpanel, .htpasswords, cpmove.psql, etc, logs, mail, public_ftp, ssl, tmp, www, access-logs and some more .conf and other type files.
Among above directories, I can't open the www folder.
Please suggest any tutorial or some other way to resolve things. It will be very helpful for me and my team.
Thanks in advance
Maybe anybody know easy and work solution for deploying django site on Windows machine with Nginx reverse proxy server? I can't find WSGI module, that have support in Windows.