LAMP The requested URL /index.html was not found on this server.
造成这个错误的原因可能有以下几点:
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.相关推荐
- 新部署到服务器 报 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 就 ...
- 【每日学习】Apache重写未开启,导致The requested URL /xxxx.html was not found on this server...
今天把项目环境从集成换成独立的,全部搭建好后,网站主页www.xxx.com能打开,但一涉及到跳转,带参数,比如 www.xxx.com/xxx/xxx.html 就会报错 The requested ...
- 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 ...
- 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 ...
- 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 ...
- 使用 http-proxy 代理 HTTP 请求时遇到的 the requested url is invalid 错误消息
使用如下代码创建 HTTP 代理服务器: const http = require('http'); const httpProxy = require('http-proxy');const tar ...
- 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 ...
- 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 ...
- 解决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 ...
- fatal: unable to access : The requested URL returned error: 403
错误提示如下 C:\Users\AllenIverson\Desktop\gitbook-test>git push -u gitbook master remote: Forbidden fa ...
最新文章
- 安卓中事件绑定的写法
- 科大星云诗社动态20210827
- 那些年做的学术公益-你不是一个人在战斗
- ubuntu20.04安装kylin的wineQQ+qq群聊看不见图片的问题
- html如何设置文本斜体,CSS/HTML:使文本斜体的正确方法是什么?
- 小学生眼里的飞鸽传书
- How to Simulate the Price Order or Price Line Function using API QP_PREQ_PUB.PRICE_REQUEST Includes
- Linux——SSH服务器
- Linux Shell 文本处理工具集锦 zz
- java 多线程 一个博客
- xshell5 可用注册码
- 电脑录音软件哪个好?六款常见的录音软件介绍
- stvp打不开iar生成的hex文件
- 越狠越有饭吃,越不狠越没饭吃
- 浙江更新了小学3年级到9年级信息技术课,小学开始学编程
- Ubuntu18.04安装Google浏览器
- Hive sql : 查询连续登录天数
- 基于simulink的PN码相关峰同步仿真
- 【新概念4】【7】Bats
- 利用NAS免费部署动态解析实现内网穿透