--- loncom/loncapa_apache.conf 2012/03/06 00:53:51 1.213 +++ loncom/loncapa_apache.conf 2012/12/14 23:03:17 1.220 @@ -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.220 2012/12/14 23:03:17 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] @@ -613,6 +623,17 @@ ErrorDocument 403 /adm/login ErrorDocument 500 /adm/errorhandler + +AuthType LONCAPA +Require valid-user +PerlAuthzHandler Apache::lonacc +SetHandler perl-script +PerlHandler Apache::londependencies +ErrorDocument 403 /adm/login +ErrorDocument 406 /adm/roles +ErrorDocument 500 /adm/errorhandler + + SetHandler perl-script PerlHandler Apache::lonlogin @@ -1388,6 +1409,13 @@ PerlHandler Apache::londns ErrorDocument 500 /adm/errorhandler + +SetHandler perl-script +PerlHandler Apache::spellcheck + + + + # ------------------------------------------------- Backdoor Adm Tests/Programs @@ -1504,7 +1532,7 @@ Options Indexes FollowSymLinks # ******** THESE "SHOULD" NEVER BE ALTERED BY THE USER ************************ # ====================================== Internal Settings / Perl Configuration -PerlSetVar lonVersion '' +PerlSetVar lonVersion '' PerlSetVar lonIDsDir /home/httpd/lonIDs PerlSetVar lonDAVsessDir /home/httpd/webdav/sessionIDs PerlSetVar lonTabDir /home/httpd/lonTabs @@ -1531,7 +1559,7 @@ PerlSetVar lonFontsDir /home/h # - a number that describes the minimum version that has mathml support # - a number that describes the minimum number version that has unicode support -PerlSetVar lonBrowsDet explorer:msie:netscape:msie\s(\d+\.\d+)\;:9999:5&mozilla:mozilla\/[5-9]:msie:mozilla\/(\d+\.\d+)\s:9999:1&netscape:netscape:msie:netscape\/(\d+\.\d+):9999:7&netscape:netscape\/[7-9]:shouldnotmatch:netscape\/(\d+\.\d+):9999:7&amaya:amaya:mozilla:V(\d+\.\d+)\s:1:1&safari:safari:msie:safari\/([\d\.]+):9999:84 +PerlSetVar lonBrowsDet explorer:msie:netscape:msie\s(\d+\.\d+)\;:9999:5&mozilla:mozilla\/[5-9]:msie:mozilla\/(\d+\.\d+)\s:9999:1&netscape:netscape:msie:netscape\/(\d+\.\d+):9999:7&netscape:netscape\/[7-9]:shouldnotmatch:netscape\/(\d+\.\d+):9999:7&amaya:amaya:mozilla:V(\d+\.\d+)\s:1:1&safari:safari:msie:safari\/([\d\.]+):9999:84&chrome:chrome:shouldnotmatch:chrome\/(\d+\.\d+):9999:1 PerlSetVar lonTextBrowsers windows\s+ce:lynx PerlSetVar lonScansDir /home/httpd/scantron