auto_prepend_file不适用于php文件

时间:2018-04-20 19:09:59

标签: php .htaccess

我这里有一个.htaccess文件,似乎只是在我添加时才添加html文件。我已经搜索,改变并完成了所有事情,我无法得到它!这是我的.htaccess文件的样子:

<FilesMatch \.(?i:txt)$>
Order Allow,Deny
Deny from all 
</FilesMatch>

php_value date.timezone 'America/Los_Angeles'

AddType application/x-httpd-php .html .htm

php_value auto_prepend_file "/home/u684233983/public_html/includes/block.php" 
php_value auto_prepend_file "/home/u684233983/public_html/includes/particles.html" 
php_value auto_append_file "/home/u684233983/public_html/includes/particlesEnd.html" 

<Files VPN.php>
php_value auto_prepend_file none 
php_value auto_append_file none 
</Files>  
<Files CheckUser.php>
php_value auto_prepend_file none 
php_value auto_append_file none 
</Files> 
<Files CheckIP.php>
php_value auto_prepend_file none 
php_value auto_append_file none 
</Files> 
<Files Whitelist.php>
php_value auto_prepend_file none 
php_value auto_append_file none 
</Files> 
<Files Payment-Success.php>
php_value auto_prepend_file none 
php_value auto_append_file none 
</Files> 
<Files Admin.php>
php_value auto_prepend_file none 
php_value auto_append_file none 
</Files> 
<Files log.php>
php_value auto_prepend_file none 
php_value auto_append_file none 
</Files> 

它没有添加“blocked.php”(是的,我查了一下。它在那个目录中) 它添加了particle.html和particlesEnd.html。 任何帮助表示赞赏!

0 个答案:

没有答案