ÀÛ¼ºÀÚ :
Á¶¼ºÈ¯ [ ladmin ]
|
̵̧: 4209,
¼öÁ¤: 2,
³»·Á¹Þ±â: 32,
Á¶È¸: 12893,
ÁÙ¼ö: 83,
ºÐ·ù: Etc.
|
½Ã³î·ÎÁö NAS ¼¹ö¸¦ apache Indexes ¿É¼ÇÀ» ÁÖ¾î »ç¿ëÇÏ°í ½ÍÀ»¶§ [°Ãß]
|
---|
http://nas.wowunix.com/down ó·³ »ç¿ëÇÏ°í ½ÍÀ»¶§´Â ´ÙÀ½°ú °°ÀÌ ½Ã³î·ÎÁö httpd.conf ¼³Á¤À» ¹Ù²Ù¼Å¾ß ÇÕ´Ï´Ù.
¼³Á¤ÇÏ´Â ¹æ¹ýÀº °£´ÜÇÕ´Ï´Ù.... ^^
¿ì¼±
1) httpd.conf ¸¦ ã¾Æ Indexes ¿É¼ÇÀ» Ãß°¡ÇØ ÁØ´Ù. !!
DS1010-Plus> pwd
/usr/syno/apache/conf
DS1010-Plus> ls -l
drwxr-xr-x 2 root root 4096 Oct 22 16:02 extra
-rw-r--r-- 1 root root 3509 Oct 22 16:02 httpd-webdav.conf-sys
-rw-r--r-- 1 root root 16436 Oct 24 13:50 httpd.conf
-rw-r--r-- 1 root root 14891 Oct 22 16:02 httpd.conf-sys
-rw-r--r-- 1 root root 16291 Sep 4 03:57 httpd.conf-user
-rw-r--r-- 1 root root 12958 Sep 4 03:57 magic
-rw-r--r-- 1 root root 45472 Sep 4 03:57 mime.types
DS1010-Plus> vi httpd.conf
...............................
#
# This should be changed to whatever you set DocumentRoot to.
#
<Directory "/var/services/web">
#
# 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.
#
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs/2.2/mod/core.html#options
# for more information.
#
Options MultiViews FollowSymLinks ExecCGI Indexes
...............................
...............................
...............................
¸Ç ¸¶Áö¸· (139 ¶óÀÎ ÀÔ´Ï´Ù) Options ÁÙ¿¡ Indexes Ãß°¡ !!
2) httpd restart !!
/usr/syno/apache/bin/httpd -k restart
ÀÌ»óÀÔ´Ï´Ù. ÀÌ»ó¾øÀÌ restart µÇ¸é ¼ºñ½º ÇÒ ÆäÀÌÁö(ex. http://nas.wowunix.com/down/)¸¦ reload ÇØº¸½Ã¸é ÆäÀÌÁö°¡ Àß ¶ã°Ì´Ï´Ù..... ^^
¸¶Áö¸·À¸·Î ¼ºñ½º ÆäÀÌÁö¿¡¼ icon µéÀÌ ±úÁö¸é ÷ºÎ·Î ¿Ã¸° icons.zip ÆÄÀÏÀ» Ç®¾î
/usr/syno/apache µð·ºÅ丮 ÇÏÀ§¿¡ (icons µð·ºÅ丮¸¦) ftp ·Î ¾÷·Îµå ÇÏ°í ¾Æ·¡¿Í °°ÀÌ ½Éº¼¸¯ ¸µÅ©¸¦ °É¾îÁÖ¸é ¾ÆÀÌÄܵéÀÌ ±úÁöÁö ¾Ê½À´Ï´Ù..... ^^
DS1010-Plus> ln -s /volume1/web/icons /usr/syno/apache/icons
|
|
|
|