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

Alexandre Dube adube at mapgears.com
Thu Sep 23 15:08:07 EST 2010


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



More information about the TinyOWS-users mailing list