I have a hello world script written in python called hello.py. I am using apache on a windows machine, and I'd like the script to run automatically, whenever I enter something like http://localhost/
Can someone please tell me how to do this ?
PS: If I point to the script directly from the browser, it displays properly.
#! c:\Python27\python.exe print "Content-Type: text/html\n\n" print 'Heya, world..yaba daba doo!'