<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://blog.gmane.org/gmane.comp.web.fastcgi.devel">
    <title>gmane.comp.web.fastcgi.devel</title>
    <link>http://blog.gmane.org/gmane.comp.web.fastcgi.devel</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.fastcgi.devel/3299"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.fastcgi.devel/3298"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.fastcgi.devel/3295"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.fastcgi.devel/3291"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.fastcgi.devel/3290"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.fastcgi.devel/3289"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.fastcgi.devel/3283"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.fastcgi.devel/3282"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.fastcgi.devel/3279"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.fastcgi.devel/3276"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.fastcgi.devel/3275"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.fastcgi.devel/3273"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.fastcgi.devel/3272"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.fastcgi.devel/3271"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.fastcgi.devel/3270"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.fastcgi.devel/3269"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.fastcgi.devel/3266"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.fastcgi.devel/3265"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.fastcgi.devel/3264"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.web.fastcgi.devel/3262"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.fastcgi.devel/3299">
    <title>install mod_fastcgi to apache</title>
    <link>http://comments.gmane.org/gmane.comp.web.fastcgi.devel/3299</link>
    <description>&lt;pre&gt;
Hi Folks,

I am new to fastcgi and today just downloaded and compiled the fastcgi module 2.4.0, by doing

1.       configure

2.       make &amp;amp; make install

I notice both "libcgi++.a" and "libcgi.a" are copied to "/usr/local/lib" directory after installation.


Now I want to add the module statically to my apache 2.2.6 package, so I can build a new apache server with mod_fastcgi statically linked in, however I couldn't find a proper way to do it. By looking at the installation manual, I go to &amp;lt;apache_dir&amp;gt; and do "./configure --activate-module=src/modules/fcgi-2.4.0/libfastcgi.a" but it complains no such command option.



Can anyone help me? Thanks!


Best Regards!
Tony


________________________________

This communication may contain information that is proprietary, confidential or otherwise exempt from disclosure. If you are not the intended recipient, please note that any dissemination, distribution, or copying of this communication is strictly prohibited. Persons receiving this communication in error should notify the sender immediately by telephone or by return e-mail and delete this message from his or her computer.

For Translation: http://www.fenwalinc.com/Pages/EmailDisclaimer.aspx
_______________________________________________
FastCGI-developers mailing list
FastCGI-developers-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR&amp;lt; at &amp;gt;public.gmane.org
http://mailman.fastcgi.com/mailman/listinfo/fastcgi-developers
&lt;/pre&gt;</description>
    <dc:creator>Jia, Yicheng</dc:creator>
    <dc:date>2013-04-17T22:40:38</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.fastcgi.devel/3298">
    <title>install mod_fastcgi to apache</title>
    <link>http://comments.gmane.org/gmane.comp.web.fastcgi.devel/3298</link>
    <description>&lt;pre&gt;Hi Folks,

I am new to fastcgi and today just downloaded and compiled the fastcgi module 2.4.0, by doing

1.       configure

2.       make &amp;amp; make install

I notice both "libcgi++.a" and "libcgi.a" are copied to "/usr/local/lib" directory after installation.


Now I want to add the module statically to my apache 2.2.6 package, so I can build a new apache server with mod_fastcgi statically linked in, however I couldn't find a proper way to do it. By looking at the installation manual, I go to &amp;lt;apache_dir&amp;gt; and do "./configure --activate-module=src/modules/fcgi-2.4.0/libfastcgi.a" but it complains no such command option.



Can anyone help me? Thanks!


Best Regards!
Tony


________________________________

This communication may contain information that is proprietary, confidential or otherwise exempt from disclosure. If you are not the intended recipient, please note that any dissemination, distribution, or copying of this communication is strictly prohibited. Persons receiving this communication in error should notify the sender immediately by telephone or by return e-mail and delete this message from his or her computer.

For Translation: http://www.fenwalinc.com/Pages/EmailDisclaimer.aspx
_______________________________________________
FastCGI-developers mailing list
FastCGI-developers-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR&amp;lt; at &amp;gt;public.gmane.org
http://mailman.fastcgi.com/mailman/listinfo/fastcgi-developers
&lt;/pre&gt;</description>
    <dc:creator>Jia, Yicheng</dc:creator>
    <dc:date>2013-04-17T22:34:50</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.fastcgi.devel/3295">
    <title>Supress error 500 by baiduspider</title>
    <link>http://comments.gmane.org/gmane.comp.web.fastcgi.devel/3295</link>
    <description>&lt;pre&gt;Hello.

Since recent upgrade of mod_fastcgi I keep getting this:

FastCGI: client stopped connection before send body completed
FastCGI: client stopped connection before send body completed
Handler for fastcgi-script returned invalid result code 53

This is caused by baiduspider and ancient IEs. It seems that they
close the socket before server could send the data. This result in
error 500.

Could you please help me suppress this error (I don't want to see it
in access.log as I get an email for every such an error) while still
logging the event in error.log?
&lt;/pre&gt;</description>
    <dc:creator>Ross</dc:creator>
    <dc:date>2013-04-07T05:26:23</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.fastcgi.devel/3291">
    <title>Getting request headers (sent by the browser)</title>
    <link>http://comments.gmane.org/gmane.comp.web.fastcgi.devel/3291</link>
    <description>&lt;pre&gt;Hey all,

I'm using the Java reference implementation from fastcgi.com. What I can't
figure out (neither from the white paper nor from looking at the code
itself) is:

How can I get at the actual header variables sent by the browser to the
webserver? From what I can tell they're not in the input stream...

I'm sorry if I missed something obvious, but I'm stuck and a little hint
would be greatly appreciated.

Thanks,

Udo
_______________________________________________
FastCGI-developers mailing list
FastCGI-developers-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR&amp;lt; at &amp;gt;public.gmane.org
http://mailman.fastcgi.com/mailman/listinfo/fastcgi-developers
&lt;/pre&gt;</description>
    <dc:creator>Udo Schroeter</dc:creator>
    <dc:date>2013-03-16T16:21:36</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.fastcgi.devel/3290">
    <title>Fastcgi issues</title>
    <link>http://comments.gmane.org/gmane.comp.web.fastcgi.devel/3290</link>
    <description>&lt;pre&gt;Hi all,

Appologies if tis is not the right mailing list – most of the communications I’ve seen have been to do with C programming...

... but can anyone help with memory / execution errors when using PHP on a server running as FASTCGI. (or recommend another source of help).

Thanks_______________________________________________
FastCGI-developers mailing list
FastCGI-developers-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR&amp;lt; at &amp;gt;public.gmane.org
http://mailman.fastcgi.com/mailman/listinfo/fastcgi-developers
&lt;/pre&gt;</description>
    <dc:creator>kevin-feSdMDAAUge4GREz4Yby5rVCufUGDwFn&lt; at &gt;public.gmane.org</dc:creator>
    <dc:date>2013-03-05T11:14:54</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.fastcgi.devel/3289">
    <title>Session Management</title>
    <link>http://comments.gmane.org/gmane.comp.web.fastcgi.devel/3289</link>
    <description>&lt;pre&gt;Hi,

I am new in FastCGI programming using C. I am using nginx Web
 Server. I have been trying to store session for a user as he logs in, 
but apart from using cookies I am not able to find any other way. I 
tried googling regarding this issue where I found some links talking 
about session affinity. Can anyone tell me how will session affinity be 
implemented? The basic problem which I was facing is that if I use 
socket file descriptor returned by OS_Accept or try to store information
 in some environment variable then that information gets lost in next 
call to FCGX_Accept.


Any kind of help is most welcome.

Regards._______________________________________________
FastCGI-developers mailing list
FastCGI-developers-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR&amp;lt; at &amp;gt;public.gmane.org
http://mailman.fastcgi.com/mailman/listinfo/fastcgi-developers
&lt;/pre&gt;</description>
    <dc:creator>Abc Def</dc:creator>
    <dc:date>2013-03-05T06:39:12</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.fastcgi.devel/3283">
    <title>can a httpd fcgi module start sending generated response while the request message body is still being transmitted to the app?</title>
    <link>http://comments.gmane.org/gmane.comp.web.fastcgi.devel/3283</link>
    <description>&lt;pre&gt;Hi all!

