Apache & Python 500 Error
Christian
stonis at hotmail.com
Wed Feb 2 04:28:46 EST 2005
Hello,
i have an apache 1.3 server with python on debian. Python works fine but
the scripts wont´t work.
This easy script i want to do on apache:
#!/usr/bin/python
import os
os.getcwd()
in apache config i have done this:
<Directory /var/www/python>
AddHandler python-program .py
PythonHandler python
Order allow,deny
Allow from all
#PythonDebug On
</Directory>
the script is in this directory /var/www/python
but i get an 500 error everytime, with "every" script - why that - i´m
newbie - sorry for that :)
greetings from germany to newsgroup
christian
More information about the Python-list
mailing list