Apache & Python 500 Error

Fuzzyman fuzzyman at gmail.com
Wed Feb 2 08:08:14 EST 2005


What does the error log report ?

It is *possible*  that you are getting an error 500 because your are
not emitting valid headers.

Try this instead :

#!/usr/bin/python

print 'Content-Type: text/plain\r'
print '\r'
import os
print os.getcwd()
Regards,


Fuzzy
http://www.voidspace.org.uk/python/index.shtml




More information about the Python-list mailing list