I was trying to send a (chunked-encoding) answer that was being
generated after each chunk of the POST-ed message body was being
received. I tried with both mod_fcgid and mod_proxy_fcgi and
both seem to buffer output until all POSTed message body was
delivered to the application
(they just passed back what was generated after the headers were
accepted, but not after the body started coming. In fact, mod_fcgid
kept crashing if much of the response was building up)

So is this the typical way httpd's fcgi modules handle communication
with a fcgi content generator? won't alternate write/read over
the STDOUT_FILENO that connect the server with the app? (i.e. treat
it as a bidirectinal pipe or open another unidirectional pair?)
If so, have you heard of any better httpd module that can solve this?

any answer/idea or pointer will be greatly appreciated!

best regards

Tand Read
&lt;/pre&gt;</description>
    <dc:creator>tandread-pvs+CRRe+RBQFI55V6+gNQ&lt; at &gt;public.gmane.org</dc:creator>
    <dc:date>2013-01-20T19:33:58</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.fastcgi.devel/3282">
    <title>Problem Debug FastCGI</title>
    <link>http://comments.gmane.org/gmane.comp.web.fastcgi.devel/3282</link>
    <description>&lt;pre&gt;Hi,

i'm trying to debug my fastcgi with dbg .

When attaching the process i get the error:

Attaching to process 4912
Reading symbols from
/home/joana/public_html/testfcgi/Echofastcpp.fcgi...done.
Reading symbols from /usr/lib/libfcgi++.so.0...(no debugging symbols
found)...done.
Loaded symbols for /usr/lib/libfcgi++.so.0
Reading symbols from /usr/lib/i386-linux-gnu/libstdc++.so.6...(no debugging
symbols found)...done.
Loaded symbols for /usr/lib/i386-linux-gnu/libstdc++.so.6
Reading symbols from /lib/i386-linux-gnu/libgcc_s.so.1...(no debugging
symbols found)...done.
Loaded symbols for /lib/i386-linux-gnu/libgcc_s.so.1
Reading symbols from /lib/i386-linux-gnu/libc.so.6...(no debugging symbols
found)...done.
Loaded symbols for /lib/i386-linux-gnu/libc.so.6
Reading symbols from /usr/local/lib/libfcgi.so.0...done.
Loaded symbols for /usr/local/lib/libfcgi.so.0
Reading symbols from /lib/i386-linux-gnu/libm.so.6...(no debugging symbols
found)...done.
Loaded symbols for /lib/i386-linux-gnu/libm.so.6
Reading symbols from /lib/ld-linux.so.2...(no debugging symbols
found)...done.
Loaded symbols for /lib/ld-linux.so.2
0x00e2e416 in __kernel_vsyscall ()

What am i doing wrong ?



thanks,
Joana
_______________________________________________
FastCGI-developers mailing list
FastCGI-developers-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR&amp;lt; at &amp;gt;public.gmane.org
http://mailman.fastcgi.com/mailman/listinfo/fastcgi-developers
&lt;/pre&gt;</description>
    <dc:creator>Joana Santos</dc:creator>
    <dc:date>2013-01-12T11:14:01</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.fastcgi.devel/3279">
    <title>FASTCGI - How to Debug C++ fastfcgi</title>
    <link>http://comments.gmane.org/gmane.comp.web.fastcgi.devel/3279</link>
    <description>&lt;pre&gt;Hi,

I'm new in fastcgi/cgi development and i'm new in c++ development too.

The IDE i'm using is eclipse.
I'm using apache2 web server installed in one XUbuntu virtual machine.

In my FastCGI i'm using *fcgi_stdio* .

Sometimes i get internal server error in my fastcgi script and if i go to
apache log i don't find enough information to locate my error.
I think my problem could have something about memory allocation.

If i create a console application project and put my classes there all
works fine.
But when i call my classes from the fastcgi sometimes i receive an Internal
server error.

I would like some help to :

 - debug my fastcgi script and be able to simulate GET, POST and PUT
