--- loncom/loncapa_apache.conf 2011/12/28 22:41:16 1.209 +++ loncom/loncapa_apache.conf 2012/02/27 03:06:37 1.210 @@ -1,7 +1,7 @@ ## ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file ## -## $Id: loncapa_apache.conf,v 1.209 2011/12/28 22:41:16 raeburn Exp $ +## $Id: loncapa_apache.conf,v 1.210 2012/02/27 03:06:37 raeburn Exp $ ## # @@ -38,7 +38,9 @@ ExtendedStatus On Alias /zipspool/ /home/httpd/zipspool/ Alias /prtspool/ /home/httpd/prtspool/ Alias /captchaspool/ /home/httpd/captchaspool/ +Alias /webdav/ /home/httpd/html/priv/ ScriptAlias /cgi-bin/ "/home/httpd/cgi-bin/" +DAVLockDB /home/httpd/webdav/DAVLock # ================================================================= Directories @@ -269,6 +271,22 @@ ErrorDocument 406 /adm/unauthorized ErrorDocument 500 /adm/errorhandler + +AuthType Basic +AuthName "LONCAPA username,domain" +Require valid-user +SSLRequireSSL +PerlAuthenHandler Apache::lonwebdavauth +PerlAuthzHandler Apache::lonwebdavacc +Dav On +DirectoryIndex index.missing +Options Indexes FollowSymLinks +ErrorDocument 403 /adm/nowebdav.html +ErrorDocument 404 /adm/notfound.html +ErrorDocument 406 /adm/unauthorized +ErrorDocument 500 /adm/errorhandler + + PerlAccessHandler Apache::lonracc @@ -1459,6 +1477,7 @@ Options Indexes FollowSymLinks PerlSetVar lonVersion '' PerlSetVar lonIDsDir /home/httpd/lonIDs +PerlSetVar lonDAVsessDir /home/httpd/webdav/sessionIDs PerlSetVar lonTabDir /home/httpd/lonTabs PerlSetVar lonUsersDir /home/httpd/lonUsers PerlSetVar lonIconsURL /adm/lonIcons