Opened 19 years ago

Closed 19 years ago

Last modified 17 years ago

#82 closed defect (fixed)

Config snippet for mod_python users doing tutorial 3

Reported by: Manuzhai <mail@…> Owned by: Adrian Holovaty
Component: Core (Other) Version:
Severity: trivial Keywords:
Cc: Triage Stage: Ready for checkin
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

Would be nice, if we could still continue the mod_python path... I don't think the httpd.conf for this site is in SVN either, right?

Change History (2)

comment:1 by Manuzhai <mail@…>, 19 years ago

Of course, I could just figure it out by myself. For any others having the same problem:

<Location "/polls">
    SetHandler python-program
    PythonHandler django.core.handlers.modpython
    PythonPath "['/path/to/project'] + sys.path"
    PythonDebug On
    SetEnv DJANGO_SETTINGS_MODULE polls.settings.main
</Location>

comment:2 by Adrian Holovaty, 19 years ago

Resolution: fixed
Status: newclosed

Fixed in [217] -- mod_python docs.

Note: See TracTickets for help on using tickets.
Back to Top