禁止:您没有权限访问/在此服务器上,WAMP错误 [英] Forbidden: You don't have permission to access / on this server, WAMP Error

查看:2431
本文介绍了禁止:您没有权限访问/在此服务器上,WAMP错误的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经安装的 WAMP Windows 8的并上面的错误接受每当我去到localhost或phpMyAdmin的。一番搜索后,我发现其中包括修改httpd.conf来从允许所有等<一个许多答案href=\"http://stackoverflow.com/questions/10873295/error-message-forbidden-you-dont-have-permission-to-access-on-this-server\">This链接显示了进一步的信息这样一个共同的答案。

I have installed wamp on windows 8 and received above error whenever I go to localhost or phpmyadmin. After much searching I found many answers which includes modifying the httpd.conf to Allow from All etc. This link shows such a common answer with further information.

我的问题是,许多人认为它给了允许所有用户访问的phpMyAdmin,这是不安全和脆弱等。我想创建完全安全WAMP服务器是OK,如果我这样做呢?

My problem is that many have argued that it gives permission to all users to access phpMyAdmin and it is insecure and vulnerable etc. I want to create perfectly secure WAMP server and is it OK if I do this?

可有人请我提供一些参考的信息?

Can someone please provide me with some reference or information?

推荐答案

我找到最好的(和最令人沮丧的)路径是,开始从所有允许,然后,当你知道它会工作方式,缩放回更安全的来自127.0.0.1允许从:: 1允许(本地主机)。

I find the best (and least frustrating) path is to start with Allow from All, then, when you know it will work that way, scale it back to the more secure Allow from 127.0.0.1 or Allow from ::1 (localhost).

只要你的防火墙配置正确,从允许所有应该不会造成任何问题,但最好是只从本地主机,如果你不需要让其他计算机能够访问你的网站。

As long as your firewall is configured properly, Allow from all shouldn't cause any problems, but it is better to only allow from localhost if you don't need other computers to be able to access your site.

不要忘了重新启动Apache每当你修改httpd.conf文件。他们不会生效,直到下一个开始。

Don't forget to restart Apache whenever you make changes to httpd.conf. They will not take effect until the next start.

希望这是足以让你开始,有大量的文件可在网上的。

Hopefully this is enough to get you started, there is lots of documentation available online.

这篇关于禁止:您没有权限访问/在此服务器上,WAMP错误的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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