Re: Can't Display Python

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Check the logs.

If you get errors, check logs.  If you get nothing, check logs.  Apache logs are sometimes good in finding errors.

Check the permissions on the files.  Since it's an executable, it needs to have 755 permissions. 

Victor Subervi wrote:
Ok. I don't need to work with mod_python right now. I just need to get my python pages serving. I'm up to the point now where I'm getting 403 errors. Why? Why doesn't it just serve the python pages? I've updated httpd.conf with the appropriate AddHandler. Please advise.
V

On Fri, Nov 6, 2009 at 10:20 AM, Neil Aggarwal <neil@xxxxxxxxxxxxxxxxxx> wrote:
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


_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


_______________________________________________ CentOS mailing list CentOS@xxxxxxxxxx http://lists.centos.org/mailman/listinfo/centos

-- 
Thanks!
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux