Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当我将 .htaccess 文件放在站点根目录中时,是否有一种方法可以在config.php站点范围内自动添加我的文件.htaccess彼此?
config.php
.htaccess
如果 php 是 httpd 模块,则可以在 .htaccess 中指定:
php_value auto_prepend_file config.php