<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="Verdana">Check the logs. <br>
<br>
If you get errors, check logs. If you get nothing, check logs. Apache
logs are sometimes good in finding errors. <br>
<br>
Check the permissions on the files. Since it's an executable, it needs
to have 755 permissions. <br>
</font></font><br>
Victor Subervi wrote:
<blockquote
cite="mid:4dc0cfea0911061022i43ac663fubf072ec1fa95a8f6@mail.gmail.com"
type="cite">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.<br>
V<br>
<br>
<div class="gmail_quote">On Fri, Nov 6, 2009 at 10:20 AM, Neil
Aggarwal <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:neil@jammconsulting.com">neil@jammconsulting.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Victor:<br>
<div>
<div class="h5"><br>
> Been a while since I had root access to a server and without GUI.<br>
> I uploaded and tried to surf to this page:<br>
> <a moz-do-not-send="true"
href="http://209.216.9.56/global_solutions/index.py?w=1024"
target="_blank">http://209.216.9.56/global_solutions/index.py?w=1024</a><br>
> but the code is displayed, not executed. Is it that I need to
inform<br>
> Apache that *.py files are to be interpreted by python? Please
advise,<br>
> and if easy, tell me what to do.<br>
<br>
</div>
</div>
Have you tried this:<br>
<a moz-do-not-send="true" href="http://www.modpython.org/"
target="_blank">http://www.modpython.org/</a><br>
<br>
Neil<br>
<font color="#888888"><br>
<br>
--<br>
Neil Aggarwal, (281)846-8957, <a moz-do-not-send="true"
href="http://www.JAMMConsulting.com" target="_blank">http://www.JAMMConsulting.com</a><br>
<<a moz-do-not-send="true" href="http://www.jammconsulting.com/"
target="_blank">http://www.jammconsulting.com/</a>><br>
CentOS 5.4 KVM VPS $55/mo, no setup fee, no contract, dedicated 64bit
CPU<br>
1GB dedicated RAM, 40GB RAID storage, 500GB/mo premium BW, Zero downtime<br>
</font>
<div>
<div class="h5"><br>
<br>
_______________________________________________<br>
CentOS mailing list<br>
<a moz-do-not-send="true" href="mailto:CentOS@centos.org">CentOS@centos.org</a><br>
<a moz-do-not-send="true"
href="http://lists.centos.org/mailman/listinfo/centos" target="_blank">http://lists.centos.org/mailman/listinfo/centos</a><br>
</div>
</div>
</blockquote>
</div>
<br>
<pre wrap="">
<hr size="4" width="90%">
_______________________________________________
CentOS mailing list
<a class="moz-txt-link-abbreviated" href="mailto:CentOS@centos.org">CentOS@centos.org</a>
<a class="moz-txt-link-freetext" href="http://lists.centos.org/mailman/listinfo/centos">http://lists.centos.org/mailman/listinfo/centos</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Thanks!</pre>
</body>
</html>