Good day. I am currently trying to host my Django website locally using XAMPP Apache. I have followed several tutorials but one of those works. I was wondering if you could tell me what are the steps I have missed or did wrong. Here is the specs of the installed packages on my Django dev site:
- Python = 2.7.12, 32-bit
- Apache = 2.4, 32-bit
- Visual C++ Version 9
- OS: Windows 7 64-bit
Here is the procedure I have followed:
Download mod_wsgi from https://code.google.com/archive/p/modwsgi/downloads. I have tried [mod_wsgi-py26-vc9.so, mod_wsgi-py27-vc9.so, mod_wsgi-win32-ap22py27-3.3.so and mod] **but none seems to work.
Rename the mod_wsgi file to mod_wsgi.so and save it to C:/xampp/apache/modules
Run xampp and edit apache httpd.conf file by adding
LoadModule wsgi_module modules/mod_wsgi.so
I have also tried
LoadModule mod_wsgi modules/mod_wsgi.so
But still have same result. The XAMPP does not display any errors but does not run Apache even after restarting XAMPP and the machine itself. I have also tried to run the app in administrator privileges but it is still not working. Other XAMPP modules are working except Apache.