python-apache configuration

Bhanu Mangipudi mbhanu.16 at gmail.com
Tue Oct 13 21:55:30 CEST 2009


>
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20091013/6fd026f3/attachment.html>


More information about the Python-list mailing list