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

Alexandre Dube adube at mapgears.com
Thu Sep 23 13:33:55 EST 2010


Hi,

   Found what I needed in ./src/ows_define.h :

#define OWS_CONFIG_FILE_PATH        "/usr/local/tinyows/config-editing.xml"

1) configure
2) edit the file
3) make
4) sudo make install
5) rename the tinyows file and there you go.

Alexandre


On 10-09-23 02:21 PM, Alexandre Dube wrote:
> 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