P
Peter Mott
I am using:
Python 2.3.4 (#2, Nov 14 2004, 18:06:48)
[GCC 2.95.4 20020320 [FreeBSD]] on freebsd4
with Apache/1.3.26. The following script causes an Internal Server Error
(with nothing in the Apache error logs AFAIK):
#!/usr/local/bin/python
import logging
print "Content-type: text/html\n\n"
print "<html><head><title></title></head><body><h1>OK</h1>"""
print "</body></html>"
The same script with the import statement commented out works as expected.
Has anyone encountered this? I have googled without success.
Thanks
Peter
Python 2.3.4 (#2, Nov 14 2004, 18:06:48)
[GCC 2.95.4 20020320 [FreeBSD]] on freebsd4
with Apache/1.3.26. The following script causes an Internal Server Error
(with nothing in the Apache error logs AFAIK):
#!/usr/local/bin/python
import logging
print "Content-type: text/html\n\n"
print "<html><head><title></title></head><body><h1>OK</h1>"""
print "</body></html>"
The same script with the import statement commented out works as expected.
Has anyone encountered this? I have googled without success.
Thanks
Peter