Home  >  Article  >  Backend Development  >  apache configure virtual directory

apache configure virtual directory

WBOY
WBOYOriginal
2016-08-08 09:27:051139browse

#虚拟目录配置
<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

The above introduces the apache configuration virtual directory, including aspects of the content. I hope it will be helpful to friends who are interested in PHP tutorials.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Previous article:php arrayNext article:php array