requests (i'm developing an web application that submits ajax requests.)

 - how to catch this kind of error in my fastcgi and treat it.


thanks,
Joana
_______________________________________________
FastCGI-developers mailing list
FastCGI-developers-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR&amp;lt; at &amp;gt;public.gmane.org
http://mailman.fastcgi.com/mailman/listinfo/fastcgi-developers
&lt;/pre&gt;</description>
    <dc:creator>Joana Santos</dc:creator>
    <dc:date>2013-01-08T08:44:23</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.fastcgi.devel/3276">
    <title>Hello</title>
    <link>http://comments.gmane.org/gmane.comp.web.fastcgi.devel/3276</link>
    <description>&lt;pre&gt;I am happy to use fcgi-devkit. I want to write some applications with it. I
found that the fcgi to c++ interface is not so convenient, so I want to
wrap fcgiapp.h or else. Do I need to start a new project or should I
contribute my code to fcgi-devkit?
_______________________________________________
FastCGI-developers mailing list
FastCGI-developers-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR&amp;lt; at &amp;gt;public.gmane.org
http://mailman.fastcgi.com/mailman/listinfo/fastcgi-developers
&lt;/pre&gt;</description>
    <dc:creator>Jesse</dc:creator>
    <dc:date>2013-01-07T13:00:55</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.fastcgi.devel/3275">
    <title>Hello</title>
    <link>http://comments.gmane.org/gmane.comp.web.fastcgi.devel/3275</link>
    <description>&lt;pre&gt;I am happy to use fcgi-devkit. I want to write some applications with it. I
found that the fcgi to c++ interface is not so convenient, so I want to
wrap fcgiapp.h or else. Do I need to start a new project or should I
contribute my code to fcgi-devkit?

Thank you very much.
_______________________________________________
FastCGI-developers mailing list
FastCGI-developers-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR&amp;lt; at &amp;gt;public.gmane.org
http://mailman.fastcgi.com/mailman/listinfo/fastcgi-developers
&lt;/pre&gt;</description>
    <dc:creator>Jesse</dc:creator>
    <dc:date>2013-01-07T12:57:21</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.fastcgi.devel/3273">
    <title>fastcgi test example always corrupted</title>
    <link>http://comments.gmane.org/gmane.comp.web.fastcgi.devel/3273</link>
    <description>&lt;pre&gt;I use examples/tiny-fcgi.c to test fastcgi.  The web server is using lighttpd. When I test it in web browser, it always prompted HTTP 500 internal server error.  I saw information in /var/log/messages about test.fcgi, there was segfault error.  How to fix the problem?_______________________________________________
FastCGI-developers mailing list
FastCGI-developers-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR&amp;lt; at &amp;gt;public.gmane.org
http://mailman.fastcgi.com/mailman/listinfo/fastcgi-developers
&lt;/pre&gt;</description>
    <dc:creator>zhu shi song</dc:creator>
    <dc:date>2012-11-19T06:22:07</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.fastcgi.devel/3272">
    <title>FASTCGI - strange caracters after POST/PUT</title>
    <link>http://comments.gmane.org/gmane.comp.web.fastcgi.devel/3272</link>
    <description>&lt;pre&gt;Hi,

I start using fastcgi an I have a strange problem when getting de value
send by POST/PUT method.  When I try to get the content and then write it
to cout strange characters appear.

For example if I post/put  test123_test446 sometimes in my html page i get
the correct value returned but sometimes I get something like  (some
strange characters appear):

                content: test123_test446s://r�

or
                content: test123_test446 Hk

I have apache 2.2 with mod_fastcgi enabled.

 In my client I’m using XMLHttpRequest to send the PUT/POST requests.

This happens when using fcgiapp:

char * content=new char[len];

FCGX_GetStr(content, len, in);
FCGX_FPrintF(out, "&amp;lt;/br&amp;gt; content: %s ", content);


Thanks,

JV
_______________________________________________
FastCGI-developers mailing list
FastCGI-developers-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR&amp;lt; at &amp;gt;public.gmane.org
http://mailman.fastcgi.com/mailman/listinfo/fastcgi-developers
&lt;/pre&gt;</description>
    <dc:creator>Joana Santos</dc:creator>
    <dc:date>2012-11-18T10:14:07</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.fastcgi.devel/3271">
    <title>mod_fastcgi-SNAP-0910052141 doesn't compile against httpd-2.4.3; here's a patch. (eom)</title>
    <link>http://comments.gmane.org/gmane.comp.web.fastcgi.devel/3271</link>
    <description>&lt;pre&gt;----- Forwarded message from  -----

Date: Sun, 11 Nov 2012 19:09:14 -0600
To: fastcgi-developers-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR&amp;lt; at &amp;gt;public.gmane.org
Cc: robs-VYFNfGabXYtBDgjK7y7TUQ&amp;lt; at &amp;gt;public.gmane.org, djbpitt-fYq5UfK3d1k&amp;lt; at &amp;gt;public.gmane.org, arturz-Sd0XuJVzD+XR7s880joybQ&amp;lt; at &amp;gt;public.gmane.org
Subject: mod_fastcgi-SNAP-0910052141 doesn't compile against httpd-2.4.3;
 here's a patch. (eom)
User-Agent: Mutt/1.5.21+52 (c26dbc7021f4) (2011-07-01)

diff -Naur mod_fastcgi-SNAP-0910052141-orig/fcgi.h mod_fastcgi-SNAP-0910052141/fcgi.h
--- mod_fastcgi-SNAP-0910052141-orig/fcgi.h2012-11-11 16:55:39.274425161 -0800
+++ mod_fastcgi-SNAP-0910052141/fcgi.h2012-11-11 16:58:36.914431603 -0800
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -57,10 +57,10 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 #define XtOffsetOf APR_OFFSETOF
 #define ap_select select
 
-#define ap_user_id        unixd_config.user_id
-#define ap_group_id       unixd_config.group_id
-#define ap_user_name      unixd_config.user_name
-#define ap_suexec_enabled unixd_config.suexec_enabled
+#define ap_user_id        ap_unixd_config.user_id
+#define ap_group_id       ap_unixd_config.group_id
+#define ap_user_name      ap_unixd_config.user_name
+#define ap_suexec_enabled ap_unixd_config.suexec_enabled
 
 #ifndef S_ISDIR
 #define S_ISDIR(m)      (((m)&amp;amp;(S_IFMT)) == (S_IFDIR))
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -354,82 +354,82 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 #ifdef APACHE2
 
 #ifdef WIN32
-#define FCGI_LOG_EMERG          __FILE__,__LINE__,APLOG_EMERG,APR_FROM_OS_ERROR(GetLastError())
-#define FCGI_LOG_ALERT          __FILE__,__LINE__,APLOG_ALERT,APR_FROM_OS_ERROR(GetLastError())
-#define FCGI_LOG_CRIT           __FILE__,__LINE__,APLOG_CRIT,APR_FROM_OS_ERROR(GetLastError())
-#define FCGI_LOG_ERR            __FILE__,__LINE__,APLOG_ERR,APR_FROM_OS_ERROR(GetLastError())
-#define FCGI_LOG_WARN           __FILE__,__LINE__,APLOG_WARNING,APR_FROM_OS_ERROR(GetLastError())
-#define FCGI_LOG_NOTICE         __FILE__,__LINE__,APLOG_NOTICE,APR_FROM_OS_ERROR(GetLastError())
-#define FCGI_LOG_INFO           __FILE__,__LINE__,APLOG_INFO,APR_FROM_OS_ERROR(GetLastError())
-#define FCGI_LOG_DEBUG          __FILE__,__LINE__,APLOG_DEBUG,APR_FROM_OS_ERROR(GetLastError())
+#define FCGI_LOG_EMERG          APLOG_MARK,APLOG_EMERG,APR_FROM_OS_ERROR(GetLastError())
+#define FCGI_LOG_ALERT          APLOG_MARK,APLOG_ALERT,APR_FROM_OS_ERROR(GetLastError())
+#define FCGI_LOG_CRIT           APLOG_MARK,APLOG_CRIT,APR_FROM_OS_ERROR(GetLastError())
+#define FCGI_LOG_ERR            APLOG_MARK,APLOG_ERR,APR_FROM_OS_ERROR(GetLastError())
+#define FCGI_LOG_WARN           APLOG_MARK,APLOG_WARNING,APR_FROM_OS_ERROR(GetLastError())
+#define FCGI_LOG_NOTICE         APLOG_MARK,APLOG_NOTICE,APR_FROM_OS_ERROR(GetLastError())
+#define FCGI_LOG_INFO           APLOG_MARK,APLOG_INFO,APR_FROM_OS_ERROR(GetLastError())
+#define FCGI_LOG_DEBUG          APLOG_MARK,APLOG_DEBUG,APR_FROM_OS_ERROR(GetLastError())
 #else /* !WIN32 */
-#define FCGI_LOG_EMERG          __FILE__,__LINE__,APLOG_EMERG,APR_FROM_OS_ERROR(errno)
-#define FCGI_LOG_ALERT          __FILE__,__LINE__,APLOG_ALERT,APR_FROM_OS_ERROR(errno)
-#define FCGI_LOG_CRIT           __FILE__,__LINE__,APLOG_CRIT,APR_FROM_OS_ERROR(errno)
-#define FCGI_LOG_ERR            __FILE__,__LINE__,APLOG_ERR,APR_FROM_OS_ERROR(errno)
-#define FCGI_LOG_WARN           __FILE__,__LINE__,APLOG_WARNING,APR_FROM_OS_ERROR(errno)
-#define FCGI_LOG_NOTICE         __FILE__,__LINE__,APLOG_NOTICE,APR_FROM_OS_ERROR(errno)
-#define FCGI_LOG_INFO           __FILE__,__LINE__,APLOG_INFO,APR_FROM_OS_ERROR(errno)
-#define FCGI_LOG_DEBUG          __FILE__,__LINE__,APLOG_DEBUG,APR_FROM_OS_ERROR(errno)
-#endif
-
-#define FCGI_LOG_EMERG_ERRNO    __FILE__,__LINE__,APLOG_EMERG,APR_FROM_OS_ERROR(errno)
-#define FCGI_LOG_ALERT_ERRNO    __FILE__,__LINE__,APLOG_ALERT,APR_FROM_OS_ERROR(errno)
-#define FCGI_LOG_CRIT_ERRNO     __FILE__,__LINE__,APLOG_CRIT,APR_FROM_OS_ERROR(errno)
-#define FCGI_LOG_ERR_ERRNO      __FILE__,__LINE__,APLOG_ERR,APR_FROM_OS_ERROR(errno)
-#define FCGI_LOG_WARN_ERRNO     __FILE__,__LINE__,APLOG_WARNING,APR_FROM_OS_ERROR(errno)
-#define FCGI_LOG_NOTICE_ERRNO   __FILE__,__LINE__,APLOG_NOTICE,APR_FROM_OS_ERROR(errno)
-#define FCGI_LOG_INFO_ERRNO     __FILE__,__LINE__,APLOG_INFO,APR_FROM_OS_ERROR(errno)
-#define FCGI_LOG_DEBUG_ERRNO    __FILE__,__LINE__,APLOG_DEBUG,APR_FROM_OS_ERROR(errno)
-
-#define FCGI_LOG_EMERG_NOERRNO    __FILE__,__LINE__,APLOG_EMERG,0
-#define FCGI_LOG_ALERT_NOERRNO    __FILE__,__LINE__,APLOG_ALERT,0
-#define FCGI_LOG_CRIT_NOERRNO     __FILE__,__LINE__,APLOG_CRIT,0
-#define FCGI_LOG_ERR_NOERRNO      __FILE__,__LINE__,APLOG_ERR,0
-#define FCGI_LOG_WARN_NOERRNO     __FILE__,__LINE__,APLOG_WARNING,0
-#define FCGI_LOG_NOTICE_NOERRNO   __FILE__,__LINE__,APLOG_NOTICE,0
-#define FCGI_LOG_INFO_NOERRNO     __FILE__,__LINE__,APLOG_INFO,0
-#define FCGI_LOG_DEBUG_NOERRNO    __FILE__,__LINE__,APLOG_DEBUG,0
+#define FCGI_LOG_EMERG          APLOG_MARK,APLOG_EMERG,APR_FROM_OS_ERROR(errno)
+#define FCGI_LOG_ALERT          APLOG_MARK,APLOG_ALERT,APR_FROM_OS_ERROR(errno)
+#define FCGI_LOG_CRIT           APLOG_MARK,APLOG_CRIT,APR_FROM_OS_ERROR(errno)
+#define FCGI_LOG_ERR            APLOG_MARK,APLOG_ERR,APR_FROM_OS_ERROR(errno)
+#define FCGI_LOG_WARN           APLOG_MARK,APLOG_WARNING,APR_FROM_OS_ERROR(errno)
+#define FCGI_LOG_NOTICE         APLOG_MARK,APLOG_NOTICE,APR_FROM_OS_ERROR(errno)
+#define FCGI_LOG_INFO           APLOG_MARK,APLOG_INFO,APR_FROM_OS_ERROR(errno)
+#define FCGI_LOG_DEBUG          APLOG_MARK,APLOG_DEBUG,APR_FROM_OS_ERROR(errno)
+#endif
+
+#define FCGI_LOG_EMERG_ERRNO    APLOG_MARK,APLOG_EMERG,APR_FROM_OS_ERROR(errno)
+#define FCGI_LOG_ALERT_ERRNO    APLOG_MARK,APLOG_ALERT,APR_FROM_OS_ERROR(errno)
+#define FCGI_LOG_CRIT_ERRNO     APLOG_MARK,APLOG_CRIT,APR_FROM_OS_ERROR(errno)
+#define FCGI_LOG_ERR_ERRNO      APLOG_MARK,APLOG_ERR,APR_FROM_OS_ERROR(errno)
+#define FCGI_LOG_WARN_ERRNO     APLOG_MARK,APLOG_WARNING,APR_FROM_OS_ERROR(errno)
+#define FCGI_LOG_NOTICE_ERRNO   APLOG_MARK,APLOG_NOTICE,APR_FROM_OS_ERROR(errno)
+#define FCGI_LOG_INFO_ERRNO     APLOG_MARK,APLOG_INFO,APR_FROM_OS_ERROR(errno)
+#define FCGI_LOG_DEBUG_ERRNO    APLOG_MARK,APLOG_DEBUG,APR_FROM_OS_ERROR(errno)
+
+#define FCGI_LOG_EMERG_NOERRNO    APLOG_MARK,APLOG_EMERG,0
+#define FCGI_LOG_ALERT_NOERRNO    APLOG_MARK,APLOG_ALERT,0
+#define FCGI_LOG_CRIT_NOERRNO     APLOG_MARK,APLOG_CRIT,0
+#define FCGI_LOG_ERR_NOERRNO      APLOG_MARK,APLOG_ERR,0
+#define FCGI_LOG_WARN_NOERRNO     APLOG_MARK,APLOG_WARNING,0
+#define FCGI_LOG_NOTICE_NOERRNO   APLOG_MARK,APLOG_NOTICE,0
+#define FCGI_LOG_INFO_NOERRNO     APLOG_MARK,APLOG_INFO,0
+#define FCGI_LOG_DEBUG_NOERRNO    APLOG_MARK,APLOG_DEBUG,0
 
 #else /* !APACHE2 */
 
 #ifdef WIN32
-#define FCGI_LOG_EMERG          __FILE__,__LINE__,APLOG_EMERG|APLOG_WIN32ERROR
-#define FCGI_LOG_ALERT          __FILE__,__LINE__,APLOG_ALERT|APLOG_WIN32ERROR
-#define FCGI_LOG_CRIT           __FILE__,__LINE__,APLOG_CRIT|APLOG_WIN32ERROR
-#define FCGI_LOG_ERR            __FILE__,__LINE__,APLOG_ERR|APLOG_WIN32ERROR
-#define FCGI_LOG_WARN           __FILE__,__LINE__,APLOG_WARNING|APLOG_WIN32ERROR
-#define FCGI_LOG_NOTICE         __FILE__,__LINE__,APLOG_NOTICE|APLOG_WIN32ERROR
-#define FCGI_LOG_INFO           __FILE__,__LINE__,APLOG_INFO|APLOG_WIN32ERROR
-#define FCGI_LOG_DEBUG          __FILE__,__LINE__,APLOG_DEBUG|APLOG_WIN32ERROR
+#define FCGI_LOG_EMERG          APLOG_MARK,APLOG_EMERG|APLOG_WIN32ERROR
+#define FCGI_LOG_ALERT          APLOG_MARK,APLOG_ALERT|APLOG_WIN32ERROR
+#define FCGI_LOG_CRIT           APLOG_MARK,APLOG_CRIT|APLOG_WIN32ERROR
+#define FCGI_LOG_ERR            APLOG_MARK,APLOG_ERR|APLOG_WIN32ERROR
+#define FCGI_LOG_WARN           APLOG_MARK,APLOG_WARNING|APLOG_WIN32ERROR
+#define FCGI_LOG_NOTICE         APLOG_MARK,APLOG_NOTICE|APLOG_WIN32ERROR
+#define FCGI_LOG_INFO           APLOG_MARK,APLOG_INFO|APLOG_WIN32ERROR
+#define FCGI_LOG_DEBUG          APLOG_MARK,APLOG_DEBUG|APLOG_WIN32ERROR
 #else /* !WIN32 */
-#define FCGI_LOG_EMERG          __FILE__,__LINE__,APLOG_EMERG
-#define FCGI_LOG_ALERT          __FILE__,__LINE__,APLOG_ALERT
-#define FCGI_LOG_CRIT           __FILE__,__LINE__,APLOG_CRIT
-#define FCGI_LOG_ERR            __FILE__,__LINE__,APLOG_ERR
-#define FCGI_LOG_WARN           __FILE__,__LINE__,APLOG_WARNING
-#define FCGI_LOG_NOTICE         __FILE__,__LINE__,APLOG_NOTICE
-#define FCGI_LOG_INFO           __FILE__,__LINE__,APLOG_INFO
-#define FCGI_LOG_DEBUG          __FILE__,__LINE__,APLOG_DEBUG
-#endif
-
-#define FCGI_LOG_EMERG_ERRNO    __FILE__,__LINE__,APLOG_EMERG     /* system is unusable */
-#define FCGI_LOG_ALERT_ERRNO    __FILE__,__LINE__,APLOG_ALERT     /* action must be taken immediately */
-#define FCGI_LOG_CRIT_ERRNO     __FILE__,__LINE__,APLOG_CRIT      /* critical conditions */
-#define FCGI_LOG_ERR_ERRNO      __FILE__,__LINE__,APLOG_ERR       /* error conditions */
-#define FCGI_LOG_WARN_ERRNO     __FILE__,__LINE__,APLOG_WARNING   /* warning conditions */
-#define FCGI_LOG_NOTICE_ERRNO   __FILE__,__LINE__,APLOG_NOTICE    /* normal but significant condition */
-#define FCGI_LOG_INFO_ERRNO     __FILE__,__LINE__,APLOG_INFO      /* informational */
-#define FCGI_LOG_DEBUG_ERRNO    __FILE__,__LINE__,APLOG_DEBUG     /* debug-level messages */
-
-#define FCGI_LOG_EMERG_NOERRNO    __FILE__,__LINE__,APLOG_EMERG|APLOG_NOERRNO
-#define FCGI_LOG_ALERT_NOERRNO    __FILE__,__LINE__,APLOG_ALERT|APLOG_NOERRNO
-#define FCGI_LOG_CRIT_NOERRNO     __FILE__,__LINE__,APLOG_CRIT|APLOG_NOERRNO
-#define FCGI_LOG_ERR_NOERRNO      __FILE__,__LINE__,APLOG_ERR|APLOG_NOERRNO
-#define FCGI_LOG_WARN_NOERRNO     __FILE__,__LINE__,APLOG_WARNING|APLOG_NOERRNO
-#define FCGI_LOG_NOTICE_NOERRNO   __FILE__,__LINE__,APLOG_NOTICE|APLOG_NOERRNO
-#define FCGI_LOG_INFO_NOERRNO     __FILE__,__LINE__,APLOG_INFO|APLOG_NOERRNO
-#define FCGI_LOG_DEBUG_NOERRNO    __FILE__,__LINE__,APLOG_DEBUG|APLOG_NOERRNO
+#define FCGI_LOG_EMERG          APLOG_MARK,APLOG_EMERG
+#define FCGI_LOG_ALERT          APLOG_MARK,APLOG_ALERT
+#define FCGI_LOG_CRIT           APLOG_MARK,APLOG_CRIT
+#define FCGI_LOG_ERR            APLOG_MARK,APLOG_ERR
+#define FCGI_LOG_WARN           APLOG_MARK,APLOG_WARNING
+#define FCGI_LOG_NOTICE         APLOG_MARK,APLOG_NOTICE
+#define FCGI_LOG_INFO           APLOG_MARK,APLOG_INFO
+#define FCGI_LOG_DEBUG          APLOG_MARK,APLOG_DEBUG
+#endif
+
+#define FCGI_LOG_EMERG_ERRNO    APLOG_MARK,APLOG_EMERG     /* system is unusable */
+#define FCGI_LOG_ALERT_ERRNO    APLOG_MARK,APLOG_ALERT     /* action must be taken immediately */
+#define FCGI_LOG_CRIT_ERRNO     APLOG_MARK,APLOG_CRIT      /* critical conditions */
+#define FCGI_LOG_ERR_ERRNO      APLOG_MARK,APLOG_ERR       /* error conditions */
+#define FCGI_LOG_WARN_ERRNO     APLOG_MARK,APLOG_WARNING   /* warning conditions */
+#define FCGI_LOG_NOTICE_ERRNO   APLOG_MARK,APLOG_NOTICE    /* normal but significant condition */
+#define FCGI_LOG_INFO_ERRNO     APLOG_MARK,APLOG_INFO      /* informational */
+#define FCGI_LOG_DEBUG_ERRNO    APLOG_MARK,APLOG_DEBUG     /* debug-level messages */
+
+#define FCGI_LOG_EMERG_NOERRNO    APLOG_MARK,APLOG_EMERG|APLOG_NOERRNO
+#define FCGI_LOG_ALERT_NOERRNO    APLOG_MARK,APLOG_ALERT|APLOG_NOERRNO
+#define FCGI_LOG_CRIT_NOERRNO     APLOG_MARK,APLOG_CRIT|APLOG_NOERRNO
+#define FCGI_LOG_ERR_NOERRNO      APLOG_MARK,APLOG_ERR|APLOG_NOERRNO
+#define FCGI_LOG_WARN_NOERRNO     APLOG_MARK,APLOG_WARNING|APLOG_NOERRNO
+#define FCGI_LOG_NOTICE_NOERRNO   APLOG_MARK,APLOG_NOTICE|APLOG_NOERRNO
+#define FCGI_LOG_INFO_NOERRNO     APLOG_MARK,APLOG_INFO|APLOG_NOERRNO
+#define FCGI_LOG_DEBUG_NOERRNO    APLOG_MARK,APLOG_DEBUG|APLOG_NOERRNO
 
 #endif /* !APACHE2 */
 


----- End forwarded message -----
diff -Naur mod_fastcgi-SNAP-0910052141-orig/fcgi.h mod_fastcgi-SNAP-0910052141/fcgi.h
--- mod_fastcgi-SNAP-0910052141-orig/fcgi.h2012-11-11 16:55:39.274425161 -0800
+++ mod_fastcgi-SNAP-0910052141/fcgi.h2012-11-11 16:58:36.914431603 -0800
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -57,10 +57,10 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 #define XtOffsetOf APR_OFFSETOF
 #define ap_select select
 
-#define ap_user_id        unixd_config.user_id
-#define ap_group_id       unixd_config.group_id
-#define ap_user_name      unixd_config.user_name
-#define ap_suexec_enabled unixd_config.suexec_enabled
+#define ap_user_id        ap_unixd_config.user_id
+#define ap_group_id       ap_unixd_config.group_id
+#define ap_user_name      ap_unixd_config.user_name
+#define ap_suexec_enabled ap_unixd_config.suexec_enabled
 
 #ifndef S_ISDIR
 #define S_ISDIR(m)      (((m)&amp;amp;(S_IFMT)) == (S_IFDIR))
&amp;lt; at &amp;gt;&amp;lt; at &amp;gt; -354,82 +354,82 &amp;lt; at &amp;gt;&amp;lt; at &amp;gt;
 #ifdef APACHE2
 
 #ifdef WIN32
-#define FCGI_LOG_EMERG          __FILE__,__LINE__,APLOG_EMERG,APR_FROM_OS_ERROR(GetLastError())
-#define FCGI_LOG_ALERT          __FILE__,__LINE__,APLOG_ALERT,APR_FROM_OS_ERROR(GetLastError())
-#define FCGI_LOG_CRIT           __FILE__,__LINE__,APLOG_CRIT,APR_FROM_OS_ERROR(GetLastError())
-#define FCGI_LOG_ERR            __FILE__,__LINE__,APLOG_ERR,APR_FROM_OS_ERROR(GetLastError())
-#define FCGI_LOG_WARN           __FILE__,__LINE__,APLOG_WARNING,APR_FROM_OS_ERROR(GetLastError())
-#define FCGI_LOG_NOTICE         __FILE__,__LINE__,APLOG_NOTICE,APR_FROM_OS_ERROR(GetLastError())
-#define FCGI_LOG_INFO           __FILE__,__LINE__,APLOG_INFO,APR_FROM_OS_ERROR(GetLastError())
-#define FCGI_LOG_DEBUG          __FILE__,__LINE__,APLOG_DEBUG,APR_FROM_OS_ERROR(GetLastError())
+#define FCGI_LOG_EMERG          APLOG_MARK,APLOG_EMERG,APR_FROM_OS_ERROR(GetLastError())
+#define FCGI_LOG_ALERT          APLOG_MARK,APLOG_ALERT,APR_FROM_OS_ERROR(GetLastError())
+#define FCGI_LOG_CRIT           APLOG_MARK,APLOG_CRIT,APR_FROM_OS_ERROR(GetLastError())
+#define FCGI_LOG_ERR            APLOG_MARK,APLOG_ERR,APR_FROM_OS_ERROR(GetLastError())
+#define FCGI_LOG_WARN           APLOG_MARK,APLOG_WARNING,APR_FROM_OS_ERROR(GetLastError())
+#define FCGI_LOG_NOTICE         APLOG_MARK,APLOG_NOTICE,APR_FROM_OS_ERROR(GetLastError())
+#define FCGI_LOG_INFO           APLOG_MARK,APLOG_INFO,APR_FROM_OS_ERROR(GetLastError())
+#define FCGI_LOG_DEBUG          APLOG_MARK,APLOG_DEBUG,APR_FROM_OS_ERROR(GetLastError())
 #else /* !WIN32 */
-#define FCGI_LOG_EMERG          __FILE__,__LINE__,APLOG_EMERG,APR_FROM_OS_ERROR(errno)
-#define FCGI_LOG_ALERT          __FILE__,__LINE__,APLOG_ALERT,APR_FROM_OS_ERROR(errno)
-#define FCGI_LOG_CRIT           __FILE__,__LINE__,APLOG_CRIT,APR_FROM_OS_ERROR(errno)
-#define FCGI_LOG_ERR            __FILE__,__LINE__,APLOG_ERR,APR_FROM_OS_ERROR(errno)
-#define FCGI_LOG_WARN           __FILE__,__LINE__,APLOG_WARNING,APR_FROM_OS_ERROR(errno)
-#define FCGI_LOG_NOTICE         __FILE__,__LINE__,APLOG_NOTICE,APR_FROM_OS_ERROR(errno)
-#define FCGI_LOG_INFO           __FILE__,__LINE__,APLOG_INFO,APR_FROM_OS_ERROR(errno)
-#define FCGI_LOG_DEBUG          __FILE__,__LINE__,APLOG_DEBUG,APR_FROM_OS_ERROR(errno)
-#endif
-
-#define FCGI_LOG_EMERG_ERRNO    __FILE__,__LINE__,APLOG_EMERG,APR_FROM_OS_ERROR(errno)
-#define FCGI_LOG_ALERT_ERRNO    __FILE__,__LINE__,APLOG_ALERT,APR_FROM_OS_ERROR(errno)
-#define FCGI_LOG_CRIT_ERRNO     __FILE__,__LINE__,APLOG_CRIT,APR_FROM_OS_ERROR(errno)
-#define FCGI_LOG_ERR_ERRNO      __FILE__,__LINE__,APLOG_ERR,APR_FROM_OS_ERROR(errno)
-#define FCGI_LOG_WARN_ERRNO     __FILE__,__LINE__,APLOG_WARNING,APR_FROM_OS_ERROR(errno)
-#define FCGI_LOG_NOTICE_ERRNO   __FILE__,__LINE__,APLOG_NOTICE,APR_FROM_OS_ERROR(errno)
-#define FCGI_LOG_INFO_ERRNO     __FILE__,__LINE__,APLOG_INFO,APR_FROM_OS_ERROR(errno)
-#define FCGI_LOG_DEBUG_ERRNO    __FILE__,__LINE__,APLOG_DEBUG,APR_FROM_OS_ERROR(errno)
-
-#define FCGI_LOG_EMERG_NOERRNO    __FILE__,__LINE__,APLOG_EMERG,0
-#define FCGI_LOG_ALERT_NOERRNO    __FILE__,__LINE__,APLOG_ALERT,0
-#define FCGI_LOG_CRIT_NOERRNO     __FILE__,__LINE__,APLOG_CRIT,0
-#define FCGI_LOG_ERR_NOERRNO      __FILE__,__LINE__,APLOG_ERR,0
-#define FCGI_LOG_WARN_NOERRNO     __FILE__,__LINE__,APLOG_WARNING,0
-#define FCGI_LOG_NOTICE_NOERRNO   __FILE__,__LINE__,APLOG_NOTICE,0
-#define FCGI_LOG_INFO_NOERRNO     __FILE__,__LINE__,APLOG_INFO,0
-#define FCGI_LOG_DEBUG_NOERRNO    __FILE__,__LINE__,APLOG_DEBUG,0
+#define FCGI_LOG_EMERG          APLOG_MARK,APLOG_EMERG,APR_FROM_OS_ERROR(errno)
+#define FCGI_LOG_ALERT          APLOG_MARK,APLOG_ALERT,APR_FROM_OS_ERROR(errno)
+#define FCGI_LOG_CRIT           APLOG_MARK,APLOG_CRIT,APR_FROM_OS_ERROR(errno)
+#define FCGI_LOG_ERR            APLOG_MARK,APLOG_ERR,APR_FROM_OS_ERROR(errno)
+#define FCGI_LOG_WARN           APLOG_MARK,APLOG_WARNING,APR_FROM_OS_ERROR(errno)
+#define FCGI_LOG_NOTICE         APLOG_MARK,APLOG_NOTICE,APR_FROM_OS_ERROR(errno)
+#define FCGI_LOG_INFO           APLOG_MARK,APLOG_INFO,APR_FROM_OS_ERROR(errno)
+#define FCGI_LOG_DEBUG          APLOG_MARK,APLOG_DEBUG,APR_FROM_OS_ERROR(errno)
+#endif
+
+#define FCGI_LOG_EMERG_ERRNO    APLOG_MARK,APLOG_EMERG,APR_FROM_OS_ERROR(errno)
+#define FCGI_LOG_ALERT_ERRNO    APLOG_MARK,APLOG_ALERT,APR_FROM_OS_ERROR(errno)
+#define FCGI_LOG_CRIT_ERRNO     APLOG_MARK,APLOG_CRIT,APR_FROM_OS_ERROR(errno)
+#define FCGI_LOG_ERR_ERRNO      APLOG_MARK,APLOG_ERR,APR_FROM_OS_ERROR(errno)
+#define FCGI_LOG_WARN_ERRNO     APLOG_MARK,APLOG_WARNING,APR_FROM_OS_ERROR(errno)
+#define FCGI_LOG_NOTICE_ERRNO   APLOG_MARK,APLOG_NOTICE,APR_FROM_OS_ERROR(errno)
+#define FCGI_LOG_INFO_ERRNO     APLOG_MARK,APLOG_INFO,APR_FROM_OS_ERROR(errno)
+#define FCGI_LOG_DEBUG_ERRNO    APLOG_MARK,APLOG_DEBUG,APR_FROM_OS_ERROR(errno)
+
+#define FCGI_LOG_EMERG_NOERRNO    APLOG_MARK,APLOG_EMERG,0
+#define FCGI_LOG_ALERT_NOERRNO    APLOG_MARK,APLOG_ALERT,0
+#define FCGI_LOG_CRIT_NOERRNO     APLOG_MARK,APLOG_CRIT,0
+#define FCGI_LOG_ERR_NOERRNO      APLOG_MARK,APLOG_ERR,0
+#define FCGI_LOG_WARN_NOERRNO     APLOG_MARK,APLOG_WARNING,0
+#define FCGI_LOG_NOTICE_NOERRNO   APLOG_MARK,APLOG_NOTICE,0
+#define FCGI_LOG_INFO_NOERRNO     APLOG_MARK,APLOG_INFO,0
+#define FCGI_LOG_DEBUG_NOERRNO    APLOG_MARK,APLOG_DEBUG,0
 
 #else /* !APACHE2 */
 
 #ifdef WIN32
-#define FCGI_LOG_EMERG          __FILE__,__LINE__,APLOG_EMERG|APLOG_WIN32ERROR
-#define FCGI_LOG_ALERT          __FILE__,__LINE__,APLOG_ALERT|APLOG_WIN32ERROR
-#define FCGI_LOG_CRIT           __FILE__,__LINE__,APLOG_CRIT|APLOG_WIN32ERROR
-#define FCGI_LOG_ERR            __FILE__,__LINE__,APLOG_ERR|APLOG_WIN32ERROR
-#define FCGI_LOG_WARN           __FILE__,__LINE__,APLOG_WARNING|APLOG_WIN32ERROR
-#define FCGI_LOG_NOTICE         __FILE__,__LINE__,APLOG_NOTICE|APLOG_WIN32ERROR
-#define FCGI_LOG_INFO           __FILE__,__LINE__,APLOG_INFO|APLOG_WIN32ERROR
-#define FCGI_LOG_DEBUG          __FILE__,__LINE__,APLOG_DEBUG|APLOG_WIN32ERROR
+#define FCGI_LOG_EMERG          APLOG_MARK,APLOG_EMERG|APLOG_WIN32ERROR
+#define FCGI_LOG_ALERT          APLOG_MARK,APLOG_ALERT|APLOG_WIN32ERROR
+#define FCGI_LOG_CRIT           APLOG_MARK,APLOG_CRIT|APLOG_WIN32ERROR
+#define FCGI_LOG_ERR            APLOG_MARK,APLOG_ERR|APLOG_WIN32ERROR
+#define FCGI_LOG_WARN           APLOG_MARK,APLOG_WARNING|APLOG_WIN32ERROR
+#define FCGI_LOG_NOTICE         APLOG_MARK,APLOG_NOTICE|APLOG_WIN32ERROR
+#define FCGI_LOG_INFO           APLOG_MARK,APLOG_INFO|APLOG_WIN32ERROR
+#define FCGI_LOG_DEBUG          APLOG_MARK,APLOG_DEBUG|APLOG_WIN32ERROR
 #else /* !WIN32 */
-#define FCGI_LOG_EMERG          __FILE__,__LINE__,APLOG_EMERG
-#define FCGI_LOG_ALERT          __FILE__,__LINE__,APLOG_ALERT
-#define FCGI_LOG_CRIT           __FILE__,__LINE__,APLOG_CRIT
-#define FCGI_LOG_ERR            __FILE__,__LINE__,APLOG_ERR
-#define FCGI_LOG_WARN           __FILE__,__LINE__,APLOG_WARNING
-#define FCGI_LOG_NOTICE         __FILE__,__LINE__,APLOG_NOTICE
-#define FCGI_LOG_INFO           __FILE__,__LINE__,APLOG_INFO
-#define FCGI_LOG_DEBUG          __FILE__,__LINE__,APLOG_DEBUG
-#endif
-
-#define FCGI_LOG_EMERG_ERRNO    __FILE__,__LINE__,APLOG_EMERG     /* system is unusable */
-#define FCGI_LOG_ALERT_ERRNO    __FILE__,__LINE__,APLOG_ALERT     /* action must be taken immediately */
-#define FCGI_LOG_CRIT_ERRNO     __FILE__,__LINE__,APLOG_CRIT      /* critical conditions */
-#define FCGI_LOG_ERR_ERRNO      __FILE__,__LINE__,APLOG_ERR       /* error conditions */
-#define FCGI_LOG_WARN_ERRNO     __FILE__,__LINE__,APLOG_WARNING   /* warning conditions */
-#define FCGI_LOG_NOTICE_ERRNO   __FILE__,__LINE__,APLOG_NOTICE    /* normal but significant condition */
-#define FCGI_LOG_INFO_ERRNO     __FILE__,__LINE__,APLOG_INFO      /* informational */
-#define FCGI_LOG_DEBUG_ERRNO    __FILE__,__LINE__,APLOG_DEBUG     /* debug-level messages */
-
-#define FCGI_LOG_EMERG_NOERRNO    __FILE__,__LINE__,APLOG_EMERG|APLOG_NOERRNO
-#define FCGI_LOG_ALERT_NOERRNO    __FILE__,__LINE__,APLOG_ALERT|APLOG_NOERRNO
-#define FCGI_LOG_CRIT_NOERRNO     __FILE__,__LINE__,APLOG_CRIT|APLOG_NOERRNO
-#define FCGI_LOG_ERR_NOERRNO      __FILE__,__LINE__,APLOG_ERR|APLOG_NOERRNO
-#define FCGI_LOG_WARN_NOERRNO     __FILE__,__LINE__,APLOG_WARNING|APLOG_NOERRNO
-#define FCGI_LOG_NOTICE_NOERRNO   __FILE__,__LINE__,APLOG_NOTICE|APLOG_NOERRNO
-#define FCGI_LOG_INFO_NOERRNO     __FILE__,__LINE__,APLOG_INFO|APLOG_NOERRNO
-#define FCGI_LOG_DEBUG_NOERRNO    __FILE__,__LINE__,APLOG_DEBUG|APLOG_NOERRNO
+#define FCGI_LOG_EMERG          APLOG_MARK,APLOG_EMERG
+#define FCGI_LOG_ALERT          APLOG_MARK,APLOG_ALERT
+#define FCGI_LOG_CRIT           APLOG_MARK,APLOG_CRIT
+#define FCGI_LOG_ERR            APLOG_MARK,APLOG_ERR
+#define FCGI_LOG_WARN           APLOG_MARK,APLOG_WARNING
+#define FCGI_LOG_NOTICE         APLOG_MARK,APLOG_NOTICE
+#define FCGI_LOG_INFO           APLOG_MARK,APLOG_INFO
+#define FCGI_LOG_DEBUG          APLOG_MARK,APLOG_DEBUG
+#endif
+
+#define FCGI_LOG_EMERG_ERRNO    APLOG_MARK,APLOG_EMERG     /* system is unusable */
+#define FCGI_LOG_ALERT_ERRNO    APLOG_MARK,APLOG_ALERT     /* action must be taken immediately */
+#define FCGI_LOG_CRIT_ERRNO     APLOG_MARK,APLOG_CRIT      /* critical conditions */
+#define FCGI_LOG_ERR_ERRNO      APLOG_MARK,APLOG_ERR       /* error conditions */
+#define FCGI_LOG_WARN_ERRNO     APLOG_MARK,APLOG_WARNING   /* warning conditions */
+#define FCGI_LOG_NOTICE_ERRNO   APLOG_MARK,APLOG_NOTICE    /* normal but significant condition */
+#define FCGI_LOG_INFO_ERRNO     APLOG_MARK,APLOG_INFO      /* informational */
+#define FCGI_LOG_DEBUG_ERRNO    APLOG_MARK,APLOG_DEBUG     /* debug-level messages */
+
+#define FCGI_LOG_EMERG_NOERRNO    APLOG_MARK,APLOG_EMERG|APLOG_NOERRNO
+#define FCGI_LOG_ALERT_NOERRNO    APLOG_MARK,APLOG_ALERT|APLOG_NOERRNO
+#define FCGI_LOG_CRIT_NOERRNO     APLOG_MARK,APLOG_CRIT|APLOG_NOERRNO
+#define FCGI_LOG_ERR_NOERRNO      APLOG_MARK,APLOG_ERR|APLOG_NOERRNO
+#define FCGI_LOG_WARN_NOERRNO     APLOG_MARK,APLOG_WARNING|APLOG_NOERRNO
+#define FCGI_LOG_NOTICE_NOERRNO   APLOG_MARK,APLOG_NOTICE|APLOG_NOERRNO
+#define FCGI_LOG_INFO_NOERRNO     APLOG_MARK,APLOG_INFO|APLOG_NOERRNO
+#define FCGI_LOG_DEBUG_NOERRNO    APLOG_MARK,APLOG_DEBUG|APLOG_NOERRNO
 
 #endif /* !APACHE2 */
 
_______________________________________________
FastCGI-developers mailing list
FastCGI-developers-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR&amp;lt; at &amp;gt;public.gmane.org
http://mailman.fastcgi.com/mailman/listinfo/fastcgi-developers
&lt;/pre&gt;</description>
    <dc:creator>Peter Danenberg</dc:creator>
    <dc:date>2012-11-17T00:53:13</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.fastcgi.devel/3270">
    <title>Fix for Mac OS X</title>
    <link>http://comments.gmane.org/gmane.comp.web.fastcgi.devel/3270</link>
    <description>&lt;pre&gt;Hi,

The current fastcgi doesn't build very well on Mac OS X unless with this
patch:

https://gist.github.com/1646327/

Could you review it and merge with the code base?


Regards,

yllan
_______________________________________________
FastCGI-developers mailing list
FastCGI-developers-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR&amp;lt; at &amp;gt;public.gmane.org
http://mailman.fastcgi.com/mailman/listinfo/fastcgi-developers
&lt;/pre&gt;</description>
    <dc:creator>Yung-Luen Lan</dc:creator>
    <dc:date>2012-11-16T04:05:36</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.fastcgi.devel/3269">
    <title>tuning mod_fcgid on apache servers</title>
    <link>http://comments.gmane.org/gmane.comp.web.fastcgi.devel/3269</link>
    <description>&lt;pre&gt;Some questions for the following errors:

[Mon Oct 22 10:00:12 2012] [warn] [client 109.104.93.106] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
[Mon Oct 22 10:00:12 2012] [warn] [client 109.104.93.106] (104)Connection reset by peer: mod_fcgid: ap_pass_brigade failed in handle_request_ipc function.

I have scanned the web, but it just gets more confusing as to how my config should be - I need some expert advise


1) Where can I look for more information on the error - these appear to be generic 'go-away' messages. Can I list processes on the server and x-ref against settings in the conf file. 
2) Is there a logfile somewhere that would tell me - max processes reached / max i/o reached etc.
3) It always seems to be the same script that fails (process mail bounces) even though the mailbox is empty - therefore my assumption is that it's doing the same amount of work each time. It's like the script runs and works a couple of times especially after a 'reconfig all', but then the FCGID processes / tasks run out of memory / steam so the next time it runs - it fails until it finds a new fresh task


As a relative newbie - please excuse any initial 'stupid requests/ questions'

Regards
-------------------------
Kevin Littlewood
 
The Rabbit Patch Ltd
Tel: 0845 643 1163
Mob: 07985 955547
Follow our new blog at http://www.therabbitpatch.co.uk 
 
Publishers of
www.visitFleetwood.info
www.visitCleveleys.info
www.visitPoulton-le-Fylde.info
www.liveBlackpool.info
www.visitStAnnes.info
www.visitLytham.info
www.visitFyldeCoast.info_______________________________________________
FastCGI-developers mailing list
FastCGI-developers-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR&amp;lt; at &amp;gt;public.gmane.org
http://mailman.fastcgi.com/mailman/listinfo/fastcgi-developers
&lt;/pre&gt;</description>
    <dc:creator>kevin-feSdMDAAUge4GREz4Yby5rVCufUGDwFn&lt; at &gt;public.gmane.org</dc:creator>
    <dc:date>2012-10-22T09:28:35</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.fastcgi.devel/3266">
    <title>Does fastcgi application send signal to another process</title>
    <link>http://comments.gmane.org/gmane.comp.web.fastcgi.devel/3266</link>
    <description>&lt;pre&gt;I tried to send SIGQUIT to another process to kill it. But I'm failed, the system said that the fastcgi application doesn't have enough priviledge to do this operation. So how should I solve this issue? Is it OK to use pipe to notify process to exit?_______________________________________________
