Home > Backend Development > PHP Tutorial > Configure multiple virtual directories for apache22. Come back later.

Configure multiple virtual directories for apache22. Come back later.

WBOY
Release: 2016-08-08 09:21:12
Original
942 people have browsed it

apache2.2 How to configure multiple virtual directories
Directory 1 Domain name 1
Directory 2 Domain name 2
Directory 3 Domain name 3
But when accessing 3 domain names, all refer to directory 1
There is no problem if you change it to apache2.4

The reason is:

apache2.2 is not enabled by default NameVirtualHost

NameVirtualHost *:80

You can add it manually

Copyright statement: This article is an original article by the blogger and may not be reproduced without the blogger's permission.

The above introduces how to configure multiple virtual directories in apache22. I will come back later and include 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