CGI : 502 Bad Gateway The CGI was not CGI/1.1 compliant. -


After

I have an HTM page that, after pressing the Submit button, there is a form in the index.cgi call!

  # / usr / bin / sh export LD_LIBRARY_PATH = $ LD_LIBRARY_PATH: / nastools / pysqlite2 / pysqlite2 export PYTHONPATH = $ PYTHONPATH: / Nastools / Pysqlite2 /: / Path / birthday export PATH = / nastools / Python64 / bin /: $ path dragon /remote/path/impo/manager.py 2 & gt; & Amp; 1  

I just want to run in manager.py that folder is stored / remote / path / impo !!

I'm completely crazy with this stupid error and solving it ...

Any suggestions ??

Thanks NineBarry but the problem I have ... found the CGI script definitely good after try with:

  # / bin / sh echo content-type: text / html echo "& lt; HTML & gt;" Echo "& lt; HEAD & gt;" Echo "& lt; / HEAD & gt;" Echo "& lt; body & gt;" Echo "& lt; h2> Users are logged in: " Echo "& lt; PRE & gt;" Which is "& lt; / PRE> echo" & lt; / BODY & gt; "echo" & lt; / HTML & gt; " 

I could have missed that I access rights set !!!! I lost 2 hours on it ... I can only 777 has come up with the name of combination ...

If you have been wasting your time Sorry all!

by

< / Html>

Comments

Popular posts from this blog

python - Overriding the save method in Django ModelForm -

html - CSS autoheight, but fit content to height of div -

qt - How to prevent QAudioInput from automatically boosting the master volume to 100%? -