Apache 2.4 on Windows - Include folder out of DocumentRoot -
i need include folder on httpd.conf out of documentroot
directory. know there lot of info not apache 2.4 running on windows. tried lot of things works, forbidden error, , driving me mad.
here default config made wamp:
<directory /> allowoverride none require denied </directory> documentroot "${install_dir}/www" <directory "${install_dir}/www/"> options +indexes +followsymlinks +multiviews allowoverride require local </directory>
that's ok need include folder project on e:\ disk. have tried of these, restarting apache server after every attempt:
attempt #1
<directory "e:/development/[git]/projectname/public/"> require granted </directory>
attempt #2
<directory "e:/development/[git]/projectname/public/"> options +indexes +followsymlinks +multiviews allowoverride require local </directory>
attempt #3
alias /projectname "e:/development/[git]/projectname/public/" # <directory> on attempts #1 , #2
just clarify:
i have tried lot of combinations using /
or \
. using "
or without. tried escape []
\[git\]
.
i have virtualhost
configured directory. know because if remove security on <directory />
works fine, have read lack of security not want have:
# disabling security below not option <directory /> allowoverride none require granted </directory>
can me please? in advance
Comments
Post a Comment