[Qgis-user] QGIS Server
Clifford Snow
clifford at snowandsnow.us
Wed Feb 24 19:51:58 PST 2016
Jorge,
Thanks. I'm going to compare it to what I'm running now.
Clifford
On Wed, Feb 24, 2016 at 2:07 PM, Jorge Gustavo Rocha <jgr at di.uminho.pt>
wrote:
> Hi Clifford,
>
> Attached is my Apache configuration, both for the QGIS server and the QGIS
> client (it is the same file).
>
> The server is running on:
> http://sigum.di.uminho.pt/cgi-bin/qgis_mapserv.fcgi
>
> The client is avilable at:
> http://sigum.di.uminho.pt
>
> I hope it helps.
>
> Regards,
>
> J. Gustavo
>
>
>
> Às 00:44 de 20-02-2016, Clifford Snow escreveu:
>
>> Below is my sites-available config. If anyone else has a working copy
>> for Ubuntu's Wily I would appreciate a copy.
>>
>> Apache loads with no error messages. Logs report mod_fcgid configured.
>> Yet when querying
>>
>> localhost/cgi-bin/qgis_mapserv.fcgi?SERVICE=MMS&VERSION=1.3&REQUEST=GetCapabilites,
>> apache returns a 404 "The requested URL /cgi-bin/qgis_mapserv.fcgi was
>> not found on this server."
>>
>> 001-qgis-server.conf
>>
>> <VirtualHost *:80>
>>
>> ServerAdmin webmaster at localhost
>>
>> DocumentRoot /var/www/html
>>
>> ServerName <localhost>
>>
>> ErrorLog ${APACHE_LOG_DIR}/qgis-server-error.log
>>
>> CustomLog ${APACHE_LOG_DIR}/qgis-server-access.log combined
>>
>> # Longer timeout for WPS... default = 40
>>
>> FcgidIOTimeout 120
>>
>> FcgidInitialEnv LC_ALL "en_US.UTF-8"
>>
>> FcgidInitialEnv PYTHONIOENCODING UTF-8
>>
>> FcgidInitialEnv LANG "en_US.UTF-8"
>>
>> FcgidInitialEnv QGIS_DEBUG 1
>>
>> FcgidInitialEnv QGIS_SERVER_LOG_FILE /tmp/qgis-000.log
>>
>> FcgidInitialEnv QGIS_SERVER_LOG_LEVEL 0
>>
>> # FcgidInitialEnv QGIS_PLUGINPATH "/opt/qgis-server/plugins"
>>
>> # Needed for QGIS HelloServer plugin HTTP BASIC auth
>>
>> ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/qgis_mapserv.fcgi
>>
>> <Directory "/usr/lib/cgi-bin/qgis_mapserv.fcgi">
>>
>> AllowOverride None
>>
>> Options +ExecCGI -MultiViews -SymLinksIfOwnerMatch
>>
>> # for apache2 > 2.4
>>
>> Require all granted
>>
>> #Allow from all
>>
>> SetEnv QGIS_LOG_FILE /tmp/qgislog.txt
>>
>> AddHandler fcgi-script .fcgi
>>
>> </Directory>
>>
>> ErrorLog ${APACHE_LOG_DIR}/qgis-web-client-error.log
>>
>> CustomLog ${APACHE_LOG_DIR}/qgis-web-client-access.log combined
>>
>> </VirtualHost>
>>
>>
>>
>>
>> On Thu, Feb 18, 2016 at 11:35 PM, Luca Manganelli <luca76 at gmail.com
>> <mailto:luca76 at gmail.com>> wrote:
>>
>> On Fri, Feb 19, 2016 at 8:08 AM, Clifford Snow
>> <clifford at snowandsnow.us <mailto:clifford at snowandsnow.us>> wrote:
>> > Now I'm getting a .cgi-bin/qgis_mapserv.fcgi was not found
>>
>> Where is your qgis_mapserv.fcgi located? You should link to the
>> cgi-bin directory (see your apache2 configuration)
>>
>>
>>
>>
>> --
>> @osm_seattle
>> osm_seattle.snowandsnow.us <http://osm_seattle.snowandsnow.us>
>> OpenStreetMap: Maps with a human touch
>>
>>
>> _______________________________________________
>> Qgis-user mailing list
>> Qgis-user at lists.osgeo.org
>> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
>> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
>>
>>
> J. Gustavo
> --
> Jorge Gustavo Rocha
> Departamento de Informática
> Universidade do Minho
> 4710-057 Braga
> Tel: +351 253604480
> Fax: +351 253604471
> Móvel: +351 910333888
> skype: nabocudnosor
>
> _______________________________________________
> Qgis-user mailing list
> Qgis-user at lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-user
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-user
>
--
@osm_seattle
osm_seattle.snowandsnow.us
OpenStreetMap: Maps with a human touch
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20160224/26bff676/attachment.html>
More information about the Qgis-user
mailing list