[TinyOWS-users] Multiple mapfiles

Rahkonen Jukka Jukka.Rahkonen at mmmtike.fi
Mon Jun 6 12:51:45 EST 2011


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.

-Jukka Rahkonen-



More information about the TinyOWS-users mailing list