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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...