Tim, depending on what language you are using for the wrapper you can either

a. Recompile PHP with CGI/FastCGI support (im pretty sure ms4w/fgs have this as standard)

b. Grab the fcgi module from CPAN for perl

and then reconfigure Apache  with something like

<Directory /mswrapper>
    AddHandler php-fastcgi .php
    Action php-fastcgi /bin/php
    Options +ExecCGI
    SetHandler fastcgi-script
</Directory>

Or if you have already set up a directory for fcgi, simply add a new handler for the file type.

Can't say i've tested the sucker, but i see no reason why it wouldnt when the wrapper itself is executed as pseudo-fcgi :)

ttyl

Chris

Quoting Tim Bowden <[EMAIL PROTECTED]>:

Hi,

We have been testing mapserver with fastcgi and it is much faster
getting data from sde sources than as a plain old cgi app.  Our problem
with it is using a wrapper script- The wrapper script is not a fastcgi
application and when we call mapserv from within the wrapper script it
doesn't get treated as a fastcgi application.  Does anyone have any
pointers as to how we can mix the two?

Thanks,
Tim Bowden
--
Mapforge Geospatial
Level 3/ 267 St Georges Tce
Perth 6000
Western Australia

Reply via email to