[Qgis-developer] Re: path to the qgs file for qgis-server

aperi2007 aperi2007 at gmail.com
Mon Jan 16 12:29:42 EST 2012


Hi Marco,

 >It is also possible to call QGIS server without map parameter and to
 >place the .qgs file into the same directory as the qgis_mapserv.fcgi
 >executable.

I like to avoid to mix cgi executables from other configuration and 
readable files.

 >In practice, a better solution is to use Apache URL rewriting
 >(mod_rewrite) to hide the location of the .qgs file from the client.
 >Like this, you can use nice URLs and if the locations of the .qgs >files
 >change, the server administrator adapts the config accordingly.

I don't know the rewrite solution, I don't use apache.
However I guess my web server will have sometime like the apache rewrite.

Thx for hints.

Andrea.


More information about the Qgis-developer mailing list