[Mapbender-users] Looking for help setting up OWSPROXY

Michael Schulz mschulz at webgis.de
Thu Sep 13 03:52:40 EDT 2007


Hi Len,

if you are running mapbender 2.4.2 you should not need to update class_* files.

What you need to change is the target of your redirection:
RedirectMatch ^.*owsproxy.([^i][\w\d]+)\/([\w\d]+)\/?$
http://localhost/owsproxy/http/index.php?sid=$1\&wms=$2\&

In order for the target url to work you also need an alias defined in
your apache configuration
Alias /owsproxy/ /var/www/mapbender/owsproxy/  (change according to
your directory structure)

Before using owsproxy please make sure, that everything else is
working properly, i.e. that you are able to access your wms via
mapbender without owsproxy enabled (when owsproxy configuration is
done, you need to go to admin_en_services -> OWSPROXY and check the
wms you want to have secured by owsproxy.

Cheers, Michael



2007/9/12, Len Kne <knex0001 at umn.edu>:
>
>
> Greetings
>
> I am trying to setup OWSPROXY for access to a secure WMS running on the same
> server.  Currently I am testing on my local machine (Windows XP, Apache
> 2.2.3, Mapbender 2.4.2, MapServer 4.10.0) and think that my Apache
> configuration may not be correct and may be missing something in the
> translation.  Apache is new to me.
>
> I think I have the Mapbender modules installed and configured correctly, but
> am confused on the exact configuration and placement of the statement below
> in the httpd.conf:
>
> RedirectMatch ^.*owsproxy. ([^i] [\ w \ D] +) \/([\ w \ D] +) \/? $
> http:///owsproxy/http/index.php?sid=$1<name or="" ip=""> \
> &wms=$2 \ &
>
> Also, the wiki shows a list of changed files, including class_administration
> and class_wms.  I am not clear what changes need to be made to these files.
> Any help would be appreciated.  I'll update/create an English version of the
> process for setting up OWSPROXY on the wiki.
>
> Thanks
>
> Len
> _______________________________________________
> Mapbender_users mailing list
> Mapbender_users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapbender_users
>
>


-- 
-----------------------------------------------------------
Michael Schulz
mschulz at webgis.de

in medias res
Gesellschaft für Informationstechnologie mbH

In den Weihermatten 66
79108 Freiburg

Tel  +49 (0)761 556959-5
Fax +49 (0)761 556959-6

http://www.webgis.de / http://www.zopecms.de
-----------------------------------------------------------


More information about the Mapbender_users mailing list