0
点赞
收藏
分享

微信扫一扫

Apache配置虚拟主机

豆丁趣 2023-03-26 阅读 42

<VirtualHost  42.96.184.84:80>
        ServerAdmin leiwen@fansunion.cn
        DocumentRoot /var/www/FansUnion
         ServerName www.fansunion.cn         ServerAlias fansunion.cn        <Directory /var/www/FansUnion>
                 Options -Indexes FollowSymLinks MultiViews
                 AllowOverride all
                 Order allow,deny
                 allow from all
         </Directory>        ErrorLog ${APACHE_LOG_DIR}/FansUnion/error.log
        # Possible values include: debug, info, notice, warn, error, crit,
         # alert, emerg.
         LogLevel warn        CustomLog ${APACHE_LOG_DIR}/FansUnion/access.log combined
 </VirtualHost>

举报

相关推荐

0 条评论