Appserv Settings page does not display table of contents (index)

Source: Internet
Author: User

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)

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.