万达换票券 发表于 2018-11-21 09:53:12

linux apache vhosts 配置(2.4以上版本)

  修改apache主配置文件
  469 # Virtual hosts
  470 Include conf/extra/httpd-vhosts.conf
  将470行的注释去掉
  
  ServerAdmin Admin@mnt.com
  DocumentRoot "/home/mnt"
  ServerName www.mnt.com
  ErrorLog "logs/mnt.com-error_log"
  CustomLog "logs/mnt.com-access_log" common
  
  #                     Options Indexes FollowSymLlinks
  #                     AllowOverride ALL
  #                     Order allow,deny
  #                     Allow from all
  Require all granted
  
  


页: [1]
查看完整版本: linux apache vhosts 配置(2.4以上版本)