Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.
  • Root
  • » Django
  • » In Apache Configuration, What Replaces mod_python [RSS Feed]

#1 Jan. 24, 2011 15:10:24

o.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

In Apache Configuration, What Replaces mod_python


I'm trying to reconfigure to mod_wsgi and am wisely starting with a
workstation.

What changes in this line which is in full context below:
PythonHandler django.core.handlers.modpython

modpython changes, but to what does it change?

Listen 8002
<VirtualHost _default_:8002>
WSGIScriptAlias / /home/amr/django/django.wsgi
Alias /media /home/amr/django/amr/media
<Location />
SetHandler python-program
PythonHandler django.core.handlers.modpython
SetEnv DJANGO_SETTINGS_MODULE settings
SetEnv PYTHON_EGG_CACHE /tmp/.python_eggs
PythonOption django.root /home/amr/django/amr
PythonPath " + sys.path"
PythonDebug On
</Location>

--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

#2 Jan. 24, 2011 15:33:12

Daniel R.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

In Apache Configuration, What Replaces mod_python


On Monday, January 24, 2011 3:10:17 PM UTC, octopusgrabbus wrote:
>
> I'm trying to reconfigure to mod_wsgi and am wisely starting with a
> workstation.
>
> What changes in this line which is in full context below:
> PythonHandler django.core.handlers.modpython
>
> modpython changes, but to what does it change?
>
> Listen 8002
> <VirtualHost _default_:8002>
> WSGIScriptAlias / /home/amr/django/django.wsgi
> Alias /media /home/amr/django/amr/media
> <Location />
> SetHandler python-program
> PythonHandler django.core.handlers.modpython
> SetEnv DJANGO_SETTINGS_MODULE settings
> SetEnv PYTHON_EGG_CACHE /tmp/.python_eggs
> PythonOption django.root /home/amr/django/amr
> PythonPath " + sys.path"
> PythonDebug On
> </Location>
>

It doesn't change to anything. That whole <Location> section is now
irrelevant, as the documentation clearly shows.
--
DR.


--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

#3 Jan. 24, 2011 15:35:18

Patrick M.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

In Apache Configuration, What Replaces mod_python


On Mon, Jan 24, 2011 at 10:10 AM, octopusgrabbus
<old_road_f...@verizon.net>wrote:

> I'm trying to reconfigure to mod_wsgi and am wisely starting with a
> workstation.
>
>
If I'm understanding you correctly, you're trying to migrate from using
apache/mod_python to serve your Django project to apache/mod_wsgi, right?
If this is the case, is there something special about your setup such that
the instructions athttp://docs.djangoproject.com/en/1.2/howto/deployment/modwsgi/don't apply?

--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

  • Root
  • » Django
  • » In Apache Configuration, What Replaces mod_python [RSS Feed]

Board footer

Moderator control

Enjoy the 17th of August
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support