Apache Configuration Virtual Directory

xiaoxiao2021-03-06  59

#Documentroot "/ var / www / html"

DocumentRoot "/ backup"

Alias ​​/ HTML / "/ VAR / WWW / HTML" # Defines HTML virtual directory

Alias ​​/ Opt "/ OPT" # Defines the OPT virtual directory

# Defines the configuration of the corresponding virtual directory

Options Indexes FollowSymlinks

# Options Followsymlinks

ALLOWOVERRIDE NONE

ORDER ALOW, DENY

ALLOW FROM ALL

use

HTTP: // IP address / HTML and

HTTP: // IP address / OPT can be accessed

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

New Post(0)