我刚接触Apache,不知道怎样将访问目录改为多个?

我刚接触Apache,不知道怎样将访问目录改为多个?
DocumentRoot "F:\WEB;D;\SOFTWARE"
对吗?
---------------------------------------------------------------

指定虚拟目录用Alias /名字/ "路径"添加到httpd.conf里
比如Alias /phptest/ "D:/phptest/"
访问时用localhost/phptest/*.php

Published At
Categories with Web编程
Tagged with
comments powered by Disqus