.htaccess htaccess中的变量
如何在.htaccess中设置某些变量,.htaccess的这部分:.htaccess htaccess中的变量,.htaccess,.htaccess,如何在.htaccess中设置某些变量,.htaccess的这部分: # Prepend the file php_value auto_prepend_file "/home/admin/web/project/framework/host/redirect.php" php_value auto_prepend_file "/home/admin/web/project/framework/server.php" 我想: # Example variable MY_PATH is = /h
# Prepend the file
php_value auto_prepend_file "/home/admin/web/project/framework/host/redirect.php"
php_value auto_prepend_file "/home/admin/web/project/framework/server.php"
我想:
# Example variable MY_PATH is = /home/admin/web/project/framework/
# and i use that variable, example
php_value auto_prepend_file "{MY_PATH}host/redirect.php"
php_value auto_prepend_file "{MY_PATH}server.php"
怎么做?Aziz Alle Basyir你有没有收到什么answer@KiranMuralee,不…,我想,我们不能:)这看起来像是…@reinierpost的复制品,是的,这个老问题,不在乎这个老代码LOL