造成这个错误的原因可能有以下几点:

1. httpd.conf 配置文件下 DocumentRoot 未配置正确;

2. domain.conf 配置文件如下 (domain.conf 是针对多域名的解析文件)

<VirtualHost *:80>DocumentRoot "/var/tp6/public"ServerName www.tp6.com<Directory "/var/tp6/public">Options FollowSymLinks ExecCGIAllowOverride AllOrder allow,denyAllow from allRequire all grantedDirectoryIndex index.php index.html error/index.html</Directory>
</VirtualHost>

Directory也需要配置,不然也会出现这个错误,很多人就是这里未配置。

3. ThinkPHP 文件缺少 .htaccess 文件

LAMP The requested URL /index.html was not found on this server.相关推荐

  1. 新部署到服务器 报 The requested URL /home/profession was not found on this server. 错误

    The requested URL /home/profession was not found on this server. 通过xxx.com, 首页可以正常访问,xxx.com/xx/xx 就 ...

  2. 【每日学习】Apache重写未开启,导致The requested URL /xxxx.html was not found on this server...

    今天把项目环境从集成换成独立的,全部搭建好后,网站主页www.xxx.com能打开,但一涉及到跳转,带参数,比如 www.xxx.com/xxx/xxx.html 就会报错 The requested ...

  3. The requested URL /xxxx.html was not found on this server

    The requested URL /xxxx.html was not found on this server The requested URL /xxxx.html was not found ...

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

    问题描述:phpstudy V8下创建域名报错Not Found The requested URL /admin/index was not found on this server. Additi ...

  5. 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 wa ...

  6. 使用 http-proxy 代理 HTTP 请求时遇到的 the requested url is invalid 错误消息

    使用如下代码创建 HTTP 代理服务器: const http = require('http'); const httpProxy = require('http-proxy');const tar ...

  7. 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 ...

  8. git 提交失败 HTTP 413 curl 22 The requested URL returned error: 413 Request Entity Too Large

    为什么80%的码农都做不了架构师?>>>    关于git提交失败报错POST git-receive-pack (chunked)或者HTTP 413 curl 22 The re ...

  9. 解决github push错误The requested URL returned error: 403 Forbidden while accessing(转)

    github push错误: git push error: The requested URL returned error: 403 Forbidden while accessing https ...

  10. fatal: unable to access : The requested URL returned error: 403

    错误提示如下 C:\Users\AllenIverson\Desktop\gitbook-test>git push -u gitbook master remote: Forbidden fa ...

最新文章

  1. 安卓中事件绑定的写法
  2. 科大星云诗社动态20210827
  3. 那些年做的学术公益-你不是一个人在战斗
  4. ubuntu20.04安装kylin的wineQQ+qq群聊看不见图片的问题
  5. html如何设置文本斜体,CSS/HTML:使文本斜体的正确方法是什么?
  6. 小学生眼里的飞鸽传书
  7. How to Simulate the Price Order or Price Line Function using API QP_PREQ_PUB.PRICE_REQUEST Includes
  8. Linux——SSH服务器
  9. Linux Shell 文本处理工具集锦 zz
  10. java 多线程 一个博客
  11. xshell5 可用注册码
  12. 电脑录音软件哪个好?六款常见的录音软件介绍
  13. stvp打不开iar生成的hex文件
  14. 越狠越有饭吃,越不狠越没饭吃
  15. 浙江更新了小学3年级到9年级信息技术课,小学开始学编程
  16. Ubuntu18.04安装Google浏览器
  17. Hive sql : 查询连续登录天数
  18. 基于simulink的PN码相关峰同步仿真
  19. 【新概念4】【7】Bats
  20. 利用NAS免费部署动态解析实现内网穿透

热门文章

  1. 关于学习计算机的经验
  2. 推荐一个简单好用的HTML编辑器
  3. 360度全景视频html,360度全景视频是怎么拍摄出来的?
  4. oracle lob类型和mysql text_OracleLob类型存储浅析
  5. 孤独的根号三 (Missing NUMBER)
  6. excel筛选中文或者筛选数字
  7. RuntimeWarning: divide by zero encountered in log错误解决
  8. QCY T3 蓝牙耳机连接电脑 声音断续卡顿
  9. 学习编程,既要仰望星空,又要脚踏实地
  10. Inter Speech19