level 1
eboue718
楼主
甚至注释了http.conf里的DocumentRoot,
#DocumentRoot "/usr/local/apache/htdocs/"
........
<VirtualHost **************:8080>
ServerName http://www.han.com
DocumentRoot "/usr/local/apache/htdocs/1"
</VirtualHost>
<Directory "/usr/local/apache/htdocs/1">
Options Indexes FollowSymLinks Multiviews
AllowOverride All
Order Allow,Deny
Allow from all
</Directory>
打开的页面还是原来DoucumentRoot指定的位置
2018年04月04日 14点04分
1
#DocumentRoot "/usr/local/apache/htdocs/"
........
<VirtualHost **************:8080>
ServerName http://www.han.com
DocumentRoot "/usr/local/apache/htdocs/1"
</VirtualHost>
<Directory "/usr/local/apache/htdocs/1">
Options Indexes FollowSymLinks Multiviews
AllowOverride All
Order Allow,Deny
Allow from all
</Directory>
打开的页面还是原来DoucumentRoot指定的位置