Python Godaddy Internal Server Error
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and python internal server error 500 policies of this site About Us Learn more about Stack Overflow the company internal server error python cgi Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up GoDaddy Python Script Internal Server Error [closed] up vote 1 down vote favorite I'm trying to run the following script on my Deluxe plan GoDaddy web hosting: #!/usr/bin/python import cgitb cgitb.enable() print 'Content-Type: text/plain' print print 'Hello World!' For some reason I always get Internal Server Error Any one have a experience with running Python script on GoDaddy server? Solved! I just needed to give the Python file the right permissions on the server - 777 python godaddy internal-server-error share|improve this question edited Oct 28 '13 at 17:05 Josh Crozier 100k26148151 asked Jun 23 '11 at 12:17 user330885 closed as unclear what you're asking by Yvette Colomb, J.J. Hakala, EdChum, Foon, Volker E. Aug 20 at 18:18 Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question.If this question can be reworded to fit the rules in the help center, please edit the question. Have you checked the web server's logs? –codeape Jun 23 '11 at 15:24 What filename are you using? I have tried saving the above to example.py, but I still get an internal server error. –Ginger Sep 14 '14 at 18:42 1 Ah, I need to use 755, not 777 –Ginger Sep 14 '14 at 18:44 add a comment| 1 Answer 1 active oldest vote
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack Overflow Questions Jobs Documentation Tags Users Badges Ask Question x Dismiss Join the Stack Overflow Community Stack Overflow is a community of 6.2 million programmers, just like you, helping each other. Join them; it only takes a minute: Sign up Django on godaddy - 500 internal server error OR Forbidden 403 [duplicate] up vote 0 down vote http://stackoverflow.com/questions/6453836/godaddy-python-script-internal-server-error favorite This question already has an answer here: ./configure : /bin/sh^M : bad interpreter 12 answers I have a deluxe Linux hosting account on Godaddy and from the past 3 days I've been trying to host a Django website. I followed these tutorials: http://www.lichun.cc/blog/2012/06/setup-django-1-4-on-godaddy-linux-economy-host/ Installing a django site on GoDaddy http://blurback.com/post/563604002/running-django-on-godaddy-sigh But I'm getting this: Forbidden You don't have permission to access / on this server. Additionally, a 404 Not Found error http://stackoverflow.com/questions/17711277/django-on-godaddy-500-internal-server-error-or-forbidden-403 was encountered while trying to use an ErrorDocument to handle the request. Apache Server at www.gccfishing.com Port 80 I think the problem is with the python path which is written at the first line in files: #!/usr/local/bin/python2.7, because when I try to execute a file in SSH I get this error: -bash: ./test.py: /usr/local/bin/python2.7^M: bad interpreter: No such file or directory. where test.py is a sample test file and it's chmoded. This is my folder configuration on godaddy: home content 88 10907688 .pip data error_logs html lib scctmp tmp In html I'm placing files according to the above mentioned tutorials which are either dispatch.py or .cgi files. In lib I have the following: venv bin gccFishing (this is the Django project) MySQLdb python ( file type: File) python2.7 ( file type: 7 File) django-admin.py acitvate_this.py include shortcut folder of python2.7 lib python2.7 shortcuts to all python libraries site-packages(this is where I downloaded Django) Any idea what's happening here? Which files does Apache execute first? Should I use dispatch.py or dispatch.cgi? Any help/comments will be very helpful. Thank you. python django apache share|improve this question edited Aug 28 at 3:21 Yvette Colomb 12.9k93775 asked Jul 17 '13 at 22:19 Hammad 3818 marked as duplicate by Tunaki, Bhargav Raopython Users with the python badge can single-handedly
was looking to integrate my Perl script and Python script to Go daddy . i use window system and filezilla to upload my script but i have Linux Hosting http://engineertoengineers.blogspot.com/2015/08/perl-python-on-godaddy-delux-linux.html account , That restricting me to upload script rightly , i tried to contact Go Daddy customer support to run my basic script but unable to got satisfactory answer from them , they suggest me to take help of any developer as they are only trained for Hosting support not Technical support , it was hell day for me , i google , stackoverflow etc as well read all the internal server article on go daddy , it takes my much time , no one is there to guide and there are many people who are looking for assistance For PERL PYTHON with Go Daddy . here i am showing you how to get script running on Go daddy with Practically . python on Go daddy: go daddy supportpython2.66 version but if you go through controlpanelunder software , there is no python internal server error TAG According to them user can put script anywhere and it will run but, that's Not TRUE at all yesterday i argue with them lot about FALSE Commitment and Documentation . and Finally they told me to writesuggestionon suggestions@godaddy.com for Consideration hi.py create one demo file with name "hi.py"write below code in that file and save the file in ASCII format Set File Permission as 755 upload the script via web panel(Cpanel) , Do not use File Zilla or any other client otherwise go to Web pannel and create new file and put that code and save the new file as "hi.py" under cgi-bin Directory #!/usr/bin/python #!/usr/local/bin/python2.7 import cgitb cgitb.enable() print 'Content-Type: text/plain' print print 'Hello World!' Visit URL /cgi-bin/hi.py and You will get output that is "Hello World! " check http://www.imanssoftware.com/cgi-bin/hi.py for Demo Perl on Go daddy: Go daddy support Perl 5.10.1 version but same problem , no documentation at all and there are several users who had posted on stackoverflow but Still the THREAD IS OPEN . version.pl create one demo file with name "version.pl"write below code in that file and save the file in ASCII format Set File Permission as755 upload the script viaweb panel(Cpanel), Do not use File Zilla or any other client oth