°Ô½Ã¹° 1,369°Ç
   
À¥±â¹Ý ÆÄÀÏ°ü¸® WebDAV ÀÌÇØ¿Í ¼³Á¤
±Û¾´ÀÌ : ÃÖ°í°ü¸®ÀÚ ³¯Â¥ : 2009-12-01 (È­) 10:44 Á¶È¸ : 12252
±ÛÁÖ¼Ò :
                                
À¥Çϵåµð½ºÅ© ±¸ÇöÇÒ ¼ö ÀÖ°í, FTP¸¦ ÅëÇÏÁö ¾Ê°í HTTP ÇÁÅäÅäÄÝÀ» ÅëÇØ À¥»óÀÇ ÆÄÀÏÀ» ¼Û¼ö½ÅÇÏ°í
¼öÁ¤, »èÁ¦ÇÒ ¼ö ÀÖ´Â WebDAV ¼³Á¤°ú »ç¿ë ¹æ¹ýÀ» ¼³¸íÇÑ´Ù.

1. WebDAV¶õ ¹«¾ùÀΰ¡?

WebDAV´Â Web-based Distributed Authoring and Versioning (À¥±â¹Ý ºÐ»êÇü ÀúÀÛ ¹× ¹öÀü°ü¸®)ÀÇ
¾àÀÚ·Î À¥À» ÅëÇÏ¿© À¥¼­¹ö¿¡ ÆÄÀÏÀ» °ü¸®(¸ñ·Ï Á¶È¸, ¼öÁ¤, »èÁ¦, À̵¿ µî)ÇÒ ¼ö ÀÖ´Â È®ÀåµÈ HTTP
ÇÁ·ÎÅäÄÝÀ» ¸»ÇÑ´Ù.

1) WebDAV Ư¡

- ÆÄÀÏ ¶ôÅ·(file locking) Áö¿ø : ¿©·¯ ¸íÀÌ µ¿½Ã Á¢±ÙÀÌ °¡´ÉÇÑ À¥¿¡¼­ overwriteÇÏ´Â °ÍÀ» ¸·´Â´Ù.
- XMLÀ» »ç¿ëÇÏ¿© µ¥ÀÌÅ͸¦ ±³È¯ (¹°·Ð »ç¿ëÀÚ´Â XMLÀ» ¸ô¶óµµ µÈ´Ù.)
- ¼³Á¤Àº °£´ÜÇÏÁö¸¸ È¿°ú´Â ¸¸Á¡
- ½¬¿î Á¢±Ù Á¦¾î
- À¥Çϵåµð½ºÅ© ±¸Çö °¡´É

2) WebDAV¿¡¼­ È®ÀåµÈ ¸Þ¼Òµå(Method)

