rewrite rule for php easter eggs

Renaud Allard renaud at llorien.org
Mon Apr 14 01:49:22 MSD 2008



Cliff Wells wrote:
> On Sun, 2008-04-13 at 10:14 +0200, Renaud Allard wrote:
>> Hello,
>>
>> I am trying to wrote a rewrite rule to forbid the request of PHP easter
>> eggs.
> 
> Add this to php.ini:
> 
> expose_php = off
> 

Thanks. It works when used on php sites I have control of.
However, this obviously doesn't work on sites I just proxy. But this is 
an info I can easily pass on sites I proxy for.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3291 bytes
Desc: S/MIME Cryptographic Signature
URL: <http://nginx.org/pipermail/nginx/attachments/20080413/bab1a07b/attachment.bin>


More information about the nginx mailing list