Home  >  Article  >  Backend Development  >  PHP method to detect whether the iis environment supports htaccess_PHP tutorial

PHP method to detect whether the iis environment supports htaccess_PHP tutorial

WBOY
WBOYOriginal
2016-07-13 10:24:511040browse

modrewrite.php

Copy code The code is as follows:

open_me.php

Copy code The code is as follows:


Copy code The code is as follows:

RewriteEngine on
RewriteRule ^open_me.php$ modrewrite.php

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/825297.htmlTechArticlemodrewrite.php The copy code is as follows: ?php echo "mod_rewrite works"; ? open_me.php The copy code is as follows : ?php echo "mod_rewrite does not work"; ? Copy the code as follows...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn