[CentOS] Can't Display Python

Neil Aggarwal
Fri, 06 Nov 2009 15:20:58 -0000

Victor:

> Been a while since I had root access to a server and without GUI.
> I uploaded and tried to surf to this page:
> http://209.216.9.56/global_solutions/index.py?w=1024
> but the code is displayed, not executed. Is it that I need to inform
> Apache that *.py files are to be interpreted by python? Please advise,
> and if easy, tell me what to do.

Have you tried this:
http://www.modpython.org/

    Neil


--
Neil Aggarwal, (281)846-8957, http://www.JAMMConsulting.com
<http://www.jammconsulting.com/>
CentOS 5.4 KVM VPS $55/mo, no setup fee, no contract, dedicated 64bit CPU
1GB dedicated RAM, 40GB RAID storage, 500GB/mo premium BW, Zero downtime