[GIS.lab] pywps on GIS.lab Unit

Ivan Mincik ivan.mincik at gmail.com
Tue Jun 2 05:15:15 PDT 2015


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

On 02.06.2015 14:04, Martin Landa wrote:
> Hi,
> 
> 2015-06-01 19:00 GMT+02:00 Ivan Minčík <ivan.mincik at gmail.com>:
>> Log files are in /storage/log directory. In GIS.lab,  we have
>> moved all data to /storage. Postgresql or ldap db is in /storage
>> too.
> 
> thanks for answer. I tried to set up access log for lighttpd:
> 
> server.modules = ( "mod_accesslog" ) accesslog.use-syslog =
> "enable"
> 
> &
> 
> $ sudo service lighttpd restart
> 
> But I don't see any access logs in syslog file, how it is
> possible?

See system/roles/service-mapserver/templates/lighttpd/lighttpd.conf.j2
and look for "if GISLAB_DEBUG_SERVICES" statement to see how verbose
mode is configured.

> 
> I also added
> 
> $ cat /etc/lighttpd/conf-enabled/10-cgi.conf #
> /usr/share/doc/lighttpd-doc/cgi.txt
> 
> server.modules += ( "mod_cgi", "mod_alias", "mod_rewrite", )
> 
> alias.url = ( "/cgi-bin/" => "/usr/lib/cgi-bin/" )
> 
> $HTTP["url"] =~ "^/cgi-bin/" { cgi.assign = ( "" => "" ) }
> 
> But, URL
> 
> http://server/cgi-bin/pywps.cgi?service=wps&version=1.0.0&request=GetCapabilities
>
>  still shows default index.html. I also tried to disable 
> 10-fastcgi.conf, but with no success.
> 
> Any idea where to start? Thanks, Martin
> 


- -- 
Ivan Minčík
ivan.mincik at gmail.com  GPG: 0x79529A1E
http://imincik.github.io/0x79529A1E.key
ivan.mincik at gista.sk     GPG: 0xD714B02C
http://imincik.github.io/0xD714B02C.key
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBAgAGBQJVbZ5TAAoJEPfdLsR5UpoeD+oIALYS+AxfcTwm2SsUSZMDSEce
mx6wOlL5zrw4KLh4wTNGixwlAPf6Bn6OAonNOiHLm9qcZvkBpc1IHAGUmLlUV4my
HhdUhA4eZ050/98UiyvO01cbn+twU4TpPJkDLPFz/jUH5ZtO4PaMDHruQyIH1Z3I
YKNuQb/zVhz/xmY6XAfntk//+MbLlDHVDU75ERyyndfA2ErUNyHWGT1PQXfxXPoX
IsSRRkOCjCeRQaajPiuAWNGwRh2Hw1HSZblaHpnC7FzR7rUtWESo5bgl6ZBxuE1j
PA8rol3eYMnsxz7nInF79zb9T0qvAWzN7xTPES81QUROx2hKdPA4Si9hNtxlFIc=
=z776
-----END PGP SIGNATURE-----


More information about the GIS.lab mailing list