Based solely on what you've said here, and presuming that you have mod_python correctly installed, you probably need to have a directive like this somewhere [sorry, can't be more specific without clarifying info from you] in your config file:
AddType text/x-script.python .py
and then restart your server and try that localhost/test.py URL again.
Last edited by leed_25; 12-23-2002 at 11:50 AM.
|