Re: PHP-FPM security.limit_extensions

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Feb 23, 2012 2:46 PM, "Paspao" <paspao@xxxxxxxxx> wrote:
>
> Hello ,
>
> I need to parse PHP files with no extension , I was getting access denied
error than I discovered that it was cause by security.limit_extensions
option in PHP-FPM config file.
>
> I tried to add the script name (testscript) to the configuration file and
now it works:
>
> security.limit_extensions = .php .php3 .php4 .php5 testscript
>
> I do not want to add all filenames and then restart php-fpm each time, is
there a way to parse all file without extension or a wildcard to put in
configuration?
>
>
> Thank you
> P.
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>

I'm not sure why would you want to do that. Why dont you use rewrite rules
instead?

--
Nilesh Govindrajan
http://nileshgr.com

[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux