The requested URL /lastid was not found on this server.

Posted 时光-ing

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了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>

以上是关于The requested URL /lastid was not found on this server.的主要内容,如果未能解决你的问题,请参考以下文章

SpringBoot 提示:RequestRejectedException:The request was rejected because the URL was not normalized.

git 使用 push 提交到远程仓库出现 The requested URL returned error: 403 错误

解决github push错误The requested URL returned error: 403 Forbidden while accessing

git The requested URL returned error: 429 问题解决

Not Found The requested URL / was not found on this server.

解决:The requested URL returned error: 403