404未找​​到所请求的URL不在此服务器上找到 [英] 404 Not Found The requested URL was not found on this server

查看:470
本文介绍了404未找​​到所请求的URL不在此服务器上找到的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有小烦恼,想知道是否有人能帮助我渡过了难关。我从HostGator的拉着一个网站的一个副本下来,我试图将其设置使用我的本地机器上的 WAMP 不过,我不断收到试图访问时出错现场。以下是我已经tried..I去阿帕奇的httpd.conf 文件和的LoadModule 注释掉了#rewrite_module模块/mod_rewrite.so。此外,我已经改变了的AllowOverride无所有。随着中说,林不知道要寻找什么别的了。我的应用程序中请注意我的 httaccess 文件没有一个()在其中(的.htaccess)。我不知道这是值得注意与否。任何想法,我需要做的访问我的网站?当我访问应用程序我看到一个缓存版本(白色屏幕),但是当我点击链接登录我看到 404未找​​到

I'm having small troubles and was wondering if someone can help me over the hump. I pulled a copy of a website down from Hostgator and I'm trying to set it up on my local machine using WAMP but, I keep getting an error when trying to access the site. Here is what I have tried..I went to Apaches httpd.conf file and uncommented the # from LoadModule rewrite_module modules/mod_rewrite.so. Also I have changed the AllowOverride None to All. With that said, Im not sure what else to look for. Please note within my application my httaccess files do not have a (.) in front of them (.htaccess). I'm not sure if that is worth noting or not. Any ideas as to what I need to do to access my site? When I access the application I do see a cached version (white screen), but when I click the link to log in I see the 404 Not Found.

推荐答案

在httpd.conf文件,你需要删除#

In httpd.conf file you need to remove #

#LoadModule rewrite_module modules/mod_rewrite.so

删除#行后会是这样的:

after removing # line will look like this:

LoadModule rewrite_module modules/mod_rewrite.so

我相信您的问题将得到解决...

I am sure your issue will be solved...

这篇关于404未找​​到所请求的URL不在此服务器上找到的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