[Mapbender-users] MB 2.7.x: Can't save wms application settings

Armin Retterath armin.retterath at lvermgeo.rlp.de
Mon Feb 29 06:27:20 PST 2016


hi lukas,

here is my devel apache2 conf part in 
/etc/apache2/sites_available/default (ubuntu 12.04 lts - desktop)
this should be easily adopted to your path ;-) :

         Alias /owsproxy 
/home/armin/GDI-RP/Geoportal/devel/mb_trunk/owsproxy
         <Directory /home/armin/GDI-RP/Geoportal/devel/mb_trunk/owsproxy/>
                 Options +FollowSymLinks
                 ReWriteEngine On
                 RewriteBase /owsproxy
                 RewriteRule  ^([\w\d]+)\/([\w\d]+)\/?$ 
http://127.0.0.1/owsproxy/http/index.php?sid=$1\&wms=$2\& [P,L,QSA,NE]
                 Options +Indexes
                 Allow from all
         </Directory>
         Alias /cors_proxy 
/home/armin/GDI-RP/Geoportal/devel/mb_trunk/cors_proxy
         <Directory 
/home/armin/GDI-RP/Geoportal/devel/mapbender_trunk/cors_proxy/>
                 Options +FollowSymLinks
                 ReWriteEngine On
                 RewriteBase /cors_proxy
                 RewriteRule  ^([\d]+)?$ 
http://127.0.0.1/cors_proxy/http/index.php?wmsid=$1\& [P,L,QSA,NE]
                 Options +Indexes
                 Allow from all
         </Directory>
        Alias /http_auth 
/home/armin/GDI-RP/Geoportal/devel/mb_trunk/http_auth
         <Directory /home/armin/GDI-RP/Geoportal/devel/mb_trunk/http_auth/>
                 Options +FollowSymLinks +Indexes
                 ReWriteEngine On
                 RewriteBase /http_auth
                 RewriteRule  ^([\d]+)\/?$ 
http://127.0.0.1/http_auth/http/index.php?layer_id=$1 [P,L,QSA,NE]
                 Order allow,deny
                 Allow from all
         </Directory>


hope this help

armin


On 29.02.2016 14:50, lukas.bollack wrote:
> Two things that I have found while searching the mailing list:
>
> One time you refer to making an entry in
> /etc/apache2/sites-available/default (found here:
> https://lists.osgeo.org/pipermail/mapbender_users/2012-September/004236.html).
> Is this a necessary step and if yes, what do I need to do there?
>
> Another time you refer to defining an Alias for http_auth (found here:
> https://lists.osgeo.org/pipermail/mapbender_users/2013-May/004392.html). Is
> this a necessary step if I want to use a password protected wms service in
> my application?
>
>
>
> --
> View this message in context: http://osgeo-org.1560.x6.nabble.com/MB-2-7-x-Can-t-save-wms-application-settings-tp5244512p5253385.html
> Sent from the mapbender-users mailing list archive at Nabble.com.
> _______________________________________________
> Mapbender_users mailing list
> Mapbender_users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapbender_users


-- 
Zentrale Stelle Geodateninfrastruktur
Rheinland-Pfalz
LVermGeo-RP

Von-Kuhl-Straße 49
56070 Koblenz

0261/492-466
armin.retterath at lvermgeo.rlp.de
http://www.geoportal.rlp.de



More information about the Mapbender_users mailing list