FastCGI-developers mailing list
FastCGI-developers-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR&amp;lt; at &amp;gt;public.gmane.org
http://mailman.fastcgi.com/mailman/listinfo/fastcgi-developers
&lt;/pre&gt;</description>
    <dc:creator>Tony</dc:creator>
    <dc:date>2012-10-11T11:41:26</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.fastcgi.devel/3265">
    <title>Regarding the authorize</title>
    <link>http://comments.gmane.org/gmane.comp.web.fastcgi.devel/3265</link>
    <description>&lt;pre&gt;Hi,

         I use the  authorizer module to control user access my page.

         But it seems doesn’t work correctly.

         Even if I input the user name as “doe” and password as “xxxx”,
the authorize dialog still pops up.

 

         Another question is how fastcgi redirect into another page in c++
language?

 

    Thanks in advance.

_______________________________________________
FastCGI-developers mailing list
FastCGI-developers-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR&amp;lt; at &amp;gt;public.gmane.org
http://mailman.fastcgi.com/mailman/listinfo/fastcgi-developers
&lt;/pre&gt;</description>
    <dc:creator>梦幻工作室</dc:creator>
    <dc:date>2012-10-10T12:02:23</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.fastcgi.devel/3264">
    <title>EAGAIN error in socket_send()[mod_fastcgi-2.4.6] call</title>
    <link>http://comments.gmane.org/gmane.comp.web.fastcgi.devel/3264</link>
    <description>&lt;pre&gt;Hi All,

