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]>
>To: <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.
>>
>>
>>
>>
>>-------------------------------------------------------------------------
>>Take Surveys. Earn Cash. Influence the Future of IT
>>Join SourceForge.net's Techsay panel and you'll get the chance to share your
>>opinions on IT & business topics through brief surveys-and earn cash
>>http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>>_______________________________________________
>>Mod-fcgid-users mailing list
>>Mod-fcgid-users@lists.sourceforge.net
>>https://lists.sourceforge.net/lists/listinfo/mod-fcgid-users
>>
>>    
>>
>-------------------------------------------------------------------------
>Take Surveys. Earn Cash. Influence the Future of IT
>Join SourceForge.net's Techsay panel and you'll get the chance to share your
>opinions on IT & business topics through brief surveys-and earn cash
>http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>_______________________________________________
>Mod-fcgid-users mailing list
>Mod-fcgid-users@lists.sourceforge.net
>https://lists.sourceforge.net/lists/listinfo/mod-fcgid-users
>  
>


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Mod-fcgid-users mailing list
Mod-fcgid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mod-fcgid-users

Reply via email to