在我的开发环境,我用内置的网络php5.4的Web服务器,但它似乎的.htaccess无法正常工作。我无法找到该服务器的文档。谁能告诉我,如果有可能使用htaccess以及mod_rewrite的,比如Apache?
In my development environment, I use the web built-in web server of php5.4 but it seems that .htaccess doesn't work correctly. I can't found the doc of that server. Can someone tell me if it is possible to use htaccess and mod_rewrite like apache?
非常感谢你。
正如提到我的意见,当前目录是在默认情况下你的根目录。另外这个网络服务器不支持的.htaccess
。
As in my comment mentioned, the current directory is by default your webroot. Also this webserver doesn't support .htaccess
.
您会发现href="http://www.lornajane.net/posts/2012/php-5-4-built-in-webserver" rel="nofollow">很好的解释