Linux « コンビニでツケ?? | HOME | mysql - backup »
In case that you set Indexes on in httpd.conf, the directory listing shows up when you accessed to the site. This is addtional setup how it appears on the web browser.
Add below line in the part of directory setup.
# nano /etc/httpd/conf/httpd.conf
IndexOptions FancyIndexing FoldersFirst Charset=UTF-8 HTMLTable
FancyIndexing : The listing changes to a bit fancy one (really??)
FoldersFIrst : Folders is listed first prior to files.
Charset : Default Charset
HTMLTable : The listing changes to HTML Table.
For more setup, refer below URL.
http://httpd.apache.org/docs/2.0/ja/mod/mod_autoindex.html#indexoptions
Disable listing
If you want to disable listing, just delete Indexes from Options in httpd.conf. However if you want to stop listing only in the particular directory, create .htaccess in the directory and write below.
# nano .htaccess
Options -Indexes