HEAD, GET, PUT, POST µîÀÇ ±âº» HTTP ¸Þ¼Òµå ¿Ü¿¡ WebDAV¿¡´Â È®ÀåµÈ ´ÙÀ½ ¸Þ¼ÒµåµéÀÌ ÀÖ´Ù.

 
------------¡¡-------------------------------------------------------------------------
¡¡ ¸Þ¼Òµå¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡¡ÀÇ¡¡¹Ì
------------¡¡-------------------------------------------------------------------------
PROPFIND¡¡¡¡¡¡¸®¼Ò½º¸¦ À§ÇÑ ¼Ó¼ºÀ» °Ë»öÇÑ´Ù. Áï, À¥ÀÇ ÆÄÀÏ ¸ñ·Ï°ú ¼Ó¼ºÀ» °Ë»öÇÑ´Ù.
PROPPATCH¡¡¡¡ ÇϳªÀÇ ¸®¼Ò½º¿¡ ´ëÇÑ ¼Ó¼ºÀ» º¯°æÇÑ´Ù.
MKCOL¡¡¡¡¡¡¡¡ »õ·Î¿î Ä÷º¼Ç(µð·ºÅ丮, Æú´õ¿¡ ÇØ´ç)À» ¸¸µç´Ù.
COPY¡¡¡¡¡¡¡¡¡¡¸®¼Ò½º¿Í Ä÷º¼ÇÀ» º¹»çÇÑ´Ù. ÆÄÀÏ º¹»ç
MOVE¡¡¡¡¡¡¡¡¡¡¸®¼Ò½º¿Í Ä÷º¼ÇÀ» À̵¿ÇÑ´Ù. ÆÄÀÏ À̵¿
LOCK, UNLOCK¡¡¸®¼Ò½º¿¡ overwrite ¹æÁö¸¦ À§ÇÑ ¶ôÀ» °É°í Ǭ´Ù.
OPTIONS¡¡¡¡¡¡ ¼­¹ö°¡ Áö¿øÇÏ´Â ¸Þ¼Òµå¸¦ Ãâ·ÂÇÑ´Ù.
DELETE¡¡¡¡¡¡¡¡¸®¼Ò½º¿Í Ä÷º¼ÇÀ» »èÁ¦ÇÑ´Ù. ÆÄÀÏ »èÁ¦
------------¡¡-------------------------------------------------------------------------
 


2. WebDAV »ç¿ëÀ» À§ÇÑ ¾ÆÆÄÄ¡ ¸ðµâ ¼³Ä¡

1) ¾ÆÆÄÄ¡ 1.3.x¿¡¼­ mod_dav ¼³Ä¡

* ¾ÆÆÄÄ¡ 1.3.x¿ë DAV ¸ðµâ :
http://www.webdav.org/mod_dav/

À§ »çÀÌÆ®¿¡¼­ ÃֽŠmod_dav¸¦ ¹Þ´Â´Ù. (ÇöÀç mod_dav-1.0.3-1.3.6.tar.gz )
¾ÆÆÄÄ¡´Â ÀÌ¹Ì DSO¹æ½ÄÀ¸·Î /usr/local/apache¿¡ ¼³Ä¡µÈ °ÍÀ¸·Î °¡Á¤ÇÏ°í mod_dav ¸ðµâÀ» Ãß°¡Çغ¸ÀÚ.

 
# tar xvfz mod_dav-1.0.3-1.3.6.tar.gz
# cd mod_dav-1.0.3-1.3.6
# ./configure --with-apxs=/usr/local/apache/bin/apxs
# make
# make install
 


¸ðµâÀº /usr/local/apache/libexec/ µð·ºÅ丮¿¡ ¼³Ä¡µÉ °ÍÀÌ´Ù.

2) ¾ÆÆÄÄ¡ 2.x¿¡¼­ mod_dav ¼³Ä¡

¾ÆÆÄÄ¡ 2.x¿¡¼­´Â 1.3.x¿¡¼­ º°µµ·Î ¼³Ä¡ÇØ¾ß Çß´ø ¸ðµâÀÌ ÀÌ¹Ì ¼Ò½º¾È¿¡ Æ÷ÇԵǾî ÀÖÀ¸¹Ç·Î
¾ÆÆÄÄ¡ ¼³Ä¡ÇÒ ¶§ configure¿¡¼­ --enable-dav¸¦ Ãß°¡ÇÑ ÈÄ ÄÄÆÄÀÏÇÏ¸é µÈ´Ù.

 
# ./configure --enable-dav --±âŸ¿É¼Êµé...
.. »ý·« ...
checking whether to enable mod_dav... yes (default)
.. »ý·« ...
# make
# make install
 


3) httpd.conf¿¡¼­ ¸ðµâ È®ÀÎ

¾ÆÇÇÄ¡ 1.3.x¿¡¼­´Â httpd.conf¿¡ ´ÙÀ½ÀÌ ÀÖ´ÂÁö È®ÀÎÇÏ°í

 
LoadModule dav_module¡¡¡¡¡¡¡¡ libexec/libdav.so
AddModule mod_dav.c
 


