[mapserver-users] fastcgi/no-fastcgi

2008-07-13 Thread William Kyngesburye
While reorganizing my OSX build setup, it occurred to me that I might  
simplify the mapserv CGI build.  I've been compiling 2 separate  
mapserv binaries for with/without fastcgi.


Question: if I build mapserv CGI with fastcgi support, can it still  
run as a normal CGI if desired?



-
William Kyngesburye kyngchaos*at*kyngchaos*dot*com
http://www.kyngchaos.com/

Earth: Mostly harmless

- revised entry in the HitchHiker's Guide to the Galaxy


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] fastcgi/no-fastcgi

2008-07-13 Thread Jeff McKenna

On 13-Jul-08, at 12:13 PM, William Kyngesburye wrote:

While reorganizing my OSX build setup, it occurred to me that I  
might simplify the mapserv CGI build.  I've been compiling 2  
separate mapserv binaries for with/without fastcgi.


Question: if I build mapserv CGI with fastcgi support, can it still  
run as a normal CGI if desired?





I don't think 2 mapserv binaries are necessary.  For MS4W it will be  
one mapserv binary, but Apache will be configured for 2 different  
script aliases for the cgi-bin directory (one with fastcgi settings  
and one without).  So to answer your question: yes a fastcgi-compiled  
mapserv can run as a normal cgi.



---
Jeff McKenna
FOSS4G Consulting and Training Services
http://www.gatewaygeomatics.com/

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] fastcgi/no-fastcgi

2008-07-13 Thread William Kyngesburye

On Jul 13, 2008, at 11:30 AM, Jeff McKenna wrote:


On 13-Jul-08, at 12:13 PM, William Kyngesburye wrote:

While reorganizing my OSX build setup, it occurred to me that I  
might simplify the mapserv CGI build.  I've been compiling 2  
separate mapserv binaries for with/without fastcgi.


Question: if I build mapserv CGI with fastcgi support, can it still  
run as a normal CGI if desired?





I don't think 2 mapserv binaries are necessary.  For MS4W it will be  
one mapserv binary, but Apache will be configured for 2 different  
script aliases for the cgi-bin directory (one with fastcgi settings  
and one without).  So to answer your question: yes a fastcgi- 
compiled mapserv can run as a normal cgi.




So, without the Apache configuration to load and configure the apache  
fastcgi module, mapserv-fcgi would run as a normal CGI?  Makes sense  
I guess.  Took me a while for this to occur to me ;)  Sure simplifies  
compilation (once, not twice).


-
William Kyngesburye kyngchaos*at*kyngchaos*dot*com
http://www.kyngchaos.com/

Time is an illusion - lunchtime doubly so.

- Ford Prefect


___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users