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
  1. OPTIONS / HTTP/1.1  
  2. User-Agent: Java/1.6.0_26  
  3. Host: 192.168.11.10  
  4. Connection: keep-alive  

- Response
  1. HTTP/1.1 200 OK  
  2. Date: Tue, 26 Jul 2011 10:39:10 GMT  
  3. Server: Apache/2.2.3 (Red Hat)  
  4. DAV: 1,2  
  5. DAV: <http: apache.org="" dav="" propset="" fs="" 1="">  
  6. MS-Author-Via: DAV  
  7. Allow: OPTIONS,GET,HEAD,POST,DELETE,TRACE,PROPFIND,PROPPATCH,COPY,MOVE,LOCK,UNLOCK  
  8. Content-Length: 0  
  9. Keep-Alive: timeout=15, max=100  
  10. Connection: Keep-Alive  
  11. Content-Type: httpd/unix-directory  
  12.   
  13. </http:>  

0 件のコメント:

コメントを投稿