行业资讯

首页 > 新闻资讯 > 行业资讯 > Apache虚拟主机的配置和泛域名解析实现代码

Apache虚拟主机的配置和泛域名解析实现代码

2025-05-17 06:51:36   来源:   阅读:

虚拟主机的配置
  基于IP地址的虚拟主机配置
  Listen 80
  DocumentRoot /www/zz
  ServerName
  DocumentRoot /www/mainserver
  # This is the other address
  NameVirtualHost 172.20.30.50
  DocumentRoot /www/zz
  ServerName

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




DocumentRoot "E:/InterRoot/busymouse_test/"
ServerName

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




DocumentRoot "E:/InterRoot/iptv_for_browser/auth"
ServerName auth.billing.com
ServerAlias auth.billing.com *.auth.billing.com
#泛域名解析
ErrorLog "E:/InterRoot/iptv_for_browser/serverlog/apache.log"

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




DocumentRoot "E:/InterRoot/iptv_for_browser/api"
ServerName voiz.billing.com
ErrorLog "E:/InterRoot/iptv_for_browser/serverlog/apache.log"

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




DocumentRoot "E:/InterRoot/iptv_for_browser/user"
ServerName user.billing.com
ErrorLog "E:/InterRoot/iptv_for_browser/serverlog/apache.log"

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




DocumentRoot "E:/InterRoot/iptv_for_browser/center"
ServerName center.billing.com
ErrorLog "E:/InterRoot/iptv_for_browser/serverlog/apache.log"

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




DocumentRoot "E:/InterRoot/iptv_for_browser/img"
ServerName img.billing.com
ErrorLog "E:/InterRoot/iptv_for_browser/serverlog/apache.log"

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




DocumentRoot "E:/InterRoot/iptv_for_browser/log"
ServerName log.billing.com
ErrorLog "E:/InterRoot/iptv_for_browser/serverlog/apache.log"

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




DocumentRoot "E:\InterRoot\billing_new\front"
ServerName admin.billing.com
ErrorLog "E:/InterRoot/iptv_for_browser/serverlog/apache.log"

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

本文《Apache虚拟主机的配置和泛域名解析实现代码》发布于君君营销文章,作者:admin,如若转载,请注明出处:/news/hyzx/92054.html,否则禁止转载,谢谢配合!

联系我们

18221295083
上海市浦东新区航头镇沪南公路4583号
上海市青浦区蟠龙路899号
18221295083
zhanglongfu@ijunjun.com
  • 联系我们
  • 关于我们
  • 二维码


    官方微信

    小程序
    返回
    顶部
    咨询

    扫描微信二维码,添加好友

    电话

    24小时电话:

    18221295083
    微信

    官方微信