[Qgis-user] Re: Qgis Server under windows
Borys Jurgiel
lists at borysjurgiel.pl
Fri Jan 7 14:55:20 PST 2011
Dnia czwartek 06 stycznia 2011 o 23:46:00 Marco Hugentobler napisał(a):
> Hi Borys
>
> I didn't use Qgis server on windows for quite some time now. Maybe Jürgen
> has some more recent experience with it?
> Basically it's like on Linux, you have to install the apache server and
> FastCGI for apache/win for good performance. Then copy the server
> executable and a project file into the fcgi dir (the qt / qgis dlls need
> to be in the system path).
>
> If you successfully manage to run the server on win, please consider
> describing the steps and possible problems on the wiki page
> http://www.qgis.org/wiki/QGIS_mapserver_tutorial
Well, after two days of fight, I don't even really know where I stuck
and unfortunaly have no more time for solving windows riddles :( It would be
really great if someone fluent in Windows and/or cgi could describe how to
configure it.
Our local environmental authority is interested in testing Qgis Server
and I'd be happy to help them, but I'm neither windows nor cgi geek.
Probably this is the farthest point I've reached:
[Fri Jan 07 22:36:08 2011] [warn] FastCGI: (dynamic) server "C:/Program
Files/Apache Software Foundation/Apache2.2/cgi-bin/qgis_mapserv.fcgi.exe"
started (pid 2608)
[Fri Jan 07 22:36:08 2011] [warn] FastCGI: (dynamic) server "C:/Program
Files/Apache Software Foundation/Apache2.2/cgi-bin/qgis_mapserv.fcgi.exe" (pid
2608) terminated with exit
with status '-1073741515'
[Fri Jan 07 22:36:13 2011] [warn] FastCGI: (dynamic) server "C:/Program
Files/Apache Software Foundation/Apache2.2/cgi-bin/qgis_mapserv.fcgi.exe"
restarted (pid 288)
[Fri Jan 07 22:36:13 2011] [error] [client 127.0.0.1] (OS 109)Potok został
zakończony. : FastCGI: comm with server "C:/Program Files/Apache Software
Foundation/Apache2.2/cgi-
bin/qgis_mapserv.fcgi.exe" aborted: GetOverlappedResult() failed
[Fri Jan 07 22:36:13 2011] [error] [client 127.0.0.1] FastCGI: incomplete
headers (0 bytes) received from server "C:/Program Files/Apache Software
Foundation/Apache2.2/cgi-
bin/qgis_mapserv.fcgi.exe"
[Fri Jan 07 22:36:13 2011] [warn] FastCGI: (dynamic) server "C:/Program
Files/Apache Software Foundation/Apache2.2/cgi-bin/qgis_mapserv.fcgi.exe" (pid
288) terminated with exit
with status '-1073741515'
[Fri Jan 07 22:36:13 2011] [error] [client 127.0.0.1] File does not exist:
C:/Program Files/Apache Software Foundation/Apache2.2/htdocs/favicon.ico
[Fri Jan 07 22:36:18 2011] [warn] FastCGI: (dynamic) server "C:/Program
Files/Apache Software Foundation/Apache2.2/cgi-bin/qgis_mapserv.fcgi.exe"
restarted (pid 3176)
[Fri Jan 07 22:36:18 2011] [warn] FastCGI: (dynamic) server "C:/Program
Files/Apache Software Foundation/Apache2.2/cgi-bin/qgis_mapserv.fcgi.exe" (pid
3176) terminated with exit
with status '-1073741515'
If I understand correctly, the "GetOverlappedResult() failed" is caused
by non-zero exit status. Or inversely? But how to debug it? My time was over
and I hadn't write any fcgi script to ensure if mod_fastcgi is working
properly at all.
I've downloaded it as a .dll file and dropped it into a directory with .so
files only.
Does it make any sense? I'd love to read about it, but mod_fastcgi
documentation
is very mysterious... Every time I touch windows I feel like a blind child in
a fog :)
B.
More information about the Qgis-user
mailing list