Windows上的Apache 2.4-包含DocumentRoot之外的文件夹
我需要在我的httpd.conf上包含一个文件夹,该文件夹位于我的Windows上的Apache 2.4-包含DocumentRoot之外的文件夹,windows,apache,httpd.conf,apache2.4,Windows,Apache,Httpd.conf,Apache2.4,我需要在我的httpd.conf上包含一个文件夹,该文件夹位于我的DocumentRoot目录之外。我知道有很多关于这方面的信息,但不是专门针对运行在Windows上的Apache 2.4。我尝试了很多东西,但任何东西都有效,我总是犯一个禁止的错误,这让我发疯 以下是我的默认配置,由WAMP创建: <Directory /> AllowOverride none Require all denied </Directory> DocumentRoot "
DocumentRoot
目录之外。我知道有很多关于这方面的信息,但不是专门针对运行在Windows上的Apache 2.4。我尝试了很多东西,但任何东西都有效,我总是犯一个禁止的错误,这让我发疯
以下是我的默认配置,由WAMP创建:
<Directory />
AllowOverride none
Require all denied
</Directory>
DocumentRoot "${INSTALL_DIR}/www"
<Directory "${INSTALL_DIR}/www/">
Options +Indexes +FollowSymLinks +Multiviews
AllowOverride all
Require local
</Directory>
有人能帮我吗?提前谢谢
<Directory "e:/Development/[Git]/projectName/public/">
Require all granted
</Directory>
<Directory "e:/Development/[Git]/projectName/public/">
Options +Indexes +FollowSymLinks +Multiviews
AllowOverride all
Require local
</Directory>
Alias /projectName "e:/Development/[Git]/projectName/public/"
# The <Directory> on attempts #1 and #2
# Disabling the security as below is not an option
<Directory />
AllowOverride none
Require all granted
</Directory>