After School shampoo mamp display file list

Source: Internet
Author: User
Background

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:

Created with Rapha?l 2.1.0 Start is there a file in the index file list? Display the default file End allow file list to be displayed? Show file list have you specified 404 pages? displays the specified 404 page displaying server-level 404 errors Yes No Yes No Yes No

    • 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

'). addclass (' pre-numbering '). Hide (); $ (this). addclass (' has-numbering '). Parent (). append ($numbering); for (i = 1; i <= lines; i++) {$numbering. Append ($ ('
  • '). Text (i)); }; $numbering. FadeIn (1700); }); });

    The above describes the After school shampoo mamp display file list, including the After school shampoo aspects, want to be interested in PHP tutorial friends helpful.

  • 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.