[TinyOWS-users] How many solution to get the settings

Olivier Courtin olivier.courtin at gmail.com
Sat Feb 4 12:23:25 EST 2012


On Sat, Feb 4, 2012 at 5:27 AM, aperi2007 <aperi2007 at gmail.com> wrote:

Hi Andrea,

actually tinyows get the path to config.xml from an enviroment variable.
>
> I need to have in the same webserver two distinct tinyows each with some
> specific settings.
>
> I'm not able to do this because the path to the config came from the
> same environment variable.
>
> There is some other solution to get the settings.
>
> I like for example to set the path hardcoded on the executable of tinyows.
>
> There is a costant to define this in the code ?
>

in tinyows/src/ows_define.h.in
#define OWS_CONFIG_FILE_PATH        "/etc/tinyows.xml"

Then launch again configure, make...

HTH,

-- 
Olivier
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/tinyows-users/attachments/20120204/bb5ba1ed/attachment.htm 


More information about the TinyOWS-users mailing list