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
:
- Tick Indexs
- 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.