It's possible you need somewhere in your configuration: AddHandler python-program .py
If it's not already there. But without knowing anything about what you're doing... Try Googling for mod_python for the documentation. -Alan
Victor Subervi wrote:
Well, apparently it threw the same error for test.py as well on the second test! I've added this:
<VirtualHost *:80> ServerAdmin me@creative.vi mailto:me@creative.vi DocumentRoot /var/www/html/angrynates.com http://angrynates.com ServerName angrynates.com http://angrynates.com Options +ExecCGI -IncludesNoExec
</VirtualHost>
but the options line didn't seem to help any. Ideas? V
On Fri, Nov 6, 2009 at 2:12 PM, Victor Subervi <victorsubervi@gmail.com mailto:victorsubervi@gmail.com> wrote:
That's my answer? You sure? Those errors are for index.py. As I mentioned in my last email, I decided to test for test.py which imports nothing, no cgi, nothing. Please try again. V On Fri, Nov 6, 2009 at 1:39 PM, <m.roth@5-cent.us <mailto:m.roth@5-cent.us>> wrote: Victor wrote: <snip> > log files about that. It doesn't import anything or do any calculation, > just prints. Here's the tail: > > [root@13gems global_solutions]# tail /etc/httpd/logs/error_log <snip> > [Fri Nov 06 10:05:16 2009] [error] [client 66.248.168.98] Options ExecCGI > is off in this directory: /var/www/html/angrynates.com/global_solutions/index.py <http://angrynates.com/global_solutions/index.py>, referer: http://angrynates.com/global_solutions/ <snip> And that's your answer: you don't have ExecCGI for the directory that the python scripts are in. mark _______________________________________________ CentOS mailing list CentOS@centos.org <mailto:CentOS@centos.org> http://lists.centos.org/mailman/listinfo/centos
CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos