本人一直是喜欢偷懒的人,所以在配置环境的时候也就直接用了wamp,但问题也相应出现,不能通过IP访问。保存这篇文章是因为它解决了自己的问题。呵呵,下次再装环境的时候,还是不要偷懒了。
本机上运行:127.0.0.1和localhost都没问题,远程登录就不可以了。
按照网上有些人的说法,把:
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all
Satisfy all
</Directory>
改成
<Directory />
Options Indexes FollowSymLinks
AllowOverride None
Order deny,allow
Allow from all
Satisfy all
</Directory>
还是不行,后来我把 Directory 带配置路径的这个地方改了,标红的为添加的,标紫色的是屏蔽的:
<Directory “C:/wamp/www”>
#
# Possible values for the Options directive are “None”, “All”,
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI
MultiViews
#
# Note that “MultiViews” must be named *explicitly* — “Options
All”
# doesn’t give it to you.
#
# The Options directive is both complicated and important.
Please see
# http://httpd.apache.org/docs/2.2/mod/core.html#options
# for more information.
#
Options Indexes FollowSymLinks
#
# AllowOverride controls what directives may be placed in
.htaccess files.
# It can be “All”, “None”, or any combination of the keywords:
# Options FileInfo AuthConfig Limit
#
#AllowOverride all
AllowOverride none
#
# Controls who can get stuff from this server.
#
# onlineoffline tag – don’t remove
Order Allow,Deny
Allow from all
# Allow from 127.0.0.1
</Directory>
分享到:
相关推荐
本地搭建wamp,输入http://127.0.0.1访问正常,当输入http://localhost/,apache出现You don't have permission to access/on this server.的提示,如何解决? 解决方法:...
本文实例讲述了Laravel框架访问出错提示:`Warning require(vendorautoload.php) failed to open stream No such file or dire解决方法。分享给大家供大家参考,具体如下: 错误信息: `Warning: require(/...
主要介绍了wamp安装后自定义配置的方法,主要是遇到Forbidden you dont hava permission to access * on the server错误提示的解决方法,需要的朋友可以参考下
wamp虚拟本地服务器适用于测试在本地上传的网站,数据库等应用的,wamp5使用手册详细介绍了Wamp5的使用。
WAMP5 incorporates an icon in the taskbar from which it is possible to control the settings of the server, create an alias, access reports, switching between "online" and "offline" (online/offline), ...
WAMP客户端关于这个库已经过 Ratchet WAMP 服务器的测试。 它只能向服务器发送消息,没有实现监听回复。 支持的功能: 字首称呼发布事件基于用法 $ client = new \ WAMP \ WAMPClient ( 'http://localhost:8080' );$...
两个依赖库 - libeay32.dll - ssleay32.dll - ssleay32.dll 我在windows7中直接复制到c:\windows\system32中就把问题解决了。...这3个文件是我直接从`D:/wamp`中找到并copy的。这里我也分享一下。
在wamp环境里,当你配置好了“extension=php_curl.dll”事项,还遇到“cURL error 60: SSL certificate: unable to get local ...并在php.ini里配置:curl.cainfo = "E:/wamp/bin/php/php5.5.12/extras/ssl/cacert.pem"
Title: A Concise Guide to Dynamic Web Application: WAMP/LAMP Author: Alasdair Gilchrist Length: 74 pages Edition: 1 Language: English Publication Date: 2015-03-04 ISBN-10: B00UAFGHY8 This ebook is a ...
资源内包含WampServer安装所需的vc_redist.x64.exe(13.8M),vcredist_x64.exe(6.8M),及WampServer配置文件,使用可参考博客http://blog.csdn.net/qq983392709/article/details/79136370
Windows WAMP服务器与Redis 资料夹结构 PHP扩展 vcredist_x64.exe(Visual C ++运行时程序包-VC11) WampServer2.5.exe 版本 阿帕奇2.4.9 PHP 5.5.12 MySQL 5.6.17 Redis 2.8.2101 适用于x64机器的所有软件包。...
1、打开wamp目录下wampmanager.tpl 和 wampmanager.ini文件 2、找到 Parameters: "http://localhost/"; Glyph: 5 Parameters: "http://localhost/phpmyadmin/"; Glyph: 5 3、改成 Parameters: ...
WampServer is a Windows web development environment. It allows you to create web applications with Apache2, PHP and a MySQL database. Alongside, PhpMyAdmin allows you to manage
Wamp就是Windows Apache Mysql PHP集成安装环境,即在window下的apache、php和mysql的服务器软件。WampServer是一款由法国人开发的Apache Web服务器、PHP解释器以及MySQL数据库的整合软件包。免去了开发人员将时间...
Wamp集成环境php采用mysqli进行mysql数据库的数据访问:.pdf
找到DocumentRoot "F:/phpserver/wamp/www/",请改成:DocumentRoot "F:/phpweb/",继续往下找,<Directory "F:/phpserver/wamp/www/">,请改成:<Directory "F:/phpweb/">。请注意:双引号中的内容一定要与您在 1步...
学习php,使用了wamp安装包来搭建php+apache+mysql的环境,wamp官方下载地址:http://www.wampserver.com/en/ .但是wamp默认的用户名是’root’,密码是空。现在我需要把密码改成自己想要的字符串。我的wamp的安装...
您可以使用XAMPP,WAMP或LAMP服务器中的任何一种在本地计算机上运行Web App。 它具有针对客户的食品订购模块。 它还为管理员提供菜单,命令和用户管理模块。 管理员登录名和密码(您可以在phpmyadmin中进行更改)...
资源分类:Python库 所属语言:Python 资源全名:serverwamp-1.0.2.tar.gz 资源来源:官方 安装方法:https://lanzao.blog.csdn.net/article/details/101784059