Deploy on windows IIS

42 views
Skip to first unread message

Majid Hojati

unread,
May 11, 2018, 5:59:48 PM5/11/18
to Django users
Hi,
I have faced a problem while deploying django on windows server 2008 with IIS
I followed this 

and it returns unexpectedly exited error. I am using python 3.6 and the development pythons server runs with no problem but I can not configure factcgi,
What options do I have? I can not even find the problem with this error. 

Matthew Pava

unread,
May 11, 2018, 6:25:45 PM5/11/18
to django...@googlegroups.com

I know it doesn’t directly answer your question, but I have Django running on Windows Server 2012.  After wrestling with IIS for just a bit, I decided to just use Apache instead.

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.
To post to this group, send email to django...@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/81d75081-c368-498d-9980-3b0e0d0feefe%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Majid Hojati

unread,
May 11, 2018, 6:33:03 PM5/11/18
to Django users
Is there any good tuturial which I can use Apache? I am also using Geoserver which runs on tomcat port 8080 I hope it does not make any problems


On Friday, May 11, 2018 at 10:55:45 PM UTC+4:30, Matthew Pava wrote:

I know it doesn’t directly answer your question, but I have Django running on Windows Server 2012.  After wrestling with IIS for just a bit, I decided to just use Apache instead.

 

From: django...@googlegroups.com [mailto:django...@googlegroups.com] On Behalf Of Majid Hojati
Sent: Friday, May 11, 2018 12:52 PM
To: Django users
Subject: Deploy on windows IIS

 

Hi,

I have faced a problem while deploying django on windows server 2008 with IIS

I followed this 

 

and it returns unexpectedly exited error. I am using python 3.6 and the development pythons server runs with no problem but I can not configure factcgi,

What options do I have? I can not even find the problem with this error. 

--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users...@googlegroups.com.

To post to this group, send email to djang...@googlegroups.com.

Matthew Pava

unread,
May 11, 2018, 6:37:19 PM5/11/18
to django...@googlegroups.com

I just go straight to the source or Google around.

https://httpd.apache.org/docs/2.4/platform/windows.html

Apache has different flavors for Windows.  We’re either using ApacheHaus or Apache Lounge.

To post to this group, send email to django...@googlegroups.com.

Majid Hojati

unread,
May 12, 2018, 4:32:11 PM5/12/18
to Django users
Hi,
I faced a question, Do you unistalled iis and installed Apache?Also If I want to use Geoserver which runs on TomCat How can I use it beside django?

Majid Hojati

unread,
May 12, 2018, 5:23:53 PM5/12/18
to Django users
Which Mode_wsgi you used for python 3.6 x86 and apache2.4 Haus x64 for windows ?

Matthew Pava

unread,
May 14, 2018, 1:34:08 PM5/14/18
to django...@googlegroups.com

Yes, getting the right combination of mod_wsgi in Windows can be tricky.

This URL is most helpful with that:

https://www.lfd.uci.edu/~gohlke/pythonlibs/#mod_wsgi

Be sure to get the Apache with the correct Visual C runtime and the right number of bits.

 

No, I don’t uninstall IIS because I’m using it for other server services.  I have one IP address dedicated to the Apache server, and another for IIS.

I don’t use Geoserver or TomCat, so I don’t know much about their configuration.  I’m sure that you can get them to work alongside Apache, though.

To post to this group, send email to django...@googlegroups.com.

Reply all
Reply to author
Forward
0 new messages