2.x¿¡¼­´Â ´ÙÀ½À» È®ÀÎÇÑ´Ù.

 
LoadModule dav_module¡¡¡¡¡¡¡¡ modules/mod_dav.so
 


3. ¾ÆÆÄÄ¡ À¥¼­¹ö¿¡¼­ WebDAV ¼³Á¤

WebDAV »ç¿ëÇϱâ À§ÇÑ °¡Àå ±âº»ÀûÀÎ ¼³Á¤À» Çغ¸ÀÚ.

 
# DAVÀÇ ÆÄÀ϶ôÅ·À» À§ÇÑ Lock DB°¡ À§Ä¡ÇÒ °æ·Î¸¦ ÁöÁ¤ÇÑ´Ù.
# - /tmp/DavLock À̶ó°í ¼³Á¤ÇÒ ¶§ /tmp µð·ºÅ丮¿¡ DavLock DB ÆÄÀÏÀÌ »ý¼ºµÇ´Â °ÍÀÌ´Ù.
# - ÁöÁ¤ÇÑ °æ·Î´Â ¹Ýµå½Ã ¾ÆÆÄÄ¡ À¥¼­¹öÀÇ ½ÇÇà user(º¸Åë nobody, web, apache µî)°¡
#¡¡ ¾²±â °¡´ÉÇÑ µð·ºÅ丮¿©¾ß ÇÑ´Ù.
DAVLockDB /tmp/DavLock

# /dav µð·ºÅ丮¸¦ WebDAV »ç¿ë °¡´ÉÇÑ µð·ºÅ丮·Î ÁöÁ¤
# - /usr/local/apache/htdocs°¡ Ȩµð·ºÅ丮 ÀÏ ¶§
#¡¡ /usr/local/apache/htdocs/dav ¸¦ ÀǹÌÇÑ´Ù.
# - ¸¸¾à Ȩµð·ºÅ丮¸¦ ¹þ¾î³­ °÷¿¡ À§Ä¡ÇÑ´Ù¸é Alias Áö½ÃÀÚ·Î ¸ÅÇÎÀ» ÇØÁØ´Ù.
#¡¡ Alias /dav /home/truefeel/work
# - ÁöÁ¤ÇÑ µð·ºÅ丮´Â À¥¼­¹ö ½ÇÇà user°¡ ¾²±â °¡´ÉÇÑ ±ÇÇÑÀÌ ÀÖ¾î¾ß
#¡¡ ¼öÁ¤, »èÁ¦, À̵¿, ÆÄÀÏ¸í º¯°æÀÌ °¡´ÉÇÏ´Ù.
<Location /dav>
¡¡¡¡# WebDAV¸¦ »ç¿ëÇÏ°Ú´Ù
¡¡¡¡DAV On

¡¡¡¡AllowOverride None
¡¡¡¡Options None
¡¡¡¡Order allow,deny
¡¡¡¡Allow from all
</Location>
 


À§ÀÇ ¼³Á¤¸¸ °¡Áö°íµµ 'Ȩµð·ºÅ丮/dav/' ´Â WebDAV¸¦ »ç¿ëÇÒ ¼ö Àִ ȯ°æÀÌ µÈ´Ù.
Á¦´ë·Î µ¿ÀÛÇÏ´ÂÁö µµÀúÈ÷ ¸ø Âü°Ú´Â »ç¶÷Àº ¾ÆÆÄÄ¡ À¥¼­¹ö¸¦ Àç½ÇÇàÇÏ°í
'4. WebDAV Ŭ¶óÀ̾ðÆ®·Î ȨÆäÀÌÁö ÆÄÀÏÀ» °ü¸®Çغ¸ÀÚ.'À¸·Î ³Ñ¾î°¡¶ó!

