<div>hello all, sorry for posting this again, but i have been trying a </div>  <div>lot to get the fastcgi work with Apache 2.0.55 and mapserver 4.8.&nbsp; </div>  <div>After loading the fastcgi dll and copying the libfcgi.dll and the </div>  <div>libfcgi.lib files to the cgi-bin directory i tried to change the </div>  <div>apache configuration file by adding<BR>&nbsp;<BR>&lt;Directory "/Apache2/fcgi-bin"&gt;<BR>SetHandler fastcgi-script<BR>Options ExecCGI<BR>Allow from all<BR>&lt;/Directory&gt;<BR>&nbsp;<BR>and copied all the required dll and lib files for fastcgi into </div>  <div>fcgi-bin directory, but still the SDE database opens a new </div>  <div>connection for every request, i even added the PROCESSING </div>  <div>"CLOSE_CONNECTION=DEFER" to all the sde layers.<BR>&nbsp;<BR>i couldnt find a way to make it work as there is very little </div>  <div>information that i could find on the web, any suggestions would </div>  <div>help a lot ...<BR>&nbsp;<BR>Thanks for your
 time,<BR>kris<BR><BR><BR><B><I>kris rock &lt;kris_rock82@YAHOO.COM&gt;</I></B> wrote:</div>  <BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">  <DIV>Thanks for you reply frank, i added the line to the SDE layers and still it didnt work ... </DIV>  <DIV>i followed your instrcutions for win32 in <A href="http://mapserver.gis.umn.edu/docs/howto/fastcgi" target=_blank rel=nofollow><FONT color=#003399>http://mapserver.gis.umn.edu/docs/howto/fastcgi</FONT></A>&nbsp;and compiled libfcgi to get the dll and lib files. Copied the dll file to cgi-bin dir and didnt add anything in the apache conf file and still the fastcgi doesnt work. </DIV>  <DIV>&nbsp;</DIV>  <DIV>After compiling libfcgi do i have to add anything in the apache conf file.</DIV>  <DIV>&nbsp;</DIV>  <DIV>Thanks for your time ...</DIV>  <DIV>kris<BR><BR><BR><B><I>Frank Warmerdam &lt;warmerdam@pobox.com&gt;</I></B> wrote:</DIV>  <BLOCKQUOTE class=replbq
 style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">kris rock wrote:<BR>&gt; Hello all,<BR>&gt; i configured mapserver with fastcgi support on a windows machine <BR>&gt; with apache webserver. Downloaded the mod_fastcgi-2.4.2-AP20.dll from <BR>&gt; fastcgi website and copied into the modules folder in apache. Added the <BR>&gt; following line to the apache conf file<BR>&gt; LoadModule fastcgi_module "modules/mod_fastcgi-2.4.2-AP20.dll"<BR>&gt; <BR>&gt; but this doesnt make fastcgi work with apache and mapserver. I tested <BR>&gt; this by sending a request to the sde server and see if only one <BR>&gt; connection is opened for the database, but everytime i send a request a <BR>&gt; new connection opens and closes as soon as the request is finished. <BR>&gt; <BR>&gt; Is there something else that i have to do for fastcgi working with <BR>&gt; apache and mapserver.<BR><BR>Kris,<BR><BR>You also need to add the following line to all SDE
 layers.<BR><BR>PROCESSING "CLOSE_CONNECTION=DEFER"<BR><BR>Best regards,<BR>-- <BR>---------------------------------------+--------------------------------------<BR>I set the clouds in motion - turn up | Frank Warmerdam, warmerdam@pobox.com<BR>light and sound - activate the windows | http://pobox.com/~warmerdam<BR>and watch the world go round - Rush | President OSGeo, http://osgeo.org<BR><BR></BLOCKQUOTE><BR>  <div><FONT color=#666666><FONT size=2>  <HR SIZE=1>  Sponsored Link</FONT></FONT><BR><BR>Rates near 39yr lows. $420,000 Loan for $1399/mo - <A href="http://www.lowermybills.com/lre/index.jsp?sourceid=lmb-9136-16418&amp;moid=4116">Calculate new house payment</A></BLOCKQUOTE><BR><p>&#32;

<hr size=1>Any questions?  Get answers on any topic at <a href="http://answers.yahoo.com/;_ylc=X3oDMTFvbGNhMGE3BF9TAzM5NjU0NTEwOARfcwMzOTY1NDUxMDMEc2VjA21haWxfdGFnbGluZQRzbGsDbWFpbF90YWcx">Yahoo! Answers</a>. Try it now.