Kaydet (Commit) 8211eb23 authored tarafından Adrian Holovaty's avatar Adrian Holovaty

Fixed #2958 -- Pointed out in docs/modpython.txt that we use <Location> instead of <Directory>

git-svn-id: http://code.djangoproject.com/svn/django/trunk@3939 bcc190cf-cafb-0310-a4f2-bffc1f526a37
üst 48234a09
......@@ -43,6 +43,11 @@ This tells Apache: "Use mod_python for any URL at or under '/mysite/', using the
Django mod_python handler." It passes the value of ``DJANGO_SETTINGS_MODULE``
so mod_python knows which settings to use.
Note that we're using the ``<Location>`` directive, not the ``<Directory>``
directive. The latter is used for pointing at places on your filesystem,
whereas ``<Location>`` points at places in the URL structure of a Web site.
``<Directory>`` would be meaningless here.
Also, if you've manually altered your ``PYTHONPATH`` to put your Django project
on it, you'll need to tell mod_python::
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment