#虚拟目录配置
<IfModule dir_module>
DirectoryIndex index.html index.htm index.php
Alias /htdocs "E:/htdocs"
<Directory E:/htdocs>
Order allow,deny
Allow from all
</Directory>
</IfModule>
#然后再注销DocumentRoot
以上就介绍了apache配置虚拟目录,包括了方面的内容,希望对PHP教程有兴趣的朋友有所帮助。