ÇÑ´Ü°è ³ôÇô ÇØ´ç µð·ºÅ丮 Á¢¼ÓÇÒ ¶§ ÀÎÁõ °úÁ¤À» °ÅÄ¡°í ƯÁ¤ IP¿¡¼­¸¸ Á¢¼ÓÀ» Çã¿ëÇϵµ·Ï ¼³Á¤Çغ¸ÀÚ.
¾Æ·¡ ¼³Á¤Àº À¥ºê¶ó¿ìÀú¿¡¼­´Â ÀϹÝÀûÀÎ ÇüÅÂ¿Í µ¿ÀÏÇÏ°Ô ³ªÅ¸³ªÁö¸¸ WebDAV Ŭ¶óÀ̾ðÆ®¸¦ ÅëÇØ
Á¢¼ÓÇÒ ¶§´Â 192.168.123.0/24 IP¿¡¼­¸¸ Á¢±ÙÀÌ °¡´ÉÇÏ°í ¶ÇÇÑ ·Î±ä¿ë ID¿Í ºñ¹Ð¹øÈ£¸¦ ¹°¾îº¸°Ô µÈ´Ù.

 
DAVLockDB /tmp/DavLock
# DAV ÆÄÀ϶ôÅ·À» ÇÒ ÃÖ¼Ò ½Ã°£À» ÁöÁ¤ÇÑ´Ù.
DAVMinTimeout 600

<Location /dav>
¡¡¡¡DAV On

¡¡¡¡AllowOverride None
¡¡¡¡Options None

¡¡¡¡# ¾ÆÆÄÄ¡ ÀÎÁõ
¡¡¡¡# - ÀÎÁõ¿ë »ç¿ëÀÚ ÆÄÀÏÀÇ À§Ä¡´Â /usr/local/apache/dav/.htpasswd ÀÌ´Ù. ÀÌ ÆÄÀÏÀº
¡¡¡¡#¡¡ Ȩµð·ºÅ丮(/usr/local/apache/htdocs) ¹Û¿¡ µÎ¾î À¥¿¡¼­´Â Á¢±ÙÇÒ ¼ö ¾øµµ·Ï ÇÑ´Ù.
¡¡¡¡# - WebDAV È®Àå¿ë ¸Å¼Òµå¿Í PUT, POST(ÀÌ ¶ÇÇÑ WebDAV¿¡¼­ »ç¿ëÇÔ)¿¡ ´ëÇØ Àû¿ëµÈ´Ù.
¡¡¡¡# - 192.168.123.0 ~ .255 ÀÌ¿ÜÀÇ °÷¿¡¼­´Â WebDAV Á¢±ÙÀÌ ºÒ°¡´ÉÇÏ´Ù.
¡¡¡¡# - ÀÎÁõ¿ë ID´Â webdavÀ̸ç ÀÌ »ç¿ëÀÚÀÇ ºñ¹Ð¹øÈ£´Â .htpasswd¿¡ ¼³Á¤ÇØµÖ¾ß ÇÑ´Ù.
¡¡¡¡AuthName "WebDAV User"
¡¡¡¡AuthType Basic
¡¡¡¡AuthUserFile /usr/local/apache/dav/.htpasswd
¡¡¡¡<Limit PUT POST DELETE PROPFIND PROPPATCH MKCOL COPY MOVE LOCK UNLOCK>
¡¡¡¡¡¡ Order deny,allow
¡¡¡¡¡¡ Deny¡¡from all
¡¡¡¡¡¡ Allow from 192.168.123.
¡¡¡¡¡¡ Require user webdav
¡¡¡¡</Limit>
</Location>
 


ÀÎÁõ¿ë ÆÄÀÏÀ» »ý¼ºÇغ¸ÀÚ.

 
# mkdir /usr/local/apache/dav
# htpasswd -c /usr/local/apache/dav/.htpasswd webdav
New password:
Re-type new password:
Adding password for user webdav
# chmod 701 /usr/local/apache/dav
# chwon root:nobody /usr/local/apache/dav/.htpasswd
# chmod 640 /usr/local/apache/dav/.htpasswd
 


 
# /usr/local/apache/bin/apachectl restart
 


