diff options
| author | Adrian Holovaty <adrian@holovaty.com> | 2005-07-19 20:08:17 +0000 |
|---|---|---|
| committer | Adrian Holovaty <adrian@holovaty.com> | 2005-07-19 20:08:17 +0000 |
| commit | 3148adf91d5fc6e8d2c0939b0f8bbe3240de2df3 (patch) | |
| tree | 2ddbd0c0a0e546abd11b16c02ae4e5ad7c1eb5b3 /docs/modpython.txt | |
| parent | 1dfc375e35d44d68b84eb3ae6e7c1fd04c920eee (diff) | |
Added note about 'PythonDebug Off' to docs/modpython.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@222 bcc190cf-cafb-0310-a4f2-bffc1f526a37
Diffstat (limited to 'docs/modpython.txt')
| -rw-r--r-- | docs/modpython.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/modpython.txt b/docs/modpython.txt index 3e5f3edcfe..4c27692b67 100644 --- a/docs/modpython.txt +++ b/docs/modpython.txt @@ -38,6 +38,10 @@ on it, you'll need to tell mod_python:: You can also add directives such as ``PythonAutoReload Off`` for performance. See the `mod_python documentation`_ for a full list of options. +Note that you should set ``PythonDebug Off`` on a production server. If you +leave ``PythonDebug On``, your users would see ugly (and revealing) Python +tracebacks if something goes wrong within mod_python. + Restart Apache, and any request to /mysite/ or below will be served by Django. Note that Django's URLconfs won't trim the "/mysite/" -- they get passed the full URL. |
