[Mapbender-users] Looking for help setting up OWSPROXY

Len Kne knex0001 at umn.edu
Thu Sep 13 17:56:01 EDT 2007


Thanks, I plugged in your syntax for the RedirectMatch and the proxy now
works great.  The wiki includes:

<name or="" ip="">

in the url example, do you know the purpose of this?  It appears that it is
not needed.



-----Original Message-----
From: mapbender_users-bounces at lists.osgeo.org
[mailto:mapbender_users-bounces at lists.osgeo.org] On Behalf Of Michael Schulz
Sent: Thursday, September 13, 2007 2:53 AM
To: Mapbender User List
Subject: Re: [Mapbender-users] Looking for help setting up OWSPROXY

Hi Len,

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

What you need to change is the target of your redirection:
RedirectMatch ^.*owsproxy.([^i][\w\d]+)\/([\w\d]+)\/?$

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

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
Mapbender_users mailing list
Mapbender_users at lists.osgeo.org

More information about the Mapbender_users mailing list