4. WebDAV Ŭ¶óÀ̾ðÆ®·Î ÆÄÀÏÀ» °ü¸®Çغ¸ÀÚ.

WebDAV ClientÁß¿¡ SkunkDAV Ŭ¶óÀ̾ðÆ®¸¦ ¼Ò°³ÇÑ´Ù.
ÀÚ¹Ù·Î °³¹ßµÆÀ¸¸ç, ÆÄÀÏ ¸ñ·Ï Á¶È¸´Â ¹°·Ð ÀÚü ÆíÁý±â°¡ Æ÷ÇԵǾî ÀÖ¾î À¥»óÀÇ ÆÄÀÏÀ»
¼Õ½±°Ô ÆíÁýÇÒ ¼ö ÀÖ´Ù. ¶ÇÇÑ °£´ÜÇÑ À̹ÌÁö ºä¾î°¡ ³»ÀåµÇ¾î ÀÖ´Ù.

* SkunkDAV DAV Ŭ¶óÀ̾ðÆ® ÇÁ·ÎÁ§Æ® ȨÆäÀÌÁö :
http://skunkdav.sourceforge.net/

ÃֽŠjar ÆÄÀÏ(ÇöÀç skunkdav-1.0.2.4.jar)À» ¹Þ¾Æ¿Â´Ù.
Java¸¦ »ç¿ëÇÒ ¼ö Àִ ȯ°æÇÏ¿¡¼­ ´ÙÀ½°ú °°ÀÌ ½ÇÇàÇÑ´Ù.

 
# java -jar skunkdav-1.0.2.4.jar
 


1) Á¢¼ÓÈ­¸é

File -> Connect ¸¦ ¼±ÅÃÇϰųª Ctrl+D¸¦ ´©¸£¸é Á¢¼ÓâÀÌ ³ªÅ¸³­´Ù.
Á¢¼Ó

Connect ¹öÆ°À» ´©¸¥ ÈÄ¿¡ ¾Æ¹«·± º¯È­°¡ ¾ø´Ù¸é Á¤»óÀûÀ¸·Î Á¢¼ÓµÇÁö ¾ÊÀº °æ¿ìÀÌ´Ï
Á¢±Ù ±ÇÇÑÀÌ ÀÖ´Â °ÍÀÎÁö ¶Ç´Â ¼³Á¤¿¡ ¹®Á¦´Â ¾ø´Â °ÍÀÎÁö httpd.conf¿Í access_log, error_log¸¦
»ìÆ캸±â ¹Ù¶õ´Ù.

2) ·Î±ä

¾ÆÆÄÄ¡ ÀÎÁõÀ» ¼³Á¤ÇÑ °æ¿ì¿¡ ³ªÅ¸³ª¸ç ID¿Í ºñ¹Ð¹øÈ£¸¦ ÀÔ·ÂÇÑ´Ù.
·Î±ä

3) ÆÄÀÏ ºê¶ó¿ì¡

