--- loncom/loncapa_apache.conf 2012/03/06 00:53:51 1.213 +++ loncom/loncapa_apache.conf 2012/03/18 21:56:53 1.214 @@ -1,7 +1,7 @@ ## ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file ## -## $Id: loncapa_apache.conf,v 1.213 2012/03/06 00:53:51 raeburn Exp $ +## $Id: loncapa_apache.conf,v 1.214 2012/03/18 21:56:53 raeburn Exp $ ## # @@ -40,7 +40,9 @@ 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 + + DAVLockDB /home/httpd/webdav/DAVLock + # ================================================================= Directories @@ -278,25 +280,33 @@ 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 - - - + + + 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 + + + RewriteEngine on RewriteRule .* http://%{HTTP_HOST}/adm/nowebdav.html [L] + + + + + + RewriteEngine on + RewriteRule .* http://%{HTTP_HOST}/adm/nowebdav.html [L]