Jump to content

Recommended Posts

Posted

Hello! For two days I'm trying to run python scripts. Allow FTP unloaded on the site to a folder scgi-bin scripts, sets permissions 755, but when I open shows the source code of my script. As still execute it?

PS Previously, in any way, except through shell scripts do not run.

 

EDIT:

 

Scripts cannot be run in any folder other than /home/<username>/public_html/cgi-bin unless you add handlers in .htaccess to allow execution. http://httpd.apache.org/docs/2.2/howto/cgi.html#htaccess

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...