Mobile app version of vmapp.org
Login or Join
Miguel251

: Apache Configuration - Directory I am trying to figure out why i can not access my folder for web-mail yet i have got the correct location and copied a working directory above. Forbidden

@Miguel251

Posted in: #Apache

I am trying to figure out why i can not access my folder for web-mail yet i have got the correct location and copied a working directory above.

Forbidden
You don't have permission to access /mail on this server.

and HTTPD.exe reports

[Thu Dec 11 11:08:32.771044 2014] [core:warn] [pid 2340:tid 192] AH00114: Useless use of AllowOverride in line 674 of C:/Program Files/Apache/conf/httpd.conf.

yet WPad works correctly with the exact same settings.

I am thoroughly confused with theses results.

<Directory "c:/inetpub/wwwroot/App_Data/wpad">
#This one Works
Options Indexes FollowSymLinks
AllowOverride all

order allow,deny
allow from all
</Directory>

<Location "c:/inetpub/wwwroot/App_Data/WebMail">
#This one dose not work
Options Indexes FollowSymLinks
#line 674 is below this
AllowOverride all

order allow,deny
allow from all
</location>

<Directory "c:/inetpub/wwwroot/App_Data/">
#
# 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
# 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.
#
order allow,deny
allow from 127.0.0.1
</Directory>

Alias /mail "c:/inetpub/wwwroot/App_Data/WebMail"

10.01% popularity Vote Up Vote Down


Login to follow query

More posts by @Miguel251

1 Comments

Sorted by latest first Latest Oldest Best

 

@Jamie184

Change your to

From: httpd.apache.org/docs/2.2/mod/core.html#allowoverride
Only available in <Directory> sections

AllowOverride is valid only in <Directory> sections specified without regular
expressions, not in <Location>, <DirectoryMatch> or <Files> sections.

10% popularity Vote Up Vote Down


Back to top | Use Dark Theme