Re: [Qgis-user] Re: Qgis Server under windows

2011-01-07 Thread Andreas Neumann

Hi,

Maybe QGIS Server could be included in OSGeo4W? It would certainly lower 
the barrier for people willing to try/test it.


Andreas

On 1/6/11 11:46 PM, Marco Hugentobler wrote:

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

Thanks,
Marco

Am Donnerstag, 6. Januar 2011, um 16.27:59 schrieb Borys Jurgiel:

Hi,
Is there any tutorial how to set Qgis Server under windows?

B.




___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


Re: [Qgis-user] Re: Qgis Server under windows

2011-01-07 Thread Borys Jurgiel
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.
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user


[Qgis-user] Re: Qgis Server under windows

2011-01-06 Thread Marco Hugentobler
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

Thanks,
Marco 

Am Donnerstag, 6. Januar 2011, um 16.27:59 schrieb Borys Jurgiel:
 Hi,
 Is there any tutorial how to set Qgis Server under windows?
 
 B.


-- 
Dr. Marco Hugentobler
Sourcepole - Linux  Open Source Solutions
Churerstr. 22, CH-8808 Pfäffikon SZ, Switzerland
marco.hugentob...@sourcepole.ch http://www.sourcepole.ch
Technical Advisor QGIS Project Steering Committee
___
Qgis-user mailing list
Qgis-user@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/qgis-user