202
13.3.32 Order
The Order directive simply controls the order in which allow and deny directives are evaluated.
Your server is configured to evaluate the Allow directives before the deny directives for your Doc-
umentRoot directory.
13.3.33 Allow
Allow specifies which requester can access a given directory. The requester can be all, a domain
name, an IP address, a partial IP address, a network/netmask pair, etc. Your DocumentRoot direc-
tory is configured to Allow requests from all (i.e., anyone).
13.3.34 Deny
Deny works just like Allow, but you are specifying who is denied access. Your DocumentRoot is
not configured to Deny requests from anyone.
13.3.35 UserDir
UserDir is the name of the subdirectory within each user's home directory where they should place
personal HTML files which are to be served by the Web server.
By default, the subdirectory is public_html. For example, the server might receive the following
request:
http:// your_domain /~ username /foo.html
The server would look for the file:
/home/username/public_html/foo.html
In the above example, /home/username is the user's home directory (note that the default path to
users' home directories may be different on your system).
Make sure that the permissions on the users' home directories are set correctly. Users' home directo-
ries must be set to 0711. The read (r) and execute (x) bits must be set on the users' public_html
directories (0755 will work). Files that will be served in users' public_html directories must be
set to at least 0644.
13.3.36 DirectoryIndex
The DirectoryIndex is the default page served by the server when a user requests an index of a
directory by specifying a forward slash (/) at the end of the directory name.
When a user requests the page http://your_domain/this_directory/, they will get either the Directo-
ryIndex page if it exists, or a server-generated directory list. The default for DirectoryIndex
Chapter 13:Apache
Need help?
Do you have a question about the LINUX 7.2 and is the answer not in the manual?
Questions and answers