php检测iis环境是否支持htaccess的方法。
modrewrite.php
<?php echo "mod_rewrite works"; ?>
open_me.php
<?php echo "mod_rewrite does not work"; ?>
RewriteEngine on
RewriteRule ^open_me.php$ modrewrite.php
php检测iis环境是否支持htaccess的方法。
modrewrite.php
<?php echo "mod_rewrite works"; ?>
open_me.php
<?php echo "mod_rewrite does not work"; ?>
RewriteEngine on
RewriteRule ^open_me.php$ modrewrite.php