Re: PHP-FPM security.limit_extensions
| From: | Nilesh Govindrajan | Date: | Thu, 23 Feb 2012 12:20:53 +0000 |
| Subject: | Re: PHP-FPM security.limit_extensions | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-316764@lists.php.net to get a copy of this message | ||
On Feb 23, 2012 2:46 PM, "Paspao" <paspao@gmail.com> 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