Geodjango deplyoment with Apache on Windows Server

2020-01-21 Thread 'nicola frosi' via Django users
I would like to know if anyone has ever managed to publish web pages created with geodjango using the OSGEO, mod_wsgi, Python36 libraries and drivers in PyCharm with APACHE. I would be interested in starting a discussion on which compilers in windows is better to use, or if to compile the Pyth

apache on windows

2019-10-21 Thread Luca Bertolotti
Hello I need to run my project in windows with apache. I have installed apache and it's running because when i browse to 127.0.0.1:5000 i get "It works!", i change the default port to 5000 because on windows you have IIS working on port 80 this are my file I write only what i have change from

Deploy Django with Apache on Windows

2018-11-13 Thread ANi
Hi, I come across a problem when I want to deploy Django using Apache on Windows. I separated some configurations into production.py and local.py, like database configurations. And each files will read the actual setting data from a another file config.json. I try to set the environment

Re: how to run django under apache on windows 10

2016-11-18 Thread Daniel Roseman
On Friday, 18 November 2016 13:58:41 UTC, bob gailer wrote: > > Goal: run django under apache on windows 10. I have tried many things, > none of which have worked. Errror messages up to wazoo. Google has not > been my friend: I found a lot of articles Everything I read is either &

how to run django under apache on windows 10

2016-11-18 Thread bob gailer
Goal: run django under apache on windows 10. I have tried many things, none of which have worked. Errror messages up to wazoo. Google has not been my friend: I found a lot of articles Everything I read is either oriented to linux and/or assumes knowledge I don't have. Example: to

Using Anaconda with Apache on Windows?

2015-04-28 Thread Derek
I have previously created an installation for my Django project to run on Linux, using mod_wsgi and Apache. For these deployments, there is a section in the django.wsgi script which initiates the virtualenv: activate_env=os.path.expanduser("/path/to/venv/bin/activate_this.py") execfile(activate_e

Re: Apache on Windows & multiple Django apps

2014-09-05 Thread Collin Anderson
You could also ask for tips on the modwsgi list which may have a good solution. -- 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+unsubscr...@googleg

Re: Apache on Windows & multiple Django apps

2014-09-05 Thread Tom Evans
On Fri, Sep 5, 2014 at 3:28 PM, DJ-Tom wrote: > Well that seems much too complicated just for running variations of the > same application twice. There all kinds of stuff running on that server and > adding a proxy to it would be a nightmare to check if everything still > works. > > What a pit

Re: Apache on Windows & multiple Django apps

2014-09-05 Thread Robert Grant
I just run it on Windows with foreman start (the Heroku toolbelt) and give it Waitress as a server. On Friday, 5 September 2014 16:28:03 UTC+2, DJ-Tom wrote: > > Well that seems much too complicated just for running variations of > the same application twice. There all kinds of stuff running

Re: Apache on Windows & multiple Django apps

2014-09-05 Thread DJ-Tom
Well that seems much too complicated just for running variations of the same application twice. There all kinds of stuff running on that server and adding a proxy to it would be a nightmare to check if everything still works. What a pity, Django is such a powerful tool, but lacks easy deplo

Re: Apache on Windows & multiple Django apps

2014-09-03 Thread Tom Evans
On Tue, Sep 2, 2014 at 3:28 PM, DJ-Tom wrote: > > > Am Dienstag, 2. September 2014 13:51:28 UTC+2 schrieb Tom Evans: > >> >> The most obvious and simple solution is to not use Windows. > > > lol - ever heard of the "box of pandora"? :-) > > My knowledge of Linux boxes is very close to zero - so se

Re: Apache on Windows & multiple Django apps

2014-09-03 Thread DJ-Tom
Hi Collin, unfortunately, changing this makes no difference at all. Thomas Am Dienstag, 2. September 2014 17:45:37 UTC+2 schrieb Collin Anderson: > > setdefault is what's causing your trouble. Change it to an explicit: > > os.environ['DJANGO_SETTINGS_MODULE'] = 'app.settings' > -- You received

Re: Apache on Windows & multiple Django apps

2014-09-02 Thread DJ-Tom
*facepalm*... honestly, I did not spot the difference, i believed the line I had was right!!! thanks anyways, I will try that tomorrow. Am Dienstag, 2. September 2014 17:45:37 UTC+2 schrieb Collin Anderson: > > setdefault is what's causing your trouble. Change it to an explicit: > > os.environ[

Re: Apache on Windows & multiple Django apps

2014-09-02 Thread Collin Anderson
setdefault is what's causing your trouble. Change it to an explicit: os.environ['DJANGO_SETTINGS_MODULE'] = 'app.settings' -- 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

Re: Apache on Windows & multiple Django apps

2014-09-02 Thread DJ-Tom
Am Dienstag, 2. September 2014 13:51:28 UTC+2 schrieb Tom Evans: > The most obvious and simple solution is to not use Windows. > lol - ever heard of the "box of pandora"? :-) My knowledge of Linux boxes is very close to zero - so setting up a server that is not based on Windows would be the

Re: Apache on Windows & multiple Django apps

