当我输入“localhost”而不是“localhost / projectname / public / index.php”时,我想从浏览器打开我的项目。我该怎么做?
我在apache \ conf \中检查了我的httpd.conf文件,它在这个特定部分说:
DocumentRoot "C:/xampp/htdocs/projectname"
<Directory "C:/xampp/htdocs/projectname">
#
# 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 Includes ExecCGI
#
# 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.
#
Require all granted
</Directory>