On 16 April 2010 16:05, Owen Nelson wrote:
> Opps! Since it's an alias, you need to tell apache what server location
> to map.
> For example, if you want http://localhost/ to map to your application:
> WSGIScriptAlias / /path/to/my/wsgi/my.wsgi
> Or if you wanted http://localhost/myapp to map inst
Opps! Since it's an alias, you need to tell apache what server location
to map.
For example, if you want http://localhost/ to map to your application:
WSGIScriptAlias / /path/to/my/wsgi/my.wsgi
Or if you wanted http://localhost/myapp to map instead
WSGIScriptAlias /myapp /path/to/my/wsgi/my.wsgi
-
The WSGIScriptAlias directive should point directly to the wsgi script
-- in your case the line should read:
WSGIScriptAlias /home/carlo /home/carlo/mysite/django.wsgi
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, s
On 16 April 2010 14:55, Karen Tracey wrote:
> mod_python development is moribund, mod_wsgi has an active helpful
> maintainer. It's reasonably straightforward to configure mod_wsgi to get
> control only for a certain portion of the URL space, getting that config
> correct for mod_python/Django is
On Fri, Apr 16, 2010 at 10:46 AM, Carlo Trimarchi wrote:
> On 16 April 2010 14:42, Karen Tracey wrote:
> > Why are you trying to use mod_python here instead of mod_wsgi? mod_wsgi
> is a
> > lot easier to configure properly for this type of setup.
>
> Not sure. I thought it was the preferred way,
On Fri, Apr 16, 2010 at 3:46 PM, Carlo Trimarchi wrote:
> On 16 April 2010 14:42, Karen Tracey wrote:
>> Why are you trying to use mod_python here instead of mod_wsgi? mod_wsgi is a
>> lot easier to configure properly for this type of setup.
>
> Not sure. I thought it was the preferred way, byt m
On 16 April 2010 14:42, Karen Tracey wrote:
> Why are you trying to use mod_python here instead of mod_wsgi? mod_wsgi is a
> lot easier to configure properly for this type of setup.
Not sure. I thought it was the preferred way, byt maybe I'm wrong. Is
there any advantage in using one instead of t
Why are you trying to use mod_python here instead of mod_wsgi? mod_wsgi is a
lot easier to configure properly for this type of setup.
Karen
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@google
Hi.
I share a server with other people where we usually develop php
applications. I like to program in Python and I wanted to start usind
Django so today I tried to install and configure it. It seems I
succeded, because if I put this in the httpd.conf file it display the
"Django is working" page.
On 3/11/06, Gacha <[EMAIL PROTECTED]> wrote:
>
> There is all my virtualhost config:
>
>
> DocumentRoot /home/gacha
> ServerName gacha.id.lv
> ServerAlias www.gacha.id.lv
> ServerAdmin [EMAIL PROTECTED]
>
>
> AllowOverride All
> Options None
>
There is all my virtualhost config:
DocumentRoot /home/gacha
ServerName gacha.id.lv
ServerAlias www.gacha.id.lv
ServerAdmin [EMAIL PROTECTED]
AllowOverride All
Options None
Order allow,deny
Allow from all
If I write:
SetHandler mod_python
PythonHandler django.core.handlers.modpython
PythonPath "['/home/gacha/poll'] + sys.path"
SetEnv DJANGO_SETTINGS_MODULE myproject.settings
PythonDebug On
then I get error: EnvironmentError: Could not import
DJANGO_SETTINGS_MODULE
But when I change:
PythonPath
2005/12/2, frank h. <[EMAIL PROTECTED]>:
>
> hej paolo,
> I am on OS X as well, and I had problems with Apache and mod_python.
Hi frank, I'm not running OS X! I looked at django's documentation and
at http://cavedoni.com/2005/django-osx, as you suggested, but even
trying a bunch of different "var
2005/12/1, Bryan Murdock <[EMAIL PROTECTED]>:
> Do you have mod_php running too? See this:
>
> http://www.modpython.org/pipermail/mod_python/2004-January/014886.html
No mod_php installed! I already checked that (and this faq gives an
explanation about mod_php and mod_python incompatibilities in
2005/12/1, Afternoon <[EMAIL PROTECTED]>:
> Have you tried adding PythonDebug On to your httpd.conf? Also, I'm
> using SetHandler python-program, no idea if that makes any difference
> though.
Yes, PythonDebug is On, and to increase verbosity LogLevel is set to
value debug.
For mod_python 3.1, i
hej paolo,
I am on OS X as well, and I had problems with Apache and mod_python.
Turns out that my python (version 2.4.1 from fink) was the problem.
the following worked for me:
stop any apache that is currently running (fink or buildin)
install python 2.4.1 framework build from http://undefined
On 12/1/05, Paolo <[EMAIL PROTECTED]> wrote:
>
> I'm trying to setup Django with Apache and mod_python.
>
> I have followed the procedure described in the document "how to use
> Django with mod_python", but I can't obtain a working basic (single
This make me think that
apache/mod_python/python installation is fine and that the problem is
in httpd.conf or in my project.
The fact that the child process is dying suggests something fairly
low-level, but if you have another MP handler that works OK that's a
bit strange. I always had e
2005/12/1, Afternoon <[EMAIL PROTECTED]>:
>
> What platform are you building on? Where is your Python? I had to
> define PYTHONHOME = /usr/ in envopts for Apache because I'm running
> OS X and my Python is stock but my Apache comes from the Fink project.
>
> Is there any way that Apache might not
On 1 Dec 2005, at 15:24, Paolo wrote:
Hi Afternoon, not only I have restarted Apache after building
mod_python (3.1.4), I also have updated it from version 2.0.54 to
2.0.55, but nothing has changed.
Hang on, it's coming back to me now (sorry, it was a long night).
What platform are you buil
2005/12/1, Afternoon <[EMAIL PROTECTED]>:
>
>
> On 1 Dec 2005, at 14:29, Paolo wrote:
>
> > [Thu Dec 01 11:07:13 2005] [notice] child pid 15299 exit signal
> > Segmentation fault (11)
>
> Ah, I spent a frustrating few hours wrestling with this error (or one
> like it) last night. Are you using mod
On 1 Dec 2005, at 14:29, Paolo wrote:
[Thu Dec 01 11:07:13 2005] [notice] child pid 15299 exit signal
Segmentation fault (11)
Ah, I spent a frustrating few hours wrestling with this error (or one
like it) last night. Are you using mod_python 3? After building
mod_python have you fully re
I'm trying to setup Django with Apache and mod_python.
I have followed the procedure described in the document "how to use
Django with mod_python", but I can't obtain a working basic (single
Django installation on the same Apache) environment, because Apache
unexpectedly cra
23 matches
Mail list logo