[TinyOWS-users] How to point tinyows to an other config file ?
Rahkonen Jukka
Jukka.Rahkonen at mmmtike.fi
Thu Sep 23 13:35:26 EST 2010
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