Diff for /loncom/loncapa_apache.conf between versions 1.186 and 1.210

version 1.186, 2009/07/07 19:50:44 version 1.210, 2012/02/27 03:06:37
Line 38  ExtendedStatus On Line 38  ExtendedStatus On
 Alias /zipspool/ /home/httpd/zipspool/  Alias /zipspool/ /home/httpd/zipspool/
 Alias /prtspool/ /home/httpd/prtspool/  Alias /prtspool/ /home/httpd/prtspool/
 Alias /captchaspool/ /home/httpd/captchaspool/  Alias /captchaspool/ /home/httpd/captchaspool/
   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
   
 # ================================================================= Directories  # ================================================================= Directories
   
Line 55  PerlSetVar lonOtherAuthen no Line 57  PerlSetVar lonOtherAuthen no
 PerlAuthenHandler 'sub { return OK }'   PerlAuthenHandler 'sub { return OK }' 
 </LocationMatch>  </LocationMatch>
   
   # Send proper expires header to avoid unnecessary HTTP request for static content
   <LocationMatch "^(/adm/lonIcons|/adm/jQuery|/adm/jsMath|/res/adm/pages|/ckeditor)">
           ExpiresActive On
           ExpiresDefault "access plus 12 hours"
           Header set Cache-Control "public, no-transform"
   </LocationMatch>
   
 <LocationMatch "^/+res.*">  <LocationMatch "^/+res.*">
   
 AuthType LONCAPA  AuthType LONCAPA
Line 99  SetHandler perl-script Line 108  SetHandler perl-script
 PerlHandler Apache::portfolio  PerlHandler Apache::portfolio
 </Location>  </Location>
   
   <Location /adm/pdfupload>
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler Apache::lonacc
   SetHandler perl-script
   PerlHandler             Apache::lonpdfupload
   ErrorDocument     403 /adm/login
   ErrorDocument     404 /adm/notfound.html
   ErrorDocument     406 /adm/roles
   ErrorDocument     500 /adm/errorhandler
   </Location>
   
 <LocationMatch "^/+userfiles.*">  <LocationMatch "^/+userfiles.*">
 PerlAccessHandler       Apache::lontokacc  PerlAccessHandler       Apache::lontokacc
 PerlCleanupHandler Apache::lontokacc::removefile  PerlCleanupHandler Apache::lontokacc::removefile
 PerlCleanupHandler Apache::lonacc::cleanup  PerlCleanupHandler Apache::lonacc::cleanup
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/pdfupload.*">  
 SetHandler perl-script  
 PerlHandler             Apache::lonpdfupload  
 </LocationMatch>  
   
 <LocationMatch "^/+uploaded.*">  <LocationMatch "^/+uploaded.*">
 AuthType LONCAPA  AuthType LONCAPA
 Require valid-user  Require valid-user
