แก้ปัญหา Directory Index เป็นภาษาต่างดาว
![รูปภาพ](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi49qaWG-JRKHRSiVpIbPdfb4MoNNeX8l2HuZMHA4jqaAwUOMJuTu-0i1t6R72YFEfD7m7Zr1UJBIxJY92jREJw6KAezhlbH7D1KqjPmCPhbjGkfuSkF-kesfKp5d_UG6Lhyphenhyphenql6fPWIfGQ/s1600/201203111307.jpg)
เวลาเรียกดูไดเรคทอรี่งานที่เราเก็บไว้ ตามลิงค์ที่เราทำ แล้วมันเป็นภาษาต่างดาว เราจะแก้ไขดังนี้ เข้าไปแก้ไขไฟล์ httpd.conf # vim /etc/httpd/conf/httpd.conf # First, we configure the "default" to be a very restrictive set of # features. # <Directory / > Options FollowSymLinks AllowOverride None # # Note that from this point forward you must specifically allow # particular features to be enabled - so if something's not working as # you might expect, make sure that you have specifically enabled it # below. # # # This should be changed to whatever you set DocumentRoot to. # <Directory "/var/www/html" > # # Possible values for the Options directive are "None", "All", # or any combination of: # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews # # Note that "MultiViews" must be named *explicitly* --- "Options All" # doesn't give it to you. #