Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Browse files

Fixed #2958 -- Pointed out in docs/modpython.txt that we use <Locatio…

…n> instead of <Directory>

git-svn-id: bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
1 parent 48234a0 commit 8211eb23e4940c046e0d42a65b8d6632d1330c62 @adrianholovaty adrianholovaty committed
Showing with 5 additions and 0 deletions.
  1. +5 −0 docs/modpython.txt
5 docs/modpython.txt
@@ -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::

0 comments on commit 8211eb2

Please sign in to comment.
Something went wrong with that request. Please try again.