Home > Backend Development > PHP Tutorial > apache configure virtual directory

apache configure virtual directory

WBOY
Release: 2016-08-08 09:27:05
Original
1216 people have browsed it

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

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.

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template