Error on CGI script
An error like this:
(8)Exec format error: exec of '/usr/local/apache2/cgi-bin/CGI2WPS.py' failed
[Wed Jan 21 09:38:41 2009] [error] [client 127.0.0.1] Premature end of script headers: CGI2WPS.py
Means that the execution of the script failed, probably the server has some problems on getting the python interpreter.
Adding the python location to the script will solve it:
#!/usr/bin/python
#-*- coding: utf-8 -*-
Labels: cgi-bin, exec format error, python
2 Comments:
pywps ?
Yes PyWPS 3.0.0
Post a Comment
<< Home