[TinyOWS-users] How to point tinyows to an other config file ?

Rahkonen Jukka Jukka.Rahkonen at mmmtike.fi
Thu Sep 23 15:19:22 EST 2010


Hi,

What is best is that you can make very simply how many different WFS services you like, with different layers, with or without WFS-T and so on.  Just prepare a bunch of config files and a wrapper per each configuration. It allows also lightweight user right management. No need to filter the contents of a service by user group or roles, just control which wrappers the user can access.

-Jukka-

-----Alkuperäinen viesti-----
Lähettäjä: tinyows-users-bounces at lists.maptools.org puolesta: Alexandre Dube
Lähetetty: to 23.9.2010 23:08
Vastaanottaja: TinyOWS users discuss list
Aihe: Re: [TinyOWS-users] How to point tinyows to an other config file ?
 
Jukka,

   That looks like a good idea too.

Thanks for the reply,

Alexandre


On 10-09-23 02:35 PM, Rahkonen Jukka wrote:
> Hi,
>
> My colleague sent me just yesterday the next trick, adopted from better known "Mapserver wrapper script"
>
> Write the following script file and save it as tinyows_secure into the cgi-bin directory
>
>
> #! /bin/sh
> TINYOWS_CONFIG_FILE=/usr/local/tinyows/secure.xml
> export TINYOWS_CONFIG_FILE
> /var/www/localhost/cgi-bin/tinyows
>
> Secured service should be found now from localhost/cgi-bin/tinyows_secure
>
>
>
> I have not tested it myself yet.
>
> -Jukka Rahkonen-
>
>
>
> -----Alkuperäinen viesti-----
> Lähettäjä: tinyows-users-bounces at lists.maptools.org puolesta: Alexandre Dube
> Lähetetty: to 23.9.2010 21:21
> Vastaanottaja: tinyows users
> Aihe: [TinyOWS-users] How to point tinyows to an other config file ?
>
> Hi,
>
>     I need to find a way to secure TinyOWS 'edition' in a very quick and
> easy way.  Here's what I thought :
>
>     * have an other copy of "tinyows" cgi file pointing to an other
> config.xml (in which the layers are editable)
>     * put it a web directory that requires a password to access (with
> .htaccess)
>
>     That would be simple and enough for me.  Only thing that I need to
> figure out is how to change the path to the config file.  Any hint ?  I
> suppose it can be done when compiling but I'm not used to this stuff and
> don't know how to do it.
>
> Many thanks,
>
>    


-- 
Alexandre Dubé
Mapgears
www.mapgears.com

_______________________________________________
TinyOWS-users mailing list
TinyOWS-users at lists.maptools.org
http://lists.maptools.org/mailman/listinfo/tinyows-users



More information about the TinyOWS-users mailing list