127.0.0.1/login
127.0.0.1/posts
http://hbdoy.esy.es/
- 注意
.htaccess
放的位置。 - 如果要修改 rewrite 引導規則,須注意切割 URI 出來的陣列索引要調整。
.htaccess
<IfModule rewrite_module>
# 轉向 test.php
RewriteRule ^((?s).*)$ PHP_Blog_API/index.php [nc,qsa]
</IfModule>
- error 訊息
- http status code
- 跨域問題