1. If you visit your PHP Web page and encounter forbidden, you will be restricted.
2. Configure permissions by using the directory directives. A default permission configuration that is specifically explained by the directory directive
3. Using the directory directives in the secondary files
4. Specifically written as such
5. When opened in the browser, you can configure the home page, index.html or index.php to open by default.
In the httpd.conf :
The default index page,
<ifmodule dir_module>
DirectoryIndex index.html
</IfModule>
6. However, if you do not have a home page to access your files, you will also see the forbidden, if you want to let the folder file or folder display, you have to open the index list, is in the directory directive
7. When the actual site is deployed, the index list should be closed.
FollowSymLinks refers to the symbolic link that theLinux System is valid for
8. With regard to the description of Deny and allow, there are only two points that affect the outcome of the Final Judgment:
the order of allow anddeny in order statement ;
the ranges contained in B, allow,deny statements
In the order statement,"Allow,deny" has a comma (in English format), and the order of precedence is important;Apache has a default rule, " Order Allow,deny"itself by default denies all meaning, because deny is behind allow; Deny,allow"The default is to allow all;"order Allow,deny"means to judge the Let statement before Judging deny statement, and vice versa
9. if both the primary and secondary files are configured with permissions , to assist the file as the main note options This instruction, will not overlay, so sometimes we will see in indexes have a + or - the appearance of.
Configuration of access rights