C
Christian
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![Smile :) :)](data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7)
greetings from germany to newsgroup
christian
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