- Á¤»óÀûÀ¸·Î ¿¬°áÀÌ µÇ¸é ¾Æ·¡ È­¸é°ú °°ÀÌ ÆÄÀÏ ¸ñ·ÏÀ» Á¶È¸ÇÒ ¼ö ÀÖ´Ù.
¡¡(·ÎÄà ÆÄÀÏÀÌ ¾Æ´Ñ ¿ø°Ý ¼­¹öÀÇ À¥ÆäÀÌÁö¿¡ ÀÖ´Â ÆÄÀÏÀ» º» °ÍÀÌ´Ù.)
- ¿À¸¥ÂÊ ¹öÆ°À» ´©¸£¸é º¹»ç, »èÁ¦, À̵¿, À̸§º¯°æ, ÆÄÀÏ ¾÷·Îµå, ´Ù¿î·Îµå¸¦ ÇÒ ¼ö ÀÖ´Â
¡¡¸Þ´º°¡ ³ª¿Â´Ù.
- ÆÄÀÏÀ» ´õºí Ŭ¸¯Çϸé ÆÄÀÏ ³»¿ëÀ» Á¶È¸(ÆíÁýÈ­¸éÀ¸·Î ³Ñ¾î°¨)Çϰųª À̹ÌÁö ÆÄÀÏÀ̸é
¡¡ºä¾î¸¦ ÅëÇØ º¼ ¼ö ÀÖ´Ù.
- »ç¿ëÇÒ ¶§ ÁÖÀÇÇÒ °ÍÀº ÆÄÀÏÀ» ¼±ÅÃµÈ »óÅ¿¡¼­ Delete, Upload¸¦ Ŭ¸¯Çϸé È®ÀΰúÁ¤¾øÀÌ
¡¡»èÁ¦µÇ°í ¾÷·ÎµåµÈ´Ù.
ÆÄÀÏ ºê¶ó¿ìÀú

À§ÀÇ È­¸é¿¡¼­ ÆÄÀÏ¸í ¿·¿¡ ¿­¼è ¸ð¾çÀÌ º¸ÀÏ °ÍÀÌ´Ù. ¹Ù·Î ÆÄÀÏ ¶ôÅ·ÀÌ µÇ¾ú´Ù´Â Ç¥½ÃÀÌ´Ù.
WebDAV ¶ô ÆÄÀÏ DB°¡ »ý¼ºµÆ´ÂÁö È®ÀÎÇغ¸ÀÚ.

 
# ls -l /tmp/Dav*
-rw-r--r--¡¡¡¡1 nobody¡¡ nobody¡¡¡¡¡¡ 4096¡¡4¿ù 26 02:03 DavLock.dir
-rw-r--r--¡¡¡¡1 nobody¡¡ nobody¡¡¡¡¡¡ 2048¡¡4¿ù 26 22:32 DavLock.pag
 


