apache2.4 虚拟目录配置
来源:互联网 发布:mysql dba 前景 编辑:程序博客网 时间:2024/06/01 07:59
找到apche配置文件 httpd.conf 在文件最后面添加下面代码
#站点别名
Alias /myblog "D:/Project/PHP/webTest"
<Directory "D:/Project/PHP/webTest">
Options Indexes MultiViews
AllowOverride None
Require all granted
</Directory>
之后配置 NB IDE 就可以运行了
题外话 更改默认站点htdocs
DocumentRoot "D:/Project/PHP/web"
<Directory "D:/Project/PHP/web">
#
# 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 None
#
# Controls who can get stuff from this server.
#
Require all granted
</Directory>
- apache2.4 虚拟目录配置
- PHP-Apache2.4虚拟目录配置
- 配置Apache2.4版本虚拟目录
- apache2.4配置网站虚拟目录
- 关于apache2.4 的虚拟目录配置问题
- apache2.4配置虚拟目录和虚拟主机
- apache2.4 建虚拟目录
- apache2.4虚拟目录
- python Apache2.4 建立虚拟目录
- Ubuntu 配置Apache2虚拟目录及对应端口
- Apache2.4(httpd)配置多个虚拟目录,分别设置代理访问Node.js
- apache2.2 配置多个虚拟目录 后面过来
- 【PHP学习笔记】apache2.4的虚拟目录权限
- apache2.4配置虚拟主机
- apache2.4配置虚拟主机
- apache2.4配置
- Apache2.4 配置虚拟主机
- apache2.4 虚拟主机配置
- 学习SpringMVC——从HelloWorld开始
- spring boot框架入门实例 笔记
- 阶段性学习总结--ffmpeg
- bitnami忘记登录密码
- PAT乙级1033. 旧键盘打字(20)
- apache2.4 虚拟目录配置
- pthread_create如何传递多个参数
- 使用Mysql Fabric和ProxySQL对Mysql进行分片
- 利用Mybatis-generator工具自动生成代码
- Linux下和Win7下的路由表的相关介绍
- 查看远端的服务是否开通
- 绘图利器 — Graphviz 由AT&T实验室启动的开源工具包 — DOT 图形描述语言
- LINUX的DNS怎么设置?linux下如何修改DNS地址
- Hadoop好友推荐系统-执行分类算法