python-apache configuration

James Matthews nytrokiss at gmail.com
Wed Oct 14 05:07:46 CEST 2009


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


More information about the Python-list mailing list