python-apache configuration

James Matthews nytrokiss at gmail.com
Tue Oct 13 23:07:46 EDT 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-0001.html>


More information about the Python-list mailing list