¸¸¾à DAVLockDB Áö½ÃÀÚ¿¡¼­ ¼³Á¤ÇÑ µð·ºÅ丮(À§¿¡¼­´Â /tmp)°¡ À¥ user°¡ ¾µ ¼ö ¾øÀ» °æ¿ì¿¡´Â
¾ÆÆÄÄ¡ error_log¿¡´Â ´ÙÀ½°ú °°Àº ¿À·ù ¸Þ½ÃÁö°¡ ³²´Â´Ù.

 
[Mon Apr 21 21:41:40 2003] [error] [client 127.0.0.1] Could not LOCK /dav/index.html due to a failed precondition (e.g. other locks).¡¡[500, #0]
[Mon Apr 21 21:41:40 2003] [error] [client 127.0.0.1] The locks could not be queried for verification against a possible "If:" header.¡¡[500, #0]
[Mon Apr 21 21:41:40 2003] [error] [client 127.0.0.1] Could not open the lock database.¡¡[500, #400]
[Mon Apr 21 21:41:40 2003] [error] [client 127.0.0.1] (13)Permission denied: Could not open property database.¡¡[500, #1]
 


4) ÆÄÀÏ ÆíÁý

- ÆÄÀÏÀ» Ŭ¸¯ÇßÀ» ¶§ ÀÚµ¿À¸·Î ÆíÁý ¸ðµå·Î µé¾î°£´Ù.
- ¼öÁ¤ ÈÄ Ctrl+S¸¦ ´©¸£¸é ¹Ù·Î ¿ø°Ý À¥¼­¹ö¿¡ ÀúÀåµÈ´Ù.
- HTML, Java, Python µîÀº syntax highlighting ±â´ÉÀ» Á¦°øÇÑ´Ù.
ÆÄÀÏ ÆíÁý

5) À̹ÌÁö ºä¾î

- À̹ÌÁö ÆÄÀÏ(PNG´Â Áö¿øÇÏÁö ¾ÊÀ½)À» Ŭ¸¯ÇßÀ» ¶§ ³»Àå ºä¾î¸¦ ÅëÇØ º¸¿©ÁØ´Ù.
À̹ÌÁö ºä¾î

SkunkDAV Ŭ¶óÀ̾ðÆ® ÀÌ¿Ü¿¡
- jEdit(ÀÚ¹Ù ±â¹Ý ¿¡µðÅÍ)¿¡¼­ DAV Ç÷¯±×ÀÎ (
http://www.jedit.org/ )
- wget ½ºÅ¸ÀÏÀÇ ÅøÀÎ DAVTOOL (
http://davtool.sourceforge.net/ )
µîÀÇ ÅøÀ» »ç¿ëÇغ¼ ¼ö ÀÖ´Ù. º¸´Ù ¸¹Àº ÀÚ·á´Â
http://www.webdav.org/ ¿¡¼­.

5. WebDAV ¼­¹ö¸¦ ¸¶¿îÆ®Çؼ­ »ç¿ëÇϱâ

WebDAV ¸®´ª½º ÆÄÀϽýºÅÛÀÎ davfs2´Â ¿ø°ÝÀÇ WebDAV ¼­¹ö¸¦ ·ÎÄÿ¡ ¸¶¿îÆ®Çؼ­ »ç¿ëÇϵµ·Ï ÇØÁØ´Ù.
¸®´ª½º Ä¿³ÎÀÇ Coda ÆÄÀϽýºÅÛÀ» »ç¿ëÇϹǷΠĿ³Î ÄÄÆÄÀϽÿ¡ ¹Ýµå½Ã 'Coda File system support' ¸¦
Y ¶Ç´Â M(¸ðµâ)À¸·Î ÄÄÆÄÀÏÇØ¾ß ÇÑ´Ù.

·ÎÄà ÆÄÀÏó·³ »ç¿ëÇÒ ¼ö ÀÖ´Â ÀåÁ¡Àº ÀÖÀ¸³ª ¸î °¡Áö ¹®Á¦°¡ ÀÖ´Ù.

- ext3¿Í Coda ÆÄÀϽýºÅÛ°£ÀÇ ¹®Á¦·Î À¥ÆäÀÌÁö°¡ ext3 ÆÄÀϽýºÅÛ¿¡ ÀÖÀ» ¶§´Â ÆÄÀÏ ¼öÁ¤, »èÁ¦ µî
¡¡º¯°æ ±â´ÉÀÌ Á¦´ë·Î µÇÁö ¾ÊÀ» ¼ö ÀÖ´Ù.
- ÆÄÀÏ ¸ñ·ÏÀ» º¸±â À§ÇØ ³Ê¹« ¸¹Àº PROPFIND ¸Å¼Òµå¸¦ ¿äûÇÑ´Ù. (DoS °ø°ÝÀ¸·Î ¿ÀÇØÇÒ ¼ö ÀÖÀ½)
- ¼Óµµ°¡ ´À¸®´Ù. (truefeelÀÇ °³ÀÎÀû °ßÇØ)

ÀÌ·± ¹®Á¦Á¡À» ÀÖÁö¸¸ ¼Ò°³ÇÏ´Â °ÍÀº °³¹ßÀÚ°¡ Çѱ¹ÀÎ ±è¼º¾¾À̱⠶§¹®ÀÌ´Ù.

* davfs2 ȨÆäÀÌÁö :
http://dav.sourceforge.net/

ÃֽŠ¹öÀü(ÇöÀç http://osdn.dl.sourceforge.net/sourceforge/dav/davfs2-0.2.1.tar.gz)À» ¹ÞÀº ÈÄ
ÀϹÝÀûÀÎ ÄÄÆÄÀÏ °úÁ¤À¸·Î ¼³Ä¡ÇÏ¸é µÈ´Ù.

 
# ./configure
... »ý·« ...
Using configuration for building DAVFS2 0.2.1:

¡¡Install prefix:¡¡/usr/local
¡¡Compiler:¡¡¡¡¡¡¡¡gcc
¡¡neon library:¡¡¡¡included libneon (0.23.5)
¡¡XML parser:¡¡¡¡¡¡libxml 2.5.4
¡¡SSL library:¡¡¡¡ No SSL support

Now run 'make' to compile DAVFS2
# make
# make install (/usr/local/sbin/mount.davfs ¼³Ä¡µÊ)
 


±×·³ ¸¶¿îÆ® Çغ¸ÀÚ.

 
# insmod coda (Coda ÆÄÀϽýºÅÛÀÌ ¸ðµâ·Î ÀÖ´Â °æ¿ì)
# mount.davfs http://192.168.123.100/dav /mnt/dav -ousername=webdav,password=????????
# mount
... »ý·« ...
/dev/davfs0 on /mnt/dav type coda (rw,host=http://192.168.123.100/dav/)
 


¸¶¿îÆ® °æ·Î¸¦ Àß ¸ø ÁöÁ¤ÇÑ °æ¿ì ´ÙÀ½ ¿À·ù°¡ ¹ß»ýÇÑ´Ù.

unmounting dav device. [Maybe unmounted]: No such file or directory
/dev/davfs0: No such file or directory

Ä¿³Î¿¡¼­ Coda ÆÄÀϽýºÅÛÀ» Áö¿øÇÏÁö ¾Ê°Å³ª ¸ðµâÀ» ·ÎµùÇÏÁö ¾ÊÀº °æ¿ì ´ÙÀ½ ¿À·ù°¡ ¹ß»ýÇÑ´Ù.

Error opening /dev/davfs0. Error no = 19
Probably, your kernel dosen't support Coda.

6. Âü°í ÀÚ·á

* WebDAV ¸®¼Ò½º ( WebDAV ÀÚ·á ã´Â °ÍÀº ÀÌ »çÀÌÆ® ºÎÅÍ ½ÃÀÛÇÏ¸é µÈ´Ù. )
¡¡
http://webdav.org/
* Apache 1.3.x¿ë mod_dav ¸ðµâ ¼³Ä¡¿Í ȯ°æ ¼³Á¤
¡¡
http://www.webdav.org/mod_dav/install.html
* Apache mod_dav ¼³Á¤
¡¡
http://httpd.apache.org/docs-2.0/ko/mod/mod_dav.html
* ÀÚ¹Ù·Î ¸¸µé¾îÁø WebDAV Ŭ¶óÀ̾ðÆ® SkunkDAV
¡¡
http://skunkdav.sourceforge.net/
* WebDAV¿ë ¸®´ª½º ÆÄÀϽýºÅÛ (davfs2)
¡¡
http://dav.sourceforge.net/
* WEB Server ÀÐ°í ¾²±â (WEB-DAV) (±Û ±è¼ºÈÆ)
¡¡
http://kltp.kldp.org/stories.php?story=01/06/29/6818804 
 

À̸§ Æнº¿öµå
ºñ¹Ð±Û (üũÇÏ¸é ±Û¾´À̸¸ ³»¿ëÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.)
¿ÞÂÊÀÇ ±ÛÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä.
   

 



 
»çÀÌÆ®¸í : ¸ðÁö¸®³× | ´ëÇ¥ : ÀÌ°æÇö | °³ÀÎÄ¿¹Â´ÏƼ : ·©Å°´åÄÄ ¿î¿µÃ¼Á¦(OS) | °æ±âµµ ¼º³²½Ã ºÐ´ç±¸ | ÀüÀÚ¿ìÆí : mojily°ñ¹ðÀÌchonnom.com Copyright ¨Ï www.chonnom.com www.kyunghyun.net www.mojily.net. All rights reserved.