I am using httpd-2.2.22/mod_fastcgi-2.4.6/fcgi-2.4.0 on Solaris10 OS.
some times I am getting EAGAIN error in socket_send() call present in
mod_fastcgi-2.4.6 and file name is fcgi_buf.c.

code for socket_send() function is as follows:

static int socket_send(int fd, char * buf, int len)
{
    int bytes_sent;
    do {
        bytes_sent = write(fd, buf, len);
        if (bytes_sent &amp;lt; 0)
        {
#ifdef EWOULDBLOCK
            ASSERT(errno != EWOULDBLOCK);
#endif
#ifdef EAGAIN
            ASSERT(errno != EAGAIN);
#endif
        }
    }
    while (bytes_sent == -1 &amp;amp;&amp;amp; errno == EINTR);
    return bytes_sent;
}

I dont want to abort sending data if EAGAIN error pops up.
Can we handle EAGAIN/EWOULDBLOCK error and continue with the loop?
same case present for sock_recv() call also.

Thanks,
Santosh
_______________________________________________
FastCGI-developers mailing list
FastCGI-developers-xGejAJT2w6xVgU18Zptdi0EOCMrvLtNR&amp;lt; at &amp;gt;public.gmane.org
http://mailman.fastcgi.com/mailman/listinfo/fastcgi-developers
&lt;/pre&gt;</description>
    <dc:creator>Santosh Mankar</dc:creator>
    <dc:date>2012-09-25T06:04:27</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.fastcgi.devel/3262">
    <title>logging from fcgi</title>
    <link>http://comments.gmane.org/gmane.comp.web.fastcgi.devel/3262</link>
    <description>&lt;pre&gt;In short, I print into some /var/log/apache2/myapp.log file from a fcgi application under apache. You can see the configuration changes which I performed after the "====================================" line.

