这个问题一般是linux 跟window 开发环境的差异导致的
首先检测你的apache开启了rewrite_module模块,
然后开启Apache的rewrite_module模块:
在项目根目录创建.htaccess文件,文件内容如下

<IfModule mod_rewrite.c>Options +FollowSymlinks -MultiviewsRewriteEngine OnRewriteCond %{REQUEST_FILENAME} !-dRewriteCond %{REQUEST_FILENAME} !-fRewriteRule ^(.*)$ index.php [L,E=PATH_INFO:$1]
</IfModule>

The requested URL * was not found on this server. 的解决方法相关推荐

  1. vue 路由history模式打包部署 The requested URL * was not found on this server. 的解决方法

    apache开启rewrite_module模块, 在项目根目录创建.htaccess文件,文件内容如下 <IfModule mod_rewrite.c>   Options +Follo ...

  2. Object not found! The requested URL was not found on this server.... 报错解决方案

    Object not found! The requested URL was not found on this server.... 报错解决方案 参考文章: (1)Object not foun ...

  3. The requested URL was not found on the server

    问题重现: curl的时候带了了一个url,例如XXXX/api/resource 然后报错 The requested URL was not found on the server 原因是什么呢? ...

  4. The requested URL was not found on the server. If you entered the URL manually please check your spe

    项目场景: 项目场景:flask蓝图在区分不同路径是出现BUG Not Found The requested URL was not found on the server. If you ente ...

  5. 成功解决404 Not Found Not Found The requested URL was not found on the server. If yo

    成功解决404 Not Found</title> <h1>Not Found</h1> <p>The requested URL was not fo ...

  6. Java中url传递中文参数取值乱码的解决方法

    Java中url传递中文参数取值乱码的解决方法 参考文章: (1)Java中url传递中文参数取值乱码的解决方法 (2)https://www.cnblogs.com/liwenjuan/p/3211 ...

  7. nodejs连接mysql数据库,报错Client does not support authentication protocol requested by server的解决方法

    nodejs连接mysql数据库,报错Client does not support authentication protocol requested by server的解决方法 参考文章: (1 ...

  8. java.net.url 中文乱码_asp.net URL中包含中文参数造成乱码的解决方法

    asp.net URL中包含中文参数造成乱码的解决方法 更新时间:2010年03月08日 21:44:27   作者: 中文乱码一直以来是WEB开发中比较常见的问题之一,对于初学者来说,各种各样的编码 ...

  9. The requested URL /**** was not found on this server

    当ubuntu使用Apache搭建web服务器是,访问网页失败,出现: The requested URL /"文件名" was not found on this server ...

  10. Jquery Datatable 数据填充报错:requested unknown parameter ‘XXX‘ for row xx, column xx 解决方法

    前些天发现了一个巨牛的人工智能学习网站,通俗易懂,风趣幽默,忍不住分享一下给大家.点击跳转到教程. 报错如图: 解决方法见官网:https://datatables.net/manual/tech-n ...

最新文章

  1. python知道答案_Python程序设计基础知道章节测试答案
  2. 百度CTO王海峰阐释AI融合创新,降低门槛,按下产业智能化加速键
  3. 微软宣布Azure Functions正式支持Java
  4. 153是一个非常特殊的数,它等于它的每位数字的立方和
  5. tc/traffic control 网络控制工具
  6. dos 退出for循环_循环?一次帮你搞定!
  7. 2013蓝桥杯C++A:排它平方数(递归,枚举,暴力解法)
  8. springboot配置C3P0数据库连接池
  9. java json转excel_JSON转EXCEL代码( java)
  10. smobiler php对比,Smobiler的开发讲解
  11. 嵌入式系统ARM期末总复习
  12. 第04课:了解数据必备的文本可视化技巧
  13. 微信开发如何优雅的注入token(2)
  14. 刚刚!鸿蒙OS 2升级用户破千万!(1000+企业共建鸿蒙生态)
  15. Spark Streaming读取Kafka数据的两种方式
  16. 设计原则之合成复用原则
  17. 老猪带你玩转自定义控件三——sai大神带我实现ios 8 时间滚轮控件
  18. 替代A4988的微型打印机驱动TMI8421国产电机驱动芯片
  19. DataX实践趟坑大全
  20. 计算机excel必备知识,Excel超级实用技巧12则 -电脑资料

热门文章

  1. 弦截法及Python实现
  2. 外卖跑腿代驾小程序源码
  3. Unity 制作360全景视频 全景图片流程
  4. MHL技术剖析,比HDMI更强的东东
  5. 【大咖说】激活数据价值,永洪科技智胜法则
  6. python点击按钮后跳到另一个页面_js点击button按钮跳转到另一个新页面
  7. 有线路由器加无线路由器的组网方法
  8. 谓词公式与量词的辖域
  9. Office 2010/2007 简繁体转换按钮不见了?
  10. 关于网页加载慢的一个解决方法——取消勾选【局域网设置】中的【自动检测设置】