First locate the httpd.conf file in the Appserv installation directory
./appserv/apache24/conf/httpd.conf
Open the file to find
Options Indexes FollowSymLinks
The revision was changed to
Options FollowSymLinks
The following content is online excerpt, not guaranteed correct, bloggers have not been tested
1. Prohibit access to certain files/directories
Add the Files option to control, such as not allowing access to the. inc extension file, to protect the PHP class library:
<files ~ ". inc$" >
Order Allow,deny
Deny from all
</Files>
2. Prohibit access to certain specified directories: (regular match can be done with <DirectoryMatch>)
<directory ~ "^/var/www/(. +/) *[0-9]{3}" >
Order Allow,deny
Deny from all
</Directory>
3. Prohibit by file matching, such as prohibit all access to the image:
<filesmatch. (? i:gif|jpe?g|png) $>
Order Allow,deny
Deny from all
</FilesMatch>
4. Forbidden access for URL-relative paths:
<Location/dir/>
Order Allow,deny
Deny from all
</Location>
Appserv Settings page does not display table of contents (index)