wildcard dns entry (apache泛域名解析)

<VirtualHost 192.168.8.37:80>
    ServerAdmin webmaster@dummy-host.example.com
    DocumentRoot /var/www/html
    ServerName test.9you.com
    ErrorLog logs/dummy-host.example.com-error_log
    CustomLog logs/dummy-host.example.com-access_log common
</VirtualHost>

<VirtualHost 192.168.8.37:80>
    ServerAdmin webmaster@dummy-host.example.com
    DocumentRoot /var/www/html/blog
   ServerName blog.test.9you.com
 ServerAlias *.blog.test.9you.com
   ErrorLog logs/dummy-host.example.com-error_log
    CustomLog logs/dummy-host.example.com-access_log common
</VirtualHost>
阅读更多
文章标签: wildcard apache
个人分类: 项目管理
上一篇apache2 虚拟主机virtual host设置说明:
下一篇jbuilderX的webservice入门(服务器端和客户端)多图
想对作者说点什么? 我来说一句

没有更多推荐了,返回首页

关闭
关闭