mac下php环境apachehttpd-vhosts.conf

# 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>
   ServerAdminwebmaster@dummy-host2.example.com
   DocumentRoot"/Users/mac/data/demo"
   ServerNamedemo.com
   ErrorLog"/private/var/log/apache2/demo.ccc-error_log"
   CustomLog"/private/var/log/apache2/demo.ccc-access_log" common
</VirtualHost>

本文题目:mac下php环境apachehttpd-vhosts.conf
浏览地址:https://www.cdcxhl.com/article24/ggedje.html

成都网站建设公司_创新互联,为您提供外贸网站建设网站营销ChatGPT网站制作微信公众号服务器托管

广告

声明:本网站发布的内容(图片、视频和文字)以用户投稿、用户转载内容为主,如果涉及侵权请尽快告知,我们将会在第一时间删除。文章观点不代表本网站立场,如需处理请联系客服。电话:028-86922220;邮箱:631063699@qq.com。内容未经允许不得转载,或转载时需注明来源: 创新互联

微信小程序开发