Python Internal Server Error 500
Contents |
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta apache python cgi internal server error Discuss the workings and policies of this site About Us Learn more
Python Cgi Script Internal Server Error
about Stack Overflow the company Business Learn more about hiring developers or posting ads with us Stack
End Of Script Output Before Headers Python
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
500 Python Gun
each other. Join them; it only takes a minute: Sign up internal server error (500) in simple cgi script up vote 7 down vote favorite 1 I am trying to run a simple cgi script after configuring my server. My script looks like this: print "Content-type: text/html" print print "
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 how to fix 500 internal server error 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 500 Internal Server Error - python cgi up vote 1 down vote favorite im new with Python http://stackoverflow.com/questions/1464728/internal-server-error-500-in-simple-cgi-script CGI Programming and i start with getting errors :( so i start a simple 'hello world' script but i got 500 Internal Server Error the index.py file: #!/usr/bin/python #!/Python27/python import cgi import cgitb; cgitb.enable() print "Content-Type: text/html\n\n" print "hello world" .htaccess file: Options Indexes FollowSymLinks Add ExecCGI Options Indexes FollowSymLinks ExecCGI AddHandler cgi-script .py .cgi DirectoryIndex index.py i tried with chmod but same problem :( help me please python apache .htaccess cgi http://stackoverflow.com/questions/34863693/500-internal-server-error-python-cgi share|improve this question asked Jan 18 at 20:40 script0r 596 3 You should look in the apache error logs. –pvg Jan 18 at 20:42 did you do sudo chmod 755 index.py? –Assem Chelli Jan 18 at 20:43 @bigOTHER i did in the htaccess file before ' chmod -x ' –script0r Jan 18 at 20:45 @pvg im using windows (localhost) –script0r Jan 18 at 20:45 1 Apache logs in windows as well. –pvg Jan 18 at 20:48 | show 2 more comments 1 Answer 1 active oldest votes up vote 0 down vote accepted Options Indexes FollowSymLinks would override Options ExecCGI. To resolve this use Options +ExecCGI and also add SetHandler cgi-script share|improve this answer answered Jan 19 at 7:21 Siddharth sharma 38827 add a comment| Your Answer draft saved draft discarded Sign up or log in Sign up using Google Sign up using Facebook Sign up using Email and Password Post as a guest Name Email Post as a guest Name Email discard By posting your answer, you agree to the privacy policy and terms of service. Not the answer you're looking for? Browse other questions tagged python apache .htaccess cgi or ask your own question. asked 9 months ago viewed 346 times ac
Server 3, and I'm struggling to get past a 500 internal server error on a Python CGI script. The HTML file (not that it could really be this) - http://www.frihost.com/forums/vt-96965.html