Django

Code

Ticket #5303 (closed: fixed)

Opened 1 year ago

Last modified 1 year ago

PythonImport (for handling eggs) can't be placed inside VirtualHost or Location

Reported by: anonymous Assigned to: jacob
Milestone: Component: Documentation
Version: SVN Keywords: mod_python, PythonImport, egg
Cc: Triage Stage: Ready for checkin
Has patch: 1 Needs documentation: 0
Needs tests: 0 Patch needs improvement: 0

Description

Placing PythonImport inside of <Location> (as it is recommended in the Install mod_python documentation of Django) leads to an error when apache loads it's conf-file. Placing it inside <VirtualHost> doesn't work either.

Reason: PythonImport is a server config directive (compare http://www.modpython.org/pipermail/mod_python/2005-October/019272.html)

Quote from http://httpd.apache.org/docs/2.0/mod/directive-dict.html#Context

server config This means that the directive may be used in the server configuration files (e.g., httpd.conf), but not within any <VirtualHost> or <Directory> containers. It is not allowed in .htaccess files at all. <<<

All the best for now - and thanks for developing Django!

Wolfram

Attachments

modpython.diff (0.7 kB) - added by Simon G. <dev@simon.net.nz> on 09/02/07 04:59:13.

Change History

09/02/07 04:59:13 changed by Simon G. <dev@simon.net.nz>

  • attachment modpython.diff added.

09/02/07 04:59:42 changed by Simon G. <dev@simon.net.nz>

  • needs_better_patch changed.
  • needs_tests changed.
  • keywords changed from miod_python, Installation, PythonImport, egg to mod_python, PythonImport, egg.
  • needs_docs changed.
  • has_patch set to 1.
  • stage changed from Unreviewed to Ready for checkin.

Well spotted, thank you.

09/02/07 12:09:27 changed by adrian

  • status changed from new to closed.
  • resolution set to fixed.

(In [6034]) Fixed #5303 -- Fixed incorrect statement about PythonPath? directive in docs/modpython.txt


Add/Change #5303 (PythonImport (for handling eggs) can't be placed inside VirtualHost or Location)




Change Properties
Action