[Qgis-developer] Relative paths in mapserver

Paolo Cavallini cavallini at faunalia.it
Tue Jun 18 10:26:03 PDT 2013


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all.
I'm finding problems in using relative paths in qgis mapserver.
The following request works:

http://192.168.0.79/cgi-bin/qgis_mapserv.fcgi?map=/usr/lib/cgi-bin/test/test.qgs&SERVICE=WMS&REQUEST=GetMap&BBOX=15,20,50,40&CRS=EPSG:4326&WIDTH=800&HEIGHT=480&LAYERS=comuni&FORMAT=image/png

while this one does not (returns a white page):

http://192.168.0.79/cgi-bin/qgis_mapserv.fcgi?map=test/test.qgs&SERVICE=WMS&REQUEST=GetMap&BBOX=15,20,50,40&CRS=EPSG:4326&WIDTH=800&HEIGHT=480&LAYERS=comuni&FORMAT=image/png

Am I doing something wrong?
All the best.
- -- 
Paolo Cavallini - Faunalia
www.faunalia.eu
Full contact details at www.faunalia.eu/pc
Nuovi corsi QGIS e PostGIS: http://www.faunalia.it/calendario
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAlHAmCsACgkQ/NedwLUzIr5J+wCgoHiV+pdYuJCoh8LyMeRU4jZN
oXQAn37T0LnXvUyb1eOvvwrJNyay+m6c
=G6NJ
-----END PGP SIGNATURE-----


More information about the Qgis-developer mailing list