You need to load mod_python and read the docs (or you can use CGI and make sure apache owns the file)
On Tue, Oct 13, 2009 at 3:55 PM, Bhanu Mangipudi <mbhanu...@gmail.com>wrote: > Hi, >> >> I am new to python I have few questions regarding configuring apache with >> python. > > > I have a hello_world.py file in /var/www/html/testing/ with permissions > 755, but when I try to access http://localhost/testing/helloworl.py in mu > web browser. The web browser is showing the out put in this way > > > #!/usr/bin/python print "Content-Type: text/html" print print """\ Hello > World! """ > > > > Please help me to solve this issue > > Thanks > Bhanu > > > > -- > http://mail.python.org/mailman/listinfo/python-list > > -- http://www.goldwatches.com
-- http://mail.python.org/mailman/listinfo/python-list