mac下php环境apache httpd-vhosts.conf

发布时间:2020-07-30 07:10:07 作者:phpervip
来源:网络 阅读:422
# Virtual Hosts
#
# Required modules: mod_log_config

# If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry about
# IP addresses. This is indicated by the asterisks in the directives below.
#
# Please see the documentation at
# <URL:http://httpd.apache.org/docs/2.4/vhosts/>
# for further details before you try to setup virtual hosts.
#
# You may use the command line option '-S' to verify your virtual host
# configuration.

#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for all requests that do not
# match a ServerName or ServerAlias in any <VirtualHost> block.
#


<VirtualHost *:80>
   ServerAdmin webmaster@dummy-host2.example.com
   DocumentRoot "/Users/mac/data/demo"
   ServerName demo.com
   ErrorLog "/private/var/log/apache2/demo.ccc-error_log"
   CustomLog "/private/var/log/apache2/demo.ccc-access_log" common
</VirtualHost>

推荐阅读:
  1. Windows下Apache和php环境怎么搭建
  2. Apache的配置

免责声明:本站发布的内容(图片、视频和文字)以原创、转载和分享为主,文章观点不代表本网站立场,如果涉及侵权请联系站长邮箱:is@yisu.com进行举报,并提供相关证据,一经查实,将立刻删除涉嫌侵权内容。

apache mac httpd

上一篇:angularjs-隐藏 HTML 元素

下一篇:启动、停止、删除windows服务的DOS命令

相关阅读

您好,登录后才能下订单哦!

密码登录
登录注册
其他方式登录
点击 登录注册 即表示同意《亿速云用户服务条款》