wampsever 修改基本操作
来源:互联网 发布:环保产业发展现状数据 编辑:程序博客网 时间:2024/05/16 10:38
在使用的时候为了测试需要局域网访问so要配置下
<Directory />
AllowOverride all
# AllowOverride none
# Require all denied
Require all granted
</Directory>
<Directory "d:/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.4/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:
# AllowOverride FileInfo AuthConfig Limit
#
AllowOverride all
#
# Controls who can get stuff from this server.
#
# onlineoffline tag - don't remove
# Require local
Require all granted
</Directory>
加粗的是本体。
mysql数据库在不用的时候会自动退出登录这有点蛋疼所以需要对有效时间处理
session.gc_maxlifetime = 2147483647
这是按照秒来计时的, 默认是1440
修改wampserver 中的根目录
Wampserver安装好后,“www目录”默认为d:/wamp/www,也就是wampserver安装目录下的www文件夹。实际使用中,默认设置往往不是我们想要的,可能改成其他文件夹更适合我们。
1、
打开wamp/scripts/config.inc.php
找到 $wwwDir =“XXXX”
修改为:$wwwDir = ”你想要的路径“
$c_installDir是个变量,指WAMPserver安装根目录。
2、
修改Apache默认根目录
打开wamp/bin/apache/apache2.2.11/conf/httpd.conf,修改DocumentRoot后面双引号中的值为你所要的。
比如将DocumentRoot “D:/wamp/www/”
改成DocumentRoot “e:/xx/”
同时将<Directory “D:/wamp/www/“>
改成<Directory “e:/xx/“>
重启
- wampsever 修改基本操作
- wampsever mysql修改密码
- WampSever 3 修改网站根目录
- wampsever内置phpmyadmin密码修改和弹窗登陆
- myeclipse基本的修改操作
- 基本sql修改表操作
- ADO的基本操作(四)修改
- SQL 基本操作 删除 修改 刷新
- SQL 基本操作 删除 修改 刷新
- MySql数据库的基本操作-修改数据表
- Git 基本操作2--撤销修改
- hive array基本操作:建表+查询+修改
- SQL 基本操作 删除 修改 刷新 修改版
- VC操作Excel之基本操作 修改问题篇
- wampsever mysql乱码
- wampsever配置https
- WAMPsever php环境安装
- wampsever配置虚拟主机
- 第1章 Linux是什么
- URIEncoding与useBodyEncodingForURI 在tomcat中文乱码处理上的区别及CharacterEncodingFilter(备忘)
- shared library (.so) and static libarary (.a)
- Android消息推送(主: XMPP协议实现Android推送)
- javascript省市级联方式
- wampsever 修改基本操作
- PAT--完美数列-快速搜索
- Java多线程数量再次说明
- c++中换行\n和endl的区别
- android 编程无法解析或者他不是字段activitymain
- javascript中form表单的处理
- 使用装饰器实现一个简单的Tornado用户认证Demo(Basic authentication on Tornado with a decorator)
- javascript中常用的节点方法
- 贪吃蛇的实现及其简单AI设计