-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Il 20/06/2013 07:56, Marco Lechner - FOSSGIS e.V. ha scritto: > if you want to shorten URLs you also can pass the request through a shell > script (or > whatever script executable by apache and called instead og qgis_mapserv.fcgi) > and > change the parameters. Something similar to this file "foo.cgi": > > <code> > #!/bin/bash > export QUERY_STRING=$QUERY_STRING'&map=/absolute/path/to/my/project.qgs' > exec /usr/lib/cgi-bin/qgis_mapserv.fcgi > </code>
Interesting hack, thanks. 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/ iEYEARECAAYFAlHCop8ACgkQ/NedwLUzIr4jLQCff6YaUYwRZfFSIfawqhORN1Rl J8cAn2KdI3fvgcIsblKn3l96DCGBEkur =p4iv -----END PGP SIGNATURE----- _______________________________________________ Qgis-developer mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/qgis-developer