Line 244  ErrorDocument     406 /adm/notinit.html Line 260  ErrorDocument     406 /adm/notinit.html
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/+priv.*">  <LocationMatch "^/+priv/.*">
 AuthType LONCAPA  AuthType LONCAPA
 Require valid-user  Require valid-user
 PerlAuthzHandler Apache::loncacc  PerlAuthzHandler Apache::loncacc
 SetHandler        perl-script  SetHandler        perl-script
 PerlHandler       Apache::lonconstruct  
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
 ErrorDocument     404 /adm/notfound.html  ErrorDocument     404 /adm/notfound.html
 ErrorDocument     406 /adm/unauthorized  ErrorDocument     406 /adm/unauthorized
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/+raw.*">  <LocationMatch "^/+webdav/[\w\-]+/[\w\-]+/">
 PerlAccessHandler Apache::lonracc  AuthType Basic
 </LocationMatch>  AuthName "LONCAPA username,domain"
   Require valid-user
 <LocationMatch "^/+\~.*">  SSLRequireSSL
 AuthType LONCAPA  PerlAuthenHandler Apache::lonwebdavauth
 Require valid-user  PerlAuthzHandler Apache::lonwebdavacc
 PerlAuthzHandler Apache::loncacc  Dav On
 ErrorDocument     403 /adm/login  DirectoryIndex index.missing
   Options Indexes FollowSymLinks
   ErrorDocument     403 /adm/nowebdav.html
 ErrorDocument     404 /adm/notfound.html  ErrorDocument     404 /adm/notfound.html
 ErrorDocument     406 /adm/unauthorized  ErrorDocument     406 /adm/unauthorized
 ErrorDocument  500 /adm/errorhandler  ErrorDocument     500 /adm/errorhandler
   </LocationMatch>
   
   <LocationMatch "^/+raw.*">
   PerlAccessHandler Apache::lonracc
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/adm/helper/.*\.helper$">  <LocationMatch "^/adm/helper/.*\.helper$">
Line 305  ErrorDocument   500 /adm/errorhandler Line 326  ErrorDocument   500 /adm/errorhandler
 </LocationMatch>  </LocationMatch>
 # ------------------------------------------------------------------------- RAT  # ------------------------------------------------------------------------- RAT
   
 <LocationMatch "^/\~.*\.sequence$">  <LocationMatch "^/+priv/.*\.sequence$">
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonratedt  PerlHandler Apache::lonratedt
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/\~.*\.page$">  <LocationMatch "^/+priv/.*\.page$">
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonratedt  PerlHandler Apache::lonratedt
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/\~.*\/ratserver$">  <LocationMatch "^/+priv/.*\/ratserver$">
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonratsrv  PerlHandler Apache::lonratsrv
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/\~.*\/adveditmenu$">  <LocationMatch "^/+priv/.*\/adveditmenu$">
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonratmenu  PerlHandler Apache::lonratmenu
 </LocationMatch>  </LocationMatch>
Line 344  PerlCleanupHandler Apache::lonindexer::c Line 365  PerlCleanupHandler Apache::lonindexer::c
 PerlCleanupHandler Apache::lonacc::cleanup  PerlCleanupHandler Apache::lonacc::cleanup
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/+(res|\~).*\.tex$">  <LocationMatch "^/+res.*\.tex$">
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lontex  PerlHandler Apache::lontex
 </LocationMatch>  </LocationMatch>
Line 359  SetHandler perl-script Line 380  SetHandler perl-script
 PerlHandler Apache::lonsequence  PerlHandler Apache::lonsequence
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/+(res|\~|public|uploaded|editupload|adm).*\.meta$">  <LocationMatch "^/+(res|priv|public|uploaded|editupload|adm)/.*\.meta$">
 PerlAccessHandler      Apache::publiccheck  PerlAccessHandler      Apache::publiccheck
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonmeta  PerlHandler Apache::lonmeta
Line 376  PerlHandler Apache::lonmeta Line 397  PerlHandler Apache::lonmeta
   
   
   
 <LocationMatch "^/+(res|\~).*\.rights$">  <LocationMatch "^/+(res|priv)/.*\.rights$">
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonrights  PerlHandler Apache::lonrights
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/+(uploaded|res|\~).*\.(xml|html|htm|xhtml|xhtm|sty)$">  <LocationMatch "^/+(uploaded|res|priv)/.*\.(xml|html|htm|xhtml|xhtm|sty)$">
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::londatecheck  PerlHandler Apache::londatecheck
 PerlHandler Apache::lonipcheck  PerlHandler Apache::lonipcheck
 PerlHandler Apache::lonxml  PerlHandler Apache::lonxml
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/+(res|\~).*\.(task|problem|exam|quiz|assess|survey|form|library)$">  <LocationMatch "^/+(res|priv).*\.(task|problem|exam|quiz|assess|survey|form|library)$">
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonhomework  PerlHandler Apache::lonhomework
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/+\~.*\.(js|css|txt)$">  <LocationMatch "^/+priv/.*\.(js|css|txt|tex)$">
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonxml  PerlHandler Apache::lonxml
 </LocationMatch>  </LocationMatch>
