Apache virtual host and virtual directory configuration

xiaoxiao2021-03-06  39

#The port number

Listen 8082

#name of server

ServerName Improving_v20.a09z.com:8082

# 站点 根 目

DocumentRoot "E: /PHP/A09Z.com/improving_v2.0"

# 根 目 目

Options Indexes FollowSymlinks

ALLOWOVERRIDE NONE

ORDER ALOW, DENY

ALLOW FROM ALL

# 以下 below is a virtual directory setting

# Set the virtual directory alias

Alias ​​/ OldVer / "E: /PHP/A09Z.com/www2"

# 虚 虚 目 设置 设置

Options Indexes Followsymlinks MultiViews

ALLOWOVERRIDE NONE

ORDER ALOW, DENY

ALLOW FROM ALL

转载请注明原文地址:https://www.9cbs.com/read-69993.html

New Post(0)