You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2004/07/15 05:40:57 UTC
DO NOT REPLY [Bug 30111] New: -
Cannot access certain folders with directive
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=30111>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://issues.apache.org/bugzilla/show_bug.cgi?id=30111
Cannot access certain folders with <Directory> directive
Summary: Cannot access certain folders with <Directory> directive
Product: Apache httpd-1.3
Version: 1.3.31
Platform: PC
URL: http://homebase1010.homeip.net:1010/fm/
OS/Version: Windows XP
Status: NEW
Severity: Blocker
Priority: Other
Component: core
AssignedTo: bugs@httpd.apache.org
ReportedBy: wppdev@wppdev.com
I am not sure if this is the right place to post this problem, but if you
could direct me to the right place, it would be greatly appreciated.
I am running Windows XP PRO with Apache 1.3.31 and PHP 4.3.7. FYI, This issue
does not have anything to do with PHP as the server is up and running fine.
I can access the DocumentRoot folder (E:/httproot) fine and I have created a
folder (E:/media) which I successfully created a <Directory> directive for.
It seems that when I create any other folder and add a <Directory> directive
to the server's config, it acts as if I did not add the directive at all and
creates an error in the errorlog saying that E:/httproot/<folder name> does
not exist. It is trying to get it from DocumentRoot instead.
Is there a limit or something to the number of <Directory> directives that
Apache will allow on the Windows platform?
Any info would be appreciated.
Here is the folder part of my httpd.conf:
#
# DocumentRoot: The directory out of which you will serve your
# documents. By default, all requests are taken from this directory, but
# symbolic links and aliases may be used to point to other locations.
#
DocumentRoot "E:/httproot/"
#
# Each directory to which Apache has access, can be configured with respect
# to which services and features are allowed and/or disabled in that
# directory (and its subdirectories).
#
# First, we configure the "default" to be a very restrictive set of
# permissions.
#
<Directory />
Options FollowSymLinks
AllowOverride None
</Directory>
#
# Note that from this point forward you must specifically allow
# particular features to be enabled - so if something's not working as
# you might expect, make sure that you have specifically enabled it
# below.
#
#
# This should be changed to whatever you set DocumentRoot to.
#
<Directory "E:/httproot/">
#
# This may also be "None", "All", or any combination of "Indexes",
# "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews".
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# Options Indexes FollowSymLinks MultiViews
Options -Indexes FollowSymLinks MultiViews
#
# This controls which options the .htaccess files in directories can
# override. Can also be "All", or any combination of "Options", "FileInfo",
# "AuthConfig", and "Limit"
#
AllowOverride None
#
# Controls who can get stuff from this server.
#
Order allow,deny
allow from all
</Directory>
#
# media
#
<Directory "E:/media/">
Options -Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
#
# fm
#
<Directory "E:/fm/">
Options -Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
</Directory>
#
# phpMyAdmin
#
<Directory "E:/phpMyAdmin/">
Options -Indexes FollowSymLinks MultiViews
AllowOverride None
Order deny,allow
deny from all
allow from x.x.x.
allow from x.x.x.
</Directory>
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org