Giovanni
Tentei a autenticação que referes usando no httpd_qgis.conf
LoadModule fcgid_module modules/mod_fcgid.so
DefaultInitEnv PATH
"C:\OSGeo4W\bin;C:\OSGeo4W\apps\qgis\bin;C:\OSGeo4W\apps\grass\grass-6.4.4\bin;C:\OSGeo4W\apps\grass\grass-6.4.4\lib;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem"
DefaultInitEnv QGIS_PREFIX_PATH "C:\OSGeo4W\apps\qgis"
DefaultInitEnv QT_PLUGIN_PATH
"C:\OSGeo4W\apps\qgis\qtplugins;C:\OSGeo4W\apps\qt4\plugins"
DefaultInitEnv TEMP "C:\Users\BARRIG~1\AppData\Local\Temp"
DefaultInitEnv PYTHONHOME "C:/OSGeo4W/apps/python27"
Alias /qgis/ C:\OSGeo4W/apps/qgis/bin/
<Directory "C:\OSGeo4W/apps/qgis/bin/">
SetHandler fcgid-script
Options ExecCGI
AuthType Basic
AuthName "Authentication Required"
AuthUserFile "/etc/htpasswd/.htpasswd"
Require valid-user
Order allow,deny
Allow from all
</Directory>
Ele peda a autenticação quando tento aceder às camadas mas depois diz-me
Instead of the capabilities string that was expected, the following response
has been received:
Could not get WMS capabilities: unexpected character at line 1 column 50
This is probably due to an incorrect WMS Server URL.
O que estou a fazer errado?
Obrigado
Abraço
André Barriguinha
Giovanni Manghi wrote
Olá André,
eu uso a Apache http authentication seja para Mapserver seja para QGIS
Server.
Ciao
On Fri, Mar 27, 2015 at 2:39 PM, André F. Barriguinha
<
andrebarriguinha@
> wrote:
Boas,
Alguém sabe qual a melhor forma de poder ter autenticação ao aceder a uma
camada WMS ou WFS em QGIS Server.
Obrigado
André Barriguinha
--
View this message in context:
http://osgeo-org.1560.x6.nabble.com/Autenticacao-no-QGIS-Server-WMS-e-WFS-tp5195762.html
Sent from the QGIS-pt mailing list archive at Nabble.com.
_______________________________________________
QGIS-pt mailing list
QGIS-pt@.osgeo
http://lists.osgeo.org/cgi-bin/mailman/listinfo/qgis-pt
--
Giovanni Manghi
http://naturalgis.pt/
giovanni.manghi@
* WebGIS development
* QGIS/PostGIS Training
* QGIS Support and Consulting
* QGIS development
Google+/Hangouts:
giovanni.manghi@
Giovanni is QGIS main tester and active member of its development team
--
_______________________________________________
QGIS-pt mailing list
QGIS-pt@.osgeo
http://lists.osgeo.org/cgi-bin/mailman/listinfo/qgis-pt
--
View this message in context: http://osgeo-org.1560.x6.nabble.com/Autenticacao-no-QGIS-Server-WMS-e-WFS-tp5195762p5195780.html
Sent from the QGIS-pt mailing list archive at Nabble.com.