Hi!

This problem is fixed in 2.1 release, but in this version you should set up Sharemempath because the defailt setting is broken.
for example:
SharememPath /var/run/fcgid_shm

Bye
 Szabka

Janis Volbergs írta:

Hi there, find below the previous discussion which then resulted in nothing :(


*From: *Janis Volbergs <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>
*Date: *March 2, 2007 2:26:14 PM GMT+02:00
*To: [EMAIL PROTECTED] <mailto:mod-fcgid-users@lists.sourceforge.net>
*Subject: **Re: [Mod-fcgid-users] Problem with FastCgiAccessChecker*


Hi!

Thanks for prompt answer. This did not quite help. Authorizer works (?), but the files under authorizer upon returning have lost their content types..

Let me share more details about app.fcg
It's a C application and for test purpose I basically left following
...
#include <fcgi_stdio.h>
...
int main(){
...
   while (FCGI_Accept() >= 0){
       printf("Status: 200\r\n\r\n");
   }
}
Upon compilation I use "-lfcgi".

Everything compiles and seems to be running smoothly.

Now, if I have the configuration, as you suggested, very strange result we get: 1) It seems that Status 200 is processed correctly, but if to open e.g. test.html
not the test.html is shown but some piece of binary code is returned.. :(
2) Also, it's not display on page, but browser offers to save that output as a file - it gives a feeling that
"Options ExecCGI" just leads to "executing" of the "test.html"..

Any further clues?

Stucked :(

Thanks,
j.


Ryan Pan wrote:


Hi,
   Try
<Location />
     AddHandler fcgid-script .fcg
     Options ExecCGI
     FastCgiAccessChecker /..path_to../app.fcg
</Location>

Thanks

----- Original Message ----- From: "Janis Volbergs" <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>> To: <mod-fcgid-users@lists.sourceforge.net <mailto:mod-fcgid-users@lists.sourceforge.net>>
Sent: Friday, March 02, 2007 4:51 PM
Subject: [Mod-fcgid-users] Problem with FastCgiAccessChecker



Hello!

We are migrating from mod_fastcgi to mod_fcgid. Everything was fine until we needed to set up FastCgiAccessChecker (with apache2)

We tried to do it two ways:
1.
<Location />
    FastCgiAccessChecker /..path_to../app.fcg
</Location>

It seemed that app.fcg was never treated as fcg file (even though,
SetHandler fcgid-script
Options ExecCGI
were present in directory where app.fcg was


2.
<Location />
    SetHandler fcgid-script
    Options ExecCGI
    FastCgiAccessChecker /..path_to../app.fcg
</Location>

Now app.fcg worked fine, but problem is that everything else seemed to be also treated as "cgi" e.g. all the pictures, html's, php.. everything..

So, question, that i'm bringing up, is, how to make this work :)
With mod_fastcgi everything worked smooothly as in the "1" approach.

Thanks a lot.
Janis Volbergs

p.s.
We are using:
  www-apache/mod_fcgid-2.0
  net-www/apache-2.0.58-r2
All on gentoo platform.



------------------------------------------------------------------------

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/

------------------------------------------------------------------------

_______________________________________________
Mod-fcgid-users mailing list
Mod-fcgid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mod-fcgid-users

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Mod-fcgid-users mailing list
Mod-fcgid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mod-fcgid-users

Reply via email to