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
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
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
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
&
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
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
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
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
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
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
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
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
*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[
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
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
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
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
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
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 (
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
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
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
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
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
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
> >
>
&
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
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
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
> 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
--- 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
30 matches
Mail list logo