As a result:
in /etc/cron.daily/sysklogd:
Code:

/etc/init.d/sysklogd reload-or-restart &amp;gt; /dev/null

calls:
in /etc/init.d/sysklogd:
Code:

sudo start-stop-daemon --stop --quiet --signal 1 --pidfile /var/run/syslogd.pid --name syslogd

and myapp.fcgi stops writing to myapp.log and it stays like that.

I changed:
in /etc/cron.daily/sysklogd:
Code:

/etc/init.d/sysklogd restart &amp;gt; /dev/null

and now:
Code:

sudo logrotate -f /etc/logrotate.conf

restarts all apache2 processes excepting one and kills myapp.fcgi.

It appears that the combination of apache2, fcgi and syslog makes a perfect mess of my logging. Of course, all system and apache2 native logging works flawlessly. Anybody with some experience in linux, please give me any advice. Do I have a chance to solve this?

===================================================================

Configuration:

I am using Ubuntu 8.04 lts server, Apache web server.

My (fast cgi) application uses:
Code:

#include &amp;lt;syslog.h&amp;gt;
syslog(LOG_LOCAL6|LOG_INFO, "new n= %d;\n", count);

to log some activity messages.
At the end of /etc/syslog.conf I added:
Code:

local6.=info -/var/log/apache2/myapp.log

