There is a strange thing happened when I use mod_fastcgi. When requested a
php script uri=/info.php, in Apache, actually, there are two requests
processed: uri=/info.php and uri=/cgi-bin/php.fcgi. And neither of them are
the other's sub-request.

However, the request related to fastcgi should be ignored in my own module.
Is there any way to recognize it?

Many thanks!

Vic

2012/3/7 Rui Hu <tchrb...@gmail.com>

> hi,
>
> I am writing a module whose function depends on variable r->uri. But
> r->uri is modified when I activate mod_fastcgi.
>
> 1. I just want to make sure whether mod_fastcgi modified r->uri.
> 2. How to know if mod_fastcgi is activated in my own module? So I can
> handle the request differently depends on this information.
>
> Thanks!
>
> Vic
>
> --
> Best regards,
>
> Rui Hu
>
> ----------------------------------------------------------------------------------------
> State Key Laboratory of Networking & Switching Technology
> Beijing University of Posts and Telecommunications(BUPT)
> MSN: tchrb...@gmail.com
>
> -----------------------------------------------------------------------------------------
>
>
>


-- 
Best regards,

Rui Hu
----------------------------------------------------------------------------------------
State Key Laboratory of Networking & Switching Technology
Beijing University of Posts and Telecommunications(BUPT)
MSN: tchrb...@gmail.com
-----------------------------------------------------------------------------------------

Reply via email to