Diff for /loncom/loncapa_apache.conf between versions 1.213 and 1.214

version 1.213, 2012/03/06 00:53:51 version 1.214, 2012/03/18 21:56:53
Line 40  Alias /prtspool/ /home/httpd/prtspool/ Line 40  Alias /prtspool/ /home/httpd/prtspool/
 Alias /captchaspool/ /home/httpd/captchaspool/  Alias /captchaspool/ /home/httpd/captchaspool/
 Alias /webdav/ /home/httpd/html/priv/  Alias /webdav/ /home/httpd/html/priv/
 ScriptAlias /cgi-bin/ "/home/httpd/cgi-bin/"  ScriptAlias /cgi-bin/ "/home/httpd/cgi-bin/"
 DAVLockDB /home/httpd/webdav/DAVLock  <IfModule mod_dav_fs.c>
       DAVLockDB /home/httpd/webdav/DAVLock
   </IfModule>
   
 # ================================================================= Directories  # ================================================================= Directories
   
Line 278  ErrorDocument   500 /adm/errorhandler Line 280  ErrorDocument   500 /adm/errorhandler
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/+webdav/[\w\-]+/[\w\-]+/">  <LocationMatch "^/+webdav/[\w\-]+/[\w\-]+/">
   <IfModule mod_ssl.c>    <IfModule mod_dav.c>
     AuthType Basic      <IfModule mod_ssl.c>
     AuthName "LONCAPA username,domain"        AuthType Basic
     Require valid-user        AuthName "LONCAPA username,domain"
     SSLRequireSSL        Require valid-user
     PerlAuthenHandler Apache::lonwebdavauth        SSLRequireSSL
     PerlAuthzHandler Apache::lonwebdavacc        PerlAuthenHandler Apache::lonwebdavauth
     Dav On        PerlAuthzHandler Apache::lonwebdavacc
     DirectoryIndex index.missing        Dav On
     Options Indexes FollowSymLinks        DirectoryIndex index.missing
     ErrorDocument     403 /adm/nowebdav.html        Options Indexes FollowSymLinks
     ErrorDocument     404 /adm/notfound.html        ErrorDocument     403 /adm/nowebdav.html
     ErrorDocument     406 /adm/unauthorized        ErrorDocument     404 /adm/notfound.html
     ErrorDocument     500 /adm/errorhandler        ErrorDocument     406 /adm/unauthorized
   </IfModule>        ErrorDocument     500 /adm/errorhandler
   <IfModule !mod_ssl.c>      </IfModule>
     <IfModule mod_rewrite.c>      <IfModule !mod_ssl.c>
         <IfModule mod_rewrite.c>
         RewriteEngine on          RewriteEngine on
         RewriteRule .* http://%{HTTP_HOST}/adm/nowebdav.html [L]          RewriteRule .* http://%{HTTP_HOST}/adm/nowebdav.html [L]
         </IfModule>
       </IfModule>
     </IfModule>
     <IfModule !mod_dav.c>
       <IfModule mod_rewrite.c>
         RewriteEngine on
         RewriteRule .* http://%{HTTP_HOST}/adm/nowebdav.html [L]
     </IfModule>      </IfModule>
   </IfModule>    </IfModule>
 </LocationMatch>  </LocationMatch>

Removed from v.1.213  
changed lines
  Added in v.1.214


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>