Opened 17 years ago

Closed 17 years ago

#5841 closed (duplicate)

Error in mod_python documentation

Reported by: Derek Steinkamp <dsteinkamp@…> Owned by: nobody
Component: Documentation Version: dev
Severity: Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

<VirtualHost *>
    ServerName www.example.com
    # ...
    <Location "/something">
        SetEnv DJANGO_SETTINGS_MODULE mysite.settings
        PythonInterpreter mysite
    </Location>

    <Location "/otherthing">
        SetEnv DJANGO_SETTINGS_MODULE mysite.other_settings
        PythonInterpreter mysite_other
    </Location>
</VirtualHost>

Should read:

<VirtualHost *>
    ServerName www.example.com
    # ...
    <Location "/something">
        SetEnv DJANGO_SETTINGS_MODULE mysite.settings
        PythonInterpreter mysite
    </Location>

    <Location "/otherthing">
        SetEnv DJANGO_SETTINGS_MODULE mysite_other.settings
        PythonInterpreter mysite_other
    </Location>
</VirtualHost>

(Change is in the second SetEnv line)

Change History (1)

comment:1 by Brian Rosner, 17 years ago

Resolution: duplicate
Status: newclosed

Duplicate of #5840

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