cl58 Posted February 21, 2010 Posted February 21, 2010 I chmod'ed a .py file to 755 and went to the URL, but that just showed the contents of the file; it didn't run it. Quote
Byron Posted February 21, 2010 Posted February 21, 2010 You could try adding these two directives in your root htaccess file: AddHandler python-program py AddType application/python py I can't say for sure that will fix the problem. Try it and see and if it still doesn't work, post your script if it's a simple one. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.