[TinyOWS-users] Multiple mapfiles
Alexandre Dube
adube at mapgears.com
Mon Jun 6 13:26:56 EST 2011
Jukka,
On 11-06-06 01:51 PM, Rahkonen Jukka wrote:
> Hi,
>
> How about using a shell script? This works with tinyows config files, why not with mapfiles? Actually this procedure is stolen from Mapserver documents.
>
> I made a live test for you by making a simplified copy of tinyows.xml and naming it as tinyows_debug.xml. Then I made this script called "tinyows_debug" into cgi-bin directory
>
> #! /bin/sh
> TINYOWS_CONFIG_FILE=/etc/tinyows_debug.xml
> export TINYOWS_CONFIG_FILE
> /usr/lib/cgi-bin/tinyows
>
> You can compare the results from
>
> http://188.64.1.61/cgi-bin/tinyows?service=wfs&version=1.1.0&request=getcapabilities
> and
> http://188.64.1.61/cgi-bin/tinyows_debug?service=wfs&version=1.1.0&request=getcapabilities
>
> No need to do anything on the Apache side.
That's a brilliant idea. We'll do that.
Thanks a lot,
--
Alexandre Dubé
Mapgears
www.mapgears.com
More information about the TinyOWS-users
mailing list