
Apache配置虚拟目录问题,这个怎么回事?
我在d盘下建立一个myApache文件夹,里面有一个html文件myWeb.html,配置httpd.conf时,如下<IfModuledir_module>#direc...
我在d盘下建立一个myApache文件夹,里面有一个html文件myWeb.html,配置httpd.conf时,如下
<IfModule dir_module>
#directory begin page
DirectoryIndex index.html index.php index.htm
#your web name
Alias /myApache "D:/myApache"
<Directory D:/myApache>
#Authority Setting
Order allow,deny
Allow from all
</Directory>
</IfModule>
加了这么一个点,然后#DocumentRoot "F:\phptools\Apache2.4\Apache24\htdocs" 也加上#号了,apache也重启了,那么访问http://localhost/myApache/myWeb.html站点为什么老失败?求大神解答,试了好几次了都,急急急 展开
<IfModule dir_module>
#directory begin page
DirectoryIndex index.html index.php index.htm
#your web name
Alias /myApache "D:/myApache"
<Directory D:/myApache>
#Authority Setting
Order allow,deny
Allow from all
</Directory>
</IfModule>
加了这么一个点,然后#DocumentRoot "F:\phptools\Apache2.4\Apache24\htdocs" 也加上#号了,apache也重启了,那么访问http://localhost/myApache/myWeb.html站点为什么老失败?求大神解答,试了好几次了都,急急急 展开
2015-04-21
展开全部
【实例】Alias /dx "D:/MyServer/Apache2.2.9/htdocs/dx"
<Directory "D:/MyServer/Apache2.2.9/htdocs/dx">
Options Indexes MultiViews
AllowOverride None
order allow,deny
Allow from all
</Directory>
<Directory "D:/MyServer/Apache2.2.9/htdocs/dx">
Options Indexes MultiViews
AllowOverride None
order allow,deny
Allow from all
</Directory>

2023-06-12 广告
Android和ARM、Linux之间存在密切的联系。Android是一种基于Linux内核的嵌入式智能操作系统,它采用了ARM处理器作为其主要处理器架构。Android的内核和许多应用程序都是基于ARM架构编写的,包括处理器和内存管理器。...
点击进入详情页
本回答由浙江启扬智能科技有限公司提供
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询