Mamp Display file list

Source: Internet
Author: User
Mamp is a php+nginx+mysql integrated environment under MAC, supports multi-site, different versions of PHP. Today someone asked Mamp how to display the file list problem, here to record.

Knowledge Supplement

A Web site for security reasons, the default is to disallow access to the list of files in the directory. When you request a directory:

St=>start: Start e=>end: End cond1=>condition: Is there a file in the index file list? Cond2=>condition: Is it allowed to display a list of files? Cond3=>condition: Have you specified 404 pages? Op1=>operation: Show Default file op2=>operation: Show file list op3=>operation: Displays the specified 404 page op4=>operation: Displays 404 errors at the server level st- >cond1->econd1 (yes)->op1->econd1 (NO)->cond2 (bottom) cond2 (yes)->op2->econd2 (NO)->cond3 ( right) Cond3 (yes)->op3->econd3 (NO)->op4->e

    • Default index file list (typically index.html,index.htm,index.php)
    • Site configuration in 404 related instructions, you can specify the files accessed at 404

      Configure Mamp

    1. Tick Indexs
    2. Set the value of directory index to *

Here are the configuration files for configuring Nginx to open the list of Access files:

http://blog.csdn.net/testcs_dn/article/details/39644147

Ps:

You can focus on my Github, CSDN and Weibo

  • Related Article

    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.