The requested URL /lastid was not found on this server.
问题描述:
The requested URL /lastid was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
解决: 打开phpstudy(其余集成开发环境一样操作),点击伪静态,加入如下代码
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{
REQUEST_FILENAME} !-d
RewriteCond %{
REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.php?/$1 [QSA,PT,L]
</IfModule>
还没有评论,来说两句吧...