2014-09-02 Thread Robert Grant
Waitress runs fine on Windows; just install with pip. On Tuesday, 2 September 2014 13:51:28 UTC+2, Tom Evans wrote: > > On Tue, Sep 2, 2014 at 12:08 PM, DJ-Tom > > wrote: > > Most likely the docs refer to this section of wsgi.py: > > > >> # We defer to a DJANGO_SETTINGS_MODULE already in the e

Re: Apache on Windows & multiple Django apps

2014-09-02 Thread Tom Evans
On Tue, Sep 2, 2014 at 12:08 PM, DJ-Tom wrote: > Most likely the docs refer to this section of wsgi.py: > >> # We defer to a DJANGO_SETTINGS_MODULE already in the environment. This >> breaks >> # if running multiple sites in the same mod_wsgi process. To fix this, use >> # mod_wsgi daemon mode wit

Re: Apache on Windows & multiple Django apps

2014-09-02 Thread DJ-Tom
Most likely the docs refer to this section of wsgi.py: # We defer to a DJANGO_SETTINGS_MODULE already in the environment. This > breaks > # if running multiple sites in the same mod_wsgi process. To fix this, use > # mod_wsgi daemon mode with each site in its own daemon process, or use > # os.env

Re: Apache on Windows & multiple Django apps

2014-09-01 Thread Collin Anderson
See the docs on deploying with mod_wsgi: https://docs.djangoproject.com/en/dev/howto/deployment/wsgi/modwsgi/ If multiple Django sites are run in a single mod_wsgi process, all of them will use the settings of whichever one happens to run first. This can be solved with a minor edit to wsgi.py (

Apache on Windows & multiple Django apps

2014-09-01 Thread DJ-Tom
Hi, I'm currently trying to get the same Django app running twice under different URLs on the same server. App 1 ran last year under https://www.sample.com/2013/app and should stay there for reference purposes. App 2 should run under https://www.sample.com/2014/app and also should use a diffe

Re: Using SSL and Apache on Windows together

2014-02-10 Thread Michael Manfre
There isn't anything special about setting up Apache with SSL for use with Django. There are plenty of easy to finds tutorials about configuring Apache [1]. I gave a talk about running a Django project on Windows using Apache [2]. I ran in to performance issues due to the GIL and Apac

Re: Using SSL and Apache on Windows together

2014-02-09 Thread Arnold Krille
On Sun, 9 Feb 2014 06:48:10 -0800 François Schiettecatte wrote: > SSL is not something that is handled by Django but is further up the > stack, you should check how to implement SSL with your Windows Server. Actually its not that high (or low) on the stack. You don't configure SSL in the OS (wind

Re: Using SSL and Apache on Windows together

2014-02-09 Thread François Schiettecatte
Jonathan SSL is not something that is handled by Django but is further up the stack, you should check how to implement SSL with your Windows Server. François On Feb 9, 2014, at 6:43 AM, Robert Jonathan Šimon wrote: > I was trying to find something on the web, but i didnt found anything. I wan

Using SSL and Apache on Windows together

2014-02-09 Thread Robert Jonathan Šimon
I was trying to find something on the web, but i didnt found anything. I want to use HTTPS with my Django project on Windows server. I have installed Django 1.6 a Python 3.3 64Bit. How can i configure SSL connection, and are there any problems with it? Thank for all the help -- You received th

Re: django apache on windows setting problem

2009-05-07 Thread zayatzz
hon > >     PythonOption django.root "C:/depot/projects/web/" > >     SetEnv DJANGO_SETTINGS_MODULE web.settings > >     PythonPath "['C:/depot/projects/web/'] + sys.path" > >     PythonDebug On > > > > >   > >     SetHandler None > >   > > >   > >     SetHandler None > >   > &

Re: django apache on windows setting problem

2009-05-07 Thread online
ETTINGS_MODULE web.settings >     PythonPath "['C:/depot/projects/web/'] + sys.path" >     PythonDebug On > > >   >     SetHandler None >   > >   >     SetHandler None >   > > > - > or you can see from this link: > > http://stackoverflow.co

django apache on windows setting problem

2009-05-07 Thread online
ath" PythonDebug On SetHandler None SetHandler None - or you can see from this link: http://stackoverflow.com/questions/823458/django-apache-on-windows-setting-problem Any help is much ap

Re: Django WITHOUT apache on windows.

2008-03-04 Thread fulltooalok
Hi lbolognini, thanks for the link. I was able to configure Django on W2k3 using DjangoCerise (and WITHOUT using apache). Also I m using IIS to serve media. Now since DjangoCerise configuartion uses separate port for separate projects my urls look like, http://192.168.0.17:8088/djprojone/ http://1

Re: serving static files with apache on windows with mod_python

2007-12-07 Thread Empty
> to the apache httpd.conf file > but when i turn off debug in the settings file as well as turning > PythonDebug Off in the httpd.conf, > my media files (css,images,...) disappear. > I have also done > > SetHandler None > > as well as > > SetHandler None > > I have read that my media files sh

Fwd: serving static files with apache on windows with mod_python

2007-12-07 Thread bayo
--- Forwarded message --- From: bayo <[EMAIL PROTECTED]> To: django-users@googlegroups.com Cc: Subject: serving static files with apache on windows with mod_python Date: Fri, 07 Dec 2007 14:42:02 +0100 Hi All, I have been trying to setup django on windowsxp with mod_python. I ha