Line 454  ErrorDocument     403 /adm/login Line 475  ErrorDocument     403 /adm/login
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
   <Location /adm/searchcourse>
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::lonsearchcourse
   ErrorDocument     403 /adm/login
   ErrorDocument     500 /adm/errorhandler
   </Location>
   
   <Location /adm/indexcourse>
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::lonindexcourse
   ErrorDocument     403 /adm/login
   ErrorDocument     500 /adm/errorhandler
   </Location>
   
 <Location /adm/statistics>  <Location /adm/statistics>
 AuthType LONCAPA  AuthType LONCAPA
 Require valid-user  Require valid-user
Line 497  ErrorDocument     403 /adm/login Line 538  ErrorDocument     403 /adm/login
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
 <Location /adm/remote>  <Location /adm/pickresource>
 AuthType LONCAPA  AuthType LONCAPA
 Require valid-user  Require valid-user
 PerlAuthzHandler       Apache::lonacc  PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonremote  PerlHandler Apache::lonpickresource
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
 ErrorDocument  500 /adm/errorhandler  ErrorDocument     500 /adm/errorhandler
 </Location>  </Location>
   
 <Location /adm/pickauthor>  <Location /adm/pickauthor>
Line 527  ErrorDocument     403 /adm/login Line 568  ErrorDocument     403 /adm/login
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
   <Location /adm/pickuser>
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::lonpickuser
   ErrorDocument     403 /adm/login
   ErrorDocument     406 /adm/roles
   ErrorDocument     500 /adm/errorhandler
   </Location>
   
 <Location /adm/pickcourse>  <Location /adm/pickcourse>
 AuthType LONCAPA  AuthType LONCAPA
 Require valid-user  Require valid-user
Line 623  ErrorDocument     403 /adm/login Line 675  ErrorDocument     403 /adm/login
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
 <Location /adm/bookmarks>  
 AuthType LONCAPA  
 Require valid-user  
 PerlAuthzHandler       Apache::lonacc  
 SetHandler perl-script  
 PerlHandler Apache::admbookmarks  
 ErrorDocument     403 /adm/login  
 ErrorDocument  500 /adm/errorhandler  
 </Location>  
   
 <Location /adm/flip>  <Location /adm/flip>
 AuthType LONCAPA  AuthType LONCAPA
 Require valid-user  Require valid-user
Line 733  ErrorDocument     406 /adm/roles Line 775  ErrorDocument     406 /adm/roles
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
   <Location /adm/requestcourse>
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::lonrequestcourse
   ErrorDocument     403 /adm/login
   ErrorDocument     406 /adm/roles
   ErrorDocument     500 /adm/errorhandler
   </Location>
   
 <Location /adm/createcourse>  <Location /adm/createcourse>
 AuthType LONCAPA  AuthType LONCAPA
 Require valid-user  Require valid-user
Line 798  ErrorDocument     406 /adm/unauthorized Line 851  ErrorDocument     406 /adm/unauthorized
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
 <LocationMatch "^/+\~.*/$">  <LocationMatch "^/+priv/.*/$">
 AuthType LONCAPA  AuthType LONCAPA
 Require valid-user  Require valid-user
 PerlAuthzHandler       Apache::loncacc  PerlAuthzHandler       Apache::loncacc
Line 810  ErrorDocument     406 /adm/unauthorized Line 863  ErrorDocument     406 /adm/unauthorized
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </LocationMatch>  </LocationMatch>
   
 <Location /adm/pubdir>  
 AuthType LONCAPA  
 Require valid-user  
 PerlAuthzHandler       Apache::lonacc  
 SetHandler perl-script  
 PerlHandler Apache::lonpubdir  
 ErrorDocument     403 /adm/login  
 ErrorDocument     404 /adm/notfound.html  
 ErrorDocument     406 /adm/unauthorized  
 ErrorDocument  500 /adm/errorhandler  
 </Location>  
   
 <Location /adm/unauthorized>  <Location /adm/unauthorized>
 AuthType LONCAPA  AuthType LONCAPA
 Require valid-user  Require valid-user
Line 1074  ErrorDocument     403 /adm/login Line 1115  ErrorDocument     403 /adm/login
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
   <Location /adm/supplemental>
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::londocs
   PerlCleanupHandler Apache::londocs::untiehash
   PerlCleanupHandler      Apache::lonacc::cleanup
   ErrorDocument     403 /adm/login
   ErrorDocument     500 /adm/errorhandler
   </Location>
   
 <Location /adm/imsimportdocs>  <Location /adm/imsimportdocs>
 AuthType LONCAPA  AuthType LONCAPA
 Require valid-user  Require valid-user
Line 1200  ErrorDocument     403 /adm/login Line 1253  ErrorDocument     403 /adm/login
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
 <Location /adm/blockingstatus>  <Location /adm/wishlist>
 AuthType LONCAPA  AuthType LONCAPA
 Require valid-user  Require valid-user
 PerlAuthzHandler       Apache::lonacc  PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonblockingstatus  PerlHandler Apache::lonwishlistdisplay
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
   ErrorDocument     406 /adm/roles
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
   <Location /adm/setblock>
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
   SetHandler             perl-script
   PerlHandler            Apache::lonblockingmenu
   ErrorDocument     403 /adm/login
   ErrorDocument     406 /adm/roles
   ErrorDocument     500 /adm/errorhandler
   </Location>
   
   <Location /adm/blockingstatus>
   PerlAccessHandler      Apache::publiccheck
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
   SetHandler             perl-script
   PerlHandler            Apache::lonblockingstatus
   </Location>
   
 <Location /adm/errorhandler>  <Location /adm/errorhandler>
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonerrorhandler  PerlHandler Apache::lonerrorhandler
Line 1403  Options Indexes FollowSymLinks Line 1477  Options Indexes FollowSymLinks
   
 PerlSetVar lonVersion   '<!-- VERSION -->'  PerlSetVar lonVersion   '<!-- VERSION -->'
 PerlSetVar       lonIDsDir    /home/httpd/lonIDs  PerlSetVar       lonIDsDir    /home/httpd/lonIDs
   PerlSetVar       lonDAVsessDir /home/httpd/webdav/sessionIDs
 PerlSetVar       lonTabDir    /home/httpd/lonTabs  PerlSetVar       lonTabDir    /home/httpd/lonTabs
 PerlSetVar       lonUsersDir  /home/httpd/lonUsers  PerlSetVar       lonUsersDir  /home/httpd/lonUsers
 PerlSetVar       lonIconsURL  /adm/lonIcons  PerlSetVar       lonIconsURL  /adm/lonIcons
Line 1427  PerlSetVar       lonFontsDir     /home/h Line 1502  PerlSetVar       lonFontsDir     /home/h
 # - a number that describes the minimum version that has mathml support  # - a number that describes the minimum version that has mathml support
 # - a number that describes the minimum number version that has unicode support  # - a number that describes the minimum number version that has unicode support
   
 PerlSetVar       lonBrowsDet  explorer:msie:netscape:msie\s(\d+\.\d+)\;:9999:9999&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
   
 PerlSetVar       lonTextBrowsers windows\s+ce:lynx  PerlSetVar       lonTextBrowsers windows\s+ce:lynx
 PerlSetVar       lonScansDir  /home/httpd/scantron  PerlSetVar       lonScansDir  /home/httpd/scantron
Line 1513  PerlSetVar SSLEmail     certificate@lon- Line 1588  PerlSetVar SSLEmail     certificate@lon-
 #-------------------------------------------------------------------------  #-------------------------------------------------------------------------
   
   
   # ====================================== Include support for SSL rewrites
   
   Include conf/loncapa_rewrite.conf
   
   
 # ====================================== Include machine-specific configuration  # ====================================== Include machine-specific configuration

Removed from v.1.186  
changed lines
  Added in v.1.210


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