时间:2021-07-01 10:21:17 帮助过:25人阅读
ServerAdmin [email protected]
DocumentRoot /opt/lampp/htdocs/域名1目录
ServerName www.域名1
ErrorLog logs/dummy-host.example.com-error_log
CustomLog logs/dummy-host.example.com-access_log common
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order deny,allow
# Alow From all
ServerAdmin [email protected]
DocumentRoot /opt/lampp/htdocs/域名2目录
ServerName www.域名2
ErrorLog logs/dummy-host.example.com-error_log
CustomLog logs/dummy-host.example.com-access_log common
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order deny,allow
# Alow From all
ServerAdmin [email protected]
DocumentRoot /opt/lampp/htdocs/域名3目录
ServerName www.域名3
ErrorLog logs/dummy-host.example.com-error_log
CustomLog logs/dummy-host.example.com-access_log common
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order deny,allow
# Alow From all
现在遇到的问题是前两个好使,第3个域名访问的时候跳转的是第一个域名里的内容。。。求解。。