I followed the instructions mentioned here.
I created a .py file and uploaded and set persmissions 755 to it.
I have in my.htaccess file
AddType application/x-httpd-php5 .php
AddHandler cgi-script .py
But http://domain.com/script.py return 500 Internal Server Error
I got it all working on my PC using mod_python, but I cant seem to get it working on my ASO host.
Looking at the error log I see this :
[Sat Aug 25 03:20:27 2007] [error] [client x.x.x.x] Premature end of script headers: /home/username/public_html/script.py
Any idea why ?
Thanks
Edited by anjanesh, 25 August 2007 - 02:22 AM.
Sign In
Create Account










