2011/07/25

apache directive

* settings file

- /etc/httpd/conf/httpd.conf

- reference : http://httpd.apache.org/docs/2.0/ja/mod/core.html

* PUT

- in /etc/httpd/conf/httpd.conf

-- affirm
--- LoadModule dav_module modules/mod_dav.so
--- LoadModule dav_fs_module modules/mod_dav_fs.so

-- add DAV On

<Directory "/var/www/html"&rt;
Options Indexes FollowSymLinks
AllowOverride None
Order allow,deny
Allow from all
DAV On
</Directory &rt;


* OPTIONS

- Request

OPTIONS / HTTP/1.1
User-Agent: Java/1.6.0_26
Host: 192.168.11.10
Connection: keep-alive


- Response


HTTP/1.1 200 OK
Date: Tue, 26 Jul 2011 10:39:10 GMT
Server: Apache/2.2.3 (Red Hat)
DAV: 1,2
DAV:
MS-Author-Via: DAV
Allow: OPTIONS,GET,HEAD,POST,DELETE,TRACE,PROPFIND,PROPPATCH,COPY,MOVE,LOCK,UNLOCK
Content-Length: 0
Keep-Alive: timeout=15, max=100
Connection: Keep-Alive
Content-Type: httpd/unix-directory

0 件のコメント:

コメントを投稿