Question: |
put a file on fitone in cgi-bin folder.Browser sent a request www.weblaboratory.info/cgi-bin/hello.pyполучил in response:Internal Server ErrorThe server encountered an internal error or misconfiguration and was unable to complete your request.Please contact the server administratorу something not fully done, Or a friend to run it!?? |
Answer: |
Hello. No need to set permissions 777 to the files, all files need to set permissions to 644, folders to 755, even if this requires the setup script to work :) |
Question: |
Fixed law. But still not working! |
Answer: |
and that fucking start to execute the script? |
Question: |
Line display! but I get oshibku 500 oshibku and not in the script! |
Answer: |
Your script is designed to output to the browser? |
Question: |
Yeah I have it from lesson took. And how else can you launch the Phaeton scripts, in addition to the method that I`m trying to use? |
Answer: |
not all perl scripts are designed to output to the browser. make a script that буде5т to perform any or deystviya. read about the withdrawal in browser at the request of the script |
Question: |
I actually asked about python. By the way what`s the version 2.6 Or 3.0 |
Answer: |
on the server python2.6 . python is also fairly listed |
Question: |
Well I do not argue, and in php a script is nothing on the screen do not display. But then error 500 can`t do it!Here and scriptic:#!/usr/bin/pythonprint(`Content-type: text/plain\\r\\n`)print(`Hello world!`)pervoya line is appropriate in this case? |
Answer: |
the request sent to the administrator. |
Answer: |
Set the permissions on the file .py - 755. Check please is now: http://www.weblaboratory.info/cgi-bin/hello.py do Not use the Notepad editor, was BOM in the file /home/areostar/public_html/cgi-bin/index.py Check please is now: http://www.weblaboratory.info/cgi-bin/index.py |
Question: |
Thank you. |
Answer: |
Since the issue has been resolved, we are closing this ticket. In case, in Your opinion, an unsatisfactory response, You can always create a new one or reopen this ticket with his answer. |