cobweb-eu / cobweb

An empty project for all the issues.
0 stars 0 forks source link

URLs for geoServer #101

Closed Delawen closed 9 years ago

Delawen commented 9 years ago

Did you already changed the paths for accessing WMS and WFS to https://dyfi.cobwebproject.eu/service/[private|public]/[WMS|WFS]?

I am trying to access geoserver and it doesn't return anything. For example: https://dyfi.cobwebproject.eu/service/public/WMS

The soon-to-be-deprecated direct url doesn't work either: https://dyfi.cobwebproject.eu/geoserver

andreasmatheus commented 9 years ago

This is what it is at the moment and it has been this since the start - if there is nothing coming back then perhaps there is nothing on the connected endpoints;-)

<Location "/service/public/WFS">
        ProxyPass ajp://127.0.0.1:8029/geoserver/cobweb/wfs
</Location>

<Location "/service/public/WMS">
        ProxyPass ajp://127.0.0.1:8029/geoserver/cobweb/wms
</Location>

<Location "/service/public/CSW">
        RewriteEngine on
        RewriteRule  .* /geonetwork/public/eng/csw
</Location>

<LocationMatch "/service/private/(WFS|WMS)">
# Shibboleth settings
        AuthType shibboleth
        ShibRequireSession On
        ShibUseHeaders On
        Require shibboleth

        RewriteEngine On
        RewriteRule WFS$ /geoserver/cobweb/wfs?CQL_FILTER=user\%3D%{HTTP:AJP_employeeNumber} [QSA,L]
        RewriteRule WMS$ /geoserver/cobweb/wms?CQL_FILTER=user\%3D%{HTTP:AJP_employeeNumber} [QSA,L]

        ProxyPass ajp://127.0.0.1:8029/geoserver/cobweb/wfs
        ProxyPass ajp://127.0.0.1:8029/geoserver/cobweb/wms
</LocationMatch>

<Location "/service/private/CSW">
# Shibboleth settings
        AuthType shibboleth
        ShibRequireSession On
        ShibUseHeaders On
        Require shibboleth

        RewriteEngine On
        RewriteRule .* /geonetwork/%{HTTP:AJP_employeeNumber}/private/eng/csw [L,P]
</Location>