dyok 发表于 2018-11-20 13:28:05

linux apache服务器配置虚拟主机

  楼主用的是阿里云
  

  配置虚拟主机需要在 /alidata/vhosts/default.conf文件中加以下内容

DocumentRoot /alidata/www/default/baby
ServerName www.nixiaofeng.xyz
ServerAlias www.nixiaofeng.xyz

    Options Indexes FollowSymLinks
    AllowOverride all
    Order allow,deny
    Allow from all

ErrorLog "/alidata/log/httpd/phpwind-error.log"
CustomLog "/alidata/log/httpd/phpwind.log" common
  




页: [1]
查看完整版本: linux apache服务器配置虚拟主机