Ubantu The requested URL /index.html was not found

按照网络上的指点:

  1. 将rewrit.load文件ln到mods_enable目录下;
  2. 检查httpd.conf、ports.conf里面的主机和端口名称,都需要默认有个*,对应的sites_available目录下的VirtualHost配置文件中的主机和端口要与其保持一致;
  3. VirtualHos中的Override要设置为All。
时间: 2024-12-29 11:13:57

Ubantu The requested URL /index.html was not found的相关文章

Yii2.0 解决“the requested URL was not found on this server”问题

在你下了 Yii 框架,配置完路由 urlManager 后,路由访问页面会报错"the requested URL was not found on this server",url类似于这种"https://www.cnblogs.com/site/index". 'urlManager' => [ 'enablePrettyUrl' => true, 'showScriptName' => false,//不显示.php 'suffix' =

新部署到服务器 报 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 就出现 The requested URL xxx was not found on this server. 1,找到apache配置文件httpd.conf配置文件中的 AllowOverride none Require all denied 改成 Options Indexes FollowS

解决git提交问题error: The requested URL returned error: 403 Forbidden while accessing

git提交代码时,出现这个错误"error: The requested URL returned error: 403 Forbidden while accessing https" 解决方法: 编辑.git文件夹下的config文件就可以. vim .git/config #改动对于的配置 #原来的url = https://github.com/elitecodegroovy/PhoenixC.git url = https://[email protected]/elitec

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

来源:http://blog.csdn.net/happyteafriends/article/details/11554043 github push错误: [html] view plaincopyprint? git push error: The requested URL returned error: 403 Forbidden while accessing https://github.com/wangz/future.git/info/refs git version 1.7.

git 出现 The requested URL returned error: 403

github push错误 fatal: unable to access 'https://github.com/xuzhenguo/authorize.git/': The requested URL returned error: 403 解决方法: vim .git/config 修改前 [remote "origin"] url = https://github.com/xuzhenguo/authorize.git 修改为: [remote "origin&quo

The requested URL ***** was not found on this serve

Wamp的Alias具体是干什么用的,后面要研究一下!!!! 我是之前创建了一个站点用Alias,后来把站点文件移到了www下后,除了首页都访问不了了.显示“The requested URL ***** was not found on this serve ”,于是参考下文把之前创建的Alias删掉,就好了. 引用来自:http://blog.sina.com.cn/s/blog_6d267545010198j8.html 前几天在使用Wamp部署几个站点. 有几个可用, 有几个一直提示"请

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

http://www.wanysys.cc/coding/php/800.html 今天在做本地PHP项目的时候,想把之前wampserver的本地虚拟服务器环境访问方式改为本地localhost访问方式,打开wampserver的Apache中的http://localhost/显示如下错误,提示The requested URL / was not found on this server.(在服务器上找不到请求的URL),百度各种方法都未解决,很多人的方法都是不加验证的复制粘贴别人的东西,

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

今天把项目环境从集成换成独立的,全部搭建好后,网站主页www.xxx.com能打开,但一涉及到跳转,带参数,比如 www.xxx.com/xxx/xxx.html 就会报错 The requested URL /xxxx.html was not found on this server 因为是新搭建的环境,apache的重写未开启,开启重写后,问题解决,方法如下: apache 打开 httpd.conf 文件 找到 #LoadModule rewrite_module modules/mod

虚拟目录下apache点击报The requested URL* was not found on this server.

首先,我yum的httpd,把备份好的文件会存到/data/backup,并且在http.conf中配置虚拟目录 alias /mogodb/ "/data/backup" <Directory "/data/backup">     Options Indexes FollowSymLinks     AllowOverride All     Order allow,deny     Allow from all </Directory>