Home >Backend Development >PHP Tutorial >APACHE使用.htaccess伪静态请教如何写

APACHE使用.htaccess伪静态请教如何写

WBOY
WBOYOriginal
2016-06-13 11:52:131015browse

APACHE使用.htaccess伪静态请问怎么写?
打开网站地址跳是这样的http://www.baidu.com/index.php/user/login我想使用.htaccess伪静态,请问.htaccess里面的内容应该怎么写?
------解决方案--------------------
最死的一条:
RewriteRule ^login\.html /index.php/user/login [L]

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