Yasuo Ohgaki in php.internals (Mon, 23 Feb 2015 18:53:10 +0900):
>On Mon, Feb 23, 2015 at 6:52 PM, Yasuo Ohgaki <yohg...@ohgaki.net> wrote:
>
>> ini_set('.php .phar .module .etc');
>
>ini_set('zend.script_extensions', '.php .phar .module .etc');
>
>to be correct.

Quote from a Drupal 7 .htaccess:

# Protect files and directories from prying eyes.
<FilesMatch
"\.(engine|inc|info|install|make|module|profile|test|po|sh|.*sql|theme|tpl(\.php)?|xtmpl)$|^(\..*|Entries.*|Repository|Root|Tag|Template)$">
  Order allow,deny
</FilesMatch>

A lot of these, even .test, are used as include scripts. How would the
corresponding .htaccess entry for zend.script_extensions be formulated?

Jan

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to