Softaculous


Topic : Python script on AMPPS just show code


Posted By: marcosdeseul on November 24, 2014, 7:12 am
OSX
AMPPS

I clone a python project power by bitnami DjangoStack from github.

=======================================

I followed chrisjensen23's direction from the topic "I can't run python scripts", famous topic in this forum. (I cannot attach the link because I am a new comer here.



Also, I added "AddHandler cgi-script .py" to my httpd.conf.

But it just show the whole code and the structure of project.
it doesn't execute my python script.

What should I do now?

Posted By: amit.s on December 2, 2014, 6:21 am | Post: 1
For running python scripts you must first get familiar with mod_wsgi.
Here is the tutorial to run the python scripts using mod_wsgi.



http://code.google.com/p/modwsgi/wiki/QuickConfigurationGuide
   
   

Powered By AEF 1.0.8 © 2007-2008 Electron Inc.