httpd.conf
listen 8088
documentroot e:/test/
options +indexes +followsymlinks +execcgi
allowoverride all
order allow,deny
allow from all
require all granted
#
# possible values for the options directive are none, all,
# or any combination of:
# indexes includes followsymlinks symlinksifownermatch execcgi multiviews
#
# note that multiviews must be named *explicitly* --- options all
# doesn't give it to you.
#
# the options directive is both complicated and important. please see
# http://httpd.apache.org/docs/2.4/mod/core.html#options
# for more information.
#
options indexes followsymlinks
#
# allowoverride controls what directives may be placed in .htaccess files.
# it can be all, none, or any combination of the keywords:
# allowoverride fileinfo authconfig limit
#
allowoverride all
#
# controls who can get stuff from this server.
#
# onlineoffline tag - don't remove
require local
httpd-vhosts.conf
servername 192.168.0.119:8088
documentroot e:/test/chemla/chemla/web
回复讨论(解决方案) 节也要有
allow from all
本机可以访问的话,是不是跟防火墙有关?你可以把服务器防火墙关掉试试
#
# possible values for the options directive are none, all,
# or any combination of:
# indexes includes followsymlinks symlinksifownermatch execcgi multiviews
#
# note that multiviews must be named *explicitly* --- options all
# doesn't give it to you.
#
# the options directive is both complicated and important. please see
# http://httpd.apache.org/docs/2.4/mod/core.html#options
# for more information.
#
options indexes followsymlinks
#
# allowoverride controls what directives may be placed in .htaccess files.
# it can be all, none, or any combination of the keywords:
# allowoverride fileinfo authconfig limit
#
allowoverride all
#
# controls who can get stuff from this server.
#
#onlineoffline tag - don't remove
# require local
order deny,allow
deny from all
allow from all
documentroot e:/test/chemla/chemla/web
options followsymlinks
allowoverride none
order deny,allow
allow from all
本机访问 localhost:8088 是可以访问的