In /etc/syslog.conf I added to each selector which contained "myapp.log":
Code:

;local6.!=info

like this:
Code:

*.*;auth,authpriv.none;local6.!=info            -/var/log/syslog

and:
Code:

*.=info;*.=notice;*.=warn;\
         auth,authpriv.none;\
         cron,daemon.none;\
         mail,news.none;local6.!=info            -/var/log/messages
&lt;/pre&gt;</description>
    <dc:creator>Doru Georgescu</dc:creator>
    <dc:date>2012-09-19T15:41:59</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.web.fastcgi.devel/3251">
    <title>Return application octet-stream data</title>
    <link>http://comments.gmane.org/gmane.comp.web.fastcgi.devel/3251</link>
    <description>&lt;pre&gt;Hello,

I am attempting to write a small CGI client in C++ that will use Google's protocol buffers to manage data.  I am using the latest release of fast cig, with Nginx.  

Google's protocol buffers library serializes a string into a "binary format".  I need to be able to send that format back as a response.  (Details on the format are here: https://developers.google.com/protocol-buffers/docs/encoding)

 My test program sends an POST request to the server, and expects an application/octet-stream back of a serialized string from the CGI script.

I am able to start and run the application fine. 

My CGI code is able to successfully receive the POST and pass the data fro the received string.  That works great.

The problem is in returning back a response.  I am able to create and serialized a proper response (using protobuf library).  I can then dump the contents to a log file and verify that they are perfect.  HOWEVER, the receiving program is unable to recognize the binary response sent back from the CGI.  Somehow, it is getting mangled in sending the response.  I can't figure out why.

Any and all suggestion are welcome.

Thank You,

--
Noah

Relevant code snippets:


CGI snippet
==========================================================
string post_response;
bid_response.SerializeToString(&amp;amp;post_response)
cout &amp;lt;&amp;lt; "Status: 200 OK\r\n";
cout &amp;lt;&amp;lt; "Content-type: application/octet-stream\r\n\r\n";
cout &amp;lt;&amp;lt; post_response &amp;lt;&amp;lt; "\n";


Nginx config
==========================================================
location ~ test.cgi$ {
fastcgi_pass   127.0.0.1:8000;
include        fastcgi_params;
default_type application/octet-stream;
fastcgi_pass_header http;
}
&lt;/pre&gt;</description>
    <dc:creator>Noah Silverman</dc:creator>
    <dc:date>2012-09-18T16:38:09</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.comp.web.fastcgi.devel">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.web.fastcgi.devel</link>
  </textinput>
</rdf:RDF>
