apache创建虚拟目录
打开 apache的配置文件 httpd.conf 。
在最下面将下面代码复制进去,保存并重启apache服务器。
| 代码如下 | 复制代码 |
|
NameVirtualHost *:80 ServerAdmin [email protected] ServerAlias ppblog.cn ServerAdmin [email protected] DocumentRoot "F:wwwrootwordpress" ServerName wp.ppblog.cn ServerAlias ppblog.cn
ServerAdmin [email protected] DocumentRoot "F:wwwroothtdocs" ServerAlias * |
|
在其他文件夹创建虚拟目录
DocumentRoot “E:htdocs”
将虚拟目录建立在”F:wwwroot”以外的目录中报错:”You don’t have permission to access / on this server.”
解决办法如下:
打开 apache的配置文件 httpd.conf 。
找到
| 代码如下 | 复制代码 |
|
修改为
|
|
这样就可以在任何地方创建虚拟目录了。
韩剧再婚皇后阿里云盘全集高清1080P资源链接-韩剧再婚皇后免费阿里云盘资源下载4K高清无删减版链接
poipiku网站如何打开-poipiku官网网页版访问入口
明日方舟:终末地-云游戏畅玩入口-明日方舟:终末地-网页版在线直连地址
poki在线小游戏网页版-poki免费游戏大全入口
poki游戏入口-点开即玩-poki游戏-在线免费畅玩
原神akt大佬资源viciNeko入口链接-原神akt大佬资源网页vicineko入口链接分享