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

version 1.150, 2006/07/17 17:34:53 version 1.210, 2012/02/27 03:06:37
Line 35  ExtendedStatus On Line 35  ExtendedStatus On
 #  #
 # ===================================================================== Aliases  # ===================================================================== Aliases
   
   Alias /zipspool/ /home/httpd/zipspool/
 Alias /prtspool/ /home/httpd/prtspool/  Alias /prtspool/ /home/httpd/prtspool/
   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 49  PerlAuthenHandler Apache::checkauthen Line 53  PerlAuthenHandler Apache::checkauthen
 PerlSetVar lonOtherAuthen no  PerlSetVar lonOtherAuthen no
   
 #PerlWarn On  #PerlWarn On
   <LocationMatch "^/+res/adm/pages/[^/]+\.(gif|png)$">
   PerlAuthenHandler 'sub { return OK }' 
   </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 93  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
Line 103  PerlCleanupHandler Apache::lonacc::clean Line 130  PerlCleanupHandler Apache::lonacc::clean
 AuthType LONCAPA  AuthType LONCAPA
 Require valid-user  Require valid-user
 PerlAuthzHandler Apache::lonacc  PerlAuthzHandler Apache::lonacc
   PerlHandler Apache::londatecheck
   PerlHandler   Apache::lonipcheck
 PerlHeaderParserHandler Apache::lonuploadrep  PerlHeaderParserHandler Apache::lonuploadrep
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
 ErrorDocument     404 /adm/notfound.html  ErrorDocument     404 /adm/notfound.html
Line 122  ErrorDocument   500 /adm/errorhandler Line 151  ErrorDocument   500 /adm/errorhandler
 <LocationMatch "^/+uploaded/.*/.*/internal/.*">  <LocationMatch "^/+uploaded/.*/.*/internal/.*">
 PerlAuthenHandler Apache::lonuploadedacc  PerlAuthenHandler Apache::lonuploadedacc
 PerlAuthzHandler Apache::lonuploadedacc::skip_phase  PerlAuthzHandler Apache::lonuploadedacc::skip_phase
 PerlAcessHandler Apache::lonuploadedacc::skip_phase  PerlAccessHandler Apache::lonuploadedacc::skip_phase
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/+uploaded/.*/.*/portfolio/.*">  <LocationMatch "^/+uploaded/.*/.*/portfolio/.*">
Line 182  ErrorDocument     406 /adm/notinit.html Line 211  ErrorDocument     406 /adm/notinit.html
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </LocationMatch>  </LocationMatch>
   
   <LocationMatch "^/adm/.*/aboutme/portfolio$">
   PerlAccessHandler       Apache::publiccheck
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler Apache::lonacc
   SetHandler              perl-script
   PerlHandler             Apache::lonaboutme
   ErrorDocument     404 /adm/notfound.html
   ErrorDocument     406 /adm/notinit.html
   ErrorDocument  500 /adm/errorhandler
   </LocationMatch>
   
 <LocationMatch "^/adm/.*/smppg$">  <LocationMatch "^/adm/.*/smppg$">
 AuthType LONCAPA  AuthType LONCAPA
 Require valid-user  Require valid-user
 PerlAuthzHandler Apache::lonacc  PerlAuthzHandler Apache::lonacc
 SetHandler              perl-script  SetHandler              perl-script
   PerlHandler             Apache::londatecheck
   PerlHandler Apache::lonipcheck
 PerlHandler             Apache::lonsimplepage  PerlHandler             Apache::lonsimplepage
 ErrorDocument     404 /adm/notfound.html  ErrorDocument     404 /adm/notfound.html
 ErrorDocument     406 /adm/notinit.html  ErrorDocument     406 /adm/notinit.html
Line 199  Require valid-user Line 242  Require valid-user
 PerlAuthzHandler Apache::lonacc  PerlAuthzHandler Apache::lonacc
 SetHandler              perl-script  SetHandler              perl-script
 PerlHandler             Apache::londatecheck  PerlHandler             Apache::londatecheck
   PerlHandler Apache::lonipcheck
 PerlHandler             Apache::lonbulletin  PerlHandler             Apache::lonbulletin
 ErrorDocument     404 /adm/notfound.html  ErrorDocument     404 /adm/notfound.html
 ErrorDocument     406 /adm/notinit.html  ErrorDocument     406 /adm/notinit.html
Line 216  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"
   
 <LocationMatch "^/+\~.*">  
 AuthType LONCAPA  
 Require valid-user  Require valid-user
 PerlAuthzHandler Apache::loncacc  SSLRequireSSL
 ErrorDocument     403 /adm/login  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     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 264  ErrorDocument     406 /adm/roles Line 313  ErrorDocument     406 /adm/roles
 ErrorDocument     413 /adm/overloaded.txt  ErrorDocument     413 /adm/overloaded.txt
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </LocationMatch>  </LocationMatch>
   
   <LocationMatch "/zipspool">
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler Apache::lonacc
   ErrorDocument     403 /adm/login
   ErrorDocument     404 /adm/notfound.html
   ErrorDocument     406 /adm/roles
   ErrorDocument     413 /adm/overloaded.txt
   ErrorDocument  500 /adm/errorhandler
   </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 305  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 320  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 337  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::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 "^/+priv/.*\.(js|css|txt|tex)$">
   SetHandler perl-script
   PerlHandler Apache::lonxml
   </LocationMatch>
   
 <LocationMatch "^/adm/wrapper/">  <LocationMatch "^/adm/wrapper/">
 AuthType LONCAPA  AuthType LONCAPA
 Require valid-user  Require valid-user
 PerlAuthzHandler       Apache::lonacc  PerlAuthzHandler       Apache::lonacc
   PerlHandler Apache::londatecheck
   PerlHandler Apache::lonipcheck
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonwrapper  PerlHandler Apache::lonwrapper
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
Line 407  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 436  PerlAuthzHandler       Apache::lonacc Line 524  PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonroles  PerlHandler Apache::lonroles
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
   ErrorDocument     409 /adm/preferences?action=lockwarning
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
Line 449  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 /adm/pickauthor>
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::lonpickauthor
   ErrorDocument     403 /adm/login
   ErrorDocument     500 /adm/errorhandler
 </Location>  </Location>
   
 <Location /adm/pickstudent>  <Location /adm/pickstudent>
Line 469  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 497  PerlHandler Apache::lonlogin Line 607  PerlHandler Apache::lonlogin
 <Location /adm/restrictedaccess>  <Location /adm/restrictedaccess>
 PerlAccessHandler      Apache::publiccheck  PerlAccessHandler      Apache::publiccheck
 AuthType LONCAPA  AuthType LONCAPA
   Require valid-user
 SetHandler perl-script  SetHandler perl-script
 PerlAuthzHandler       Apache::lonacc  PerlAuthzHandler       Apache::lonacc
 PerlHandler Apache::restrictedaccess  PerlHandler Apache::restrictedaccess
   ErrorDocument  500 /adm/errorhandler
   </Location>
   
   <Location /adm/blockedaccess>
   PerlAccessHandler      Apache::publiccheck
   AuthType LONCAPA
   Require valid-user
   SetHandler perl-script
   PerlAuthzHandler       Apache::lonacc
   PerlHandler Apache::blockedaccess
   ErrorDocument     500 /adm/errorhandler
 </Location>  </Location>
   
 <Location /adm/logout>  <Location /adm/logout>
Line 509  PerlAuthzHandler       Apache::lonacc Line 631  PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonlogout  PerlHandler Apache::lonlogout
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
   ErrorDocument     409 /adm/preferences?action=lockwarning
   ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
 <Location /adm/switchserver>  <Location /adm/switchserver>
Line 518  PerlAuthzHandler       Apache::lonacc Line 642  PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::switchserver  PerlHandler Apache::switchserver
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
   ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
 <Location /adm/authenticate>  <Location /adm/authenticate>
Line 550  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 616  ErrorDocument     406 /adm/roles Line 731  ErrorDocument     406 /adm/roles
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
   <Location /adm/courseprefs>
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::courseprefs
   ErrorDocument     403 /adm/login
   ErrorDocument     406 /adm/roles
   ErrorDocument     500 /adm/errorhandler
   </Location>
   
 <Location /adm/slotrequest>  <Location /adm/slotrequest>
 AuthType LONCAPA  AuthType LONCAPA
 Require valid-user  Require valid-user
Line 649  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 671  ErrorDocument     406 /adm/roles Line 808  ErrorDocument     406 /adm/roles
 ErrorDocument     500 /adm/errorhandler  ErrorDocument     500 /adm/errorhandler
 </Location>  </Location>
   
   <Location /adm/domainprefs>
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::domainprefs
   ErrorDocument     403 /adm/login
   ErrorDocument     406 /adm/roles
   ErrorDocument     500 /adm/errorhandler
   </Location>
   
   <Location /adm/domainstatus>
   PerlAccessHandler       Apache::lonstatusacc
   SetHandler perl-script
   PerlHandler Apache::domainstatus
   ErrorDocument     403 /adm/login
   ErrorDocument     406 /adm/roles
   ErrorDocument     500 /adm/errorhandler
   </Location>
   
 <Location /adm/createuser>  <Location /adm/createuser>
 AuthType LONCAPA  AuthType LONCAPA
 Require valid-user  Require valid-user
Line 694  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 706  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 970  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 1067  AuthType LONCAPA Line 1224  AuthType LONCAPA
 Require valid-user  Require valid-user
 PerlAuthzHandler       Apache::lonacc  PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonnavmaps  PerlHandler Apache::lonnavdisplay
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
 ErrorDocument     406 /adm/roles  ErrorDocument     406 /adm/roles
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
Line 1096  ErrorDocument     403 /adm/login Line 1253  ErrorDocument     403 /adm/login
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
   <Location /adm/wishlist>
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::lonwishlistdisplay
   ErrorDocument     403 /adm/login
   ErrorDocument     406 /adm/roles
   ErrorDocument  500 /adm/errorhandler
   </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 1108  PerlAccessHandler      Apache::publicche Line 1296  PerlAccessHandler      Apache::publicche
 PerlAuthzHandler Apache::lonacc  PerlAuthzHandler Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonhelp  PerlHandler Apache::lonhelp
   ErrorDocument  500 /adm/errorhandler
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/adm/helpmenu">  <LocationMatch "^/adm/helpmenu">
Line 1116  Require valid-user Line 1305  Require valid-user
 PerlAuthzHandler       Apache::lonacc  PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonhelpmenu  PerlHandler Apache::lonhelpmenu
   ErrorDocument  500 /adm/errorhandler
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/adm/support">  <LocationMatch "^/adm/support">
Line 1124  Require valid-user Line 1314  Require valid-user
 PerlAuthzHandler       Apache::lonacc  PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonsupportreq  PerlHandler Apache::lonsupportreq
   ErrorDocument  500 /adm/errorhandler
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/adm/helpdesk">  <LocationMatch "^/adm/helpdesk">
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonsupportreq  PerlHandler Apache::lonsupportreq
   ErrorDocument  500 /adm/errorhandler
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/adm/css">  <LocationMatch "^/adm/css">
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::loncss  PerlHandler Apache::loncss
   ErrorDocument  500 /adm/errorhandler
 </LocationMatch>  </LocationMatch>
   
 # ------------------------------------------------- Backdoor Adm Tests/Programs  <LocationMatch "^/adm/coursecatalog">
   SetHandler perl-script
 <Location /cgi-bin/loncron.pl>  PerlHandler Apache::coursecatalog
 AuthName "LON-CAPA Network Administration"  ErrorDocument  500 /adm/errorhandler
 AuthType Basic  </LocationMatch>
 AuthUserFile /home/httpd/lonTabs/htpasswd  
 require user lonadm  
 </Location>  
   
 <Location /cgi-bin/userstatus.pl>  
 AuthName "LON-CAPA Network Administration"  
 AuthType Basic  
 AuthUserFile /home/httpd/lonTabs/htpasswd  
 require user lonadm  
 </Location>  
   
 <Location /cgi-bin/lonversions.pl>  
 AuthName "LON-CAPA Network Administration"  
 AuthType Basic  
 AuthUserFile /home/httpd/lonTabs/htpasswd  
 require user lonadm  
 </Location>  
   
 <Location /cgi-bin/clusterstatus.pl>  <LocationMatch "^/adm/resetpw">
 AuthName "LON-CAPA Network Administration"  SetHandler perl-script
 AuthType Basic  PerlHandler Apache::resetpw
 AuthUserFile /home/httpd/lonTabs/htpasswd  ErrorDocument     500 /adm/errorhandler
 require user lonadm  </LocationMatch>
 </Location>  
   
 <Location /cgi-bin/metadata_keywords.pl>  <LocationMatch "^/adm/selfenroll">
 AuthName "LON-CAPA Network Administration"  SetHandler perl-script
 AuthType Basic  PerlHandler Apache::selfenroll
 AuthUserFile /home/httpd/lonTabs/htpasswd  ErrorDocument     500 /adm/errorhandler
 require user lonadm  </LocationMatch>
 </Location>  
   
 <Location /cgi-bin/metadata_harvest.pl>  <LocationMatch "^/adm/createaccount">
 AuthName "harvest"  SetHandler perl-script
 AuthType Basic  PerlHandler Apache::createaccount
 AuthUserFile /home/httpd/lonTabs/htpasswd  ErrorDocument     500 /adm/errorhandler
 require user  reaper  </LocationMatch>
 </Location>  
   
 <Location /cgi-bin/takeoffline.pl>  <LocationMatch "^/adm/dns">
 AuthName "Offline"  SetHandler perl-script
 AuthType Basic  PerlHandler Apache::londns
 AuthUserFile /home/httpd/lonTabs/htpasswd  ErrorDocument     500 /adm/errorhandler
 require user  offline  </LocationMatch>
 </Location>  
   
 <Location /cgi-bin/takeonline.pl>  # ------------------------------------------------- Backdoor Adm Tests/Programs
 AuthName "Offline"  
 AuthType Basic  
 AuthUserFile /home/httpd/lonTabs/htpasswd  
 require user  offline  
 </Location>  
   
 <Location /adm/test>  <Location /adm/test>
 AuthName "LON-CAPA Network Administration"  PerlAccessHandler Apache::lonstatusacc
 AuthType Basic  
 AuthUserFile /home/httpd/lonTabs/htpasswd  
 require user lonadm  
 SetHandler perl-script  SetHandler perl-script
 PerlAuthzHandler Apache::lonacc  
 PerlHandler Apache::lontest  PerlHandler Apache::lontest
 </Location>  </Location>
   
Line 1218  PerlChildExitHandler Apache::lonacc::goo Line 1381  PerlChildExitHandler Apache::lonacc::goo
 <Directory />  <Directory />
 Options None  Options None
 AllowOverride None  AllowOverride None
   order deny,allow
   deny from all
   </Directory>
   
   # Allow uploaded files to be served
   
   <Directory "/home/httpd/lonUsers">
   Options Includes FollowSymLinks
   AllowOverride None
   order allow,deny
   allow from all
   </Directory>
    
   # Allow construction space files to be served
   
   <Directory "/home/*/public_html/" >
   Options Includes FollowSymLinks
   AllowOverride
   order allow,deny
   allow from all
 </Directory>  </Directory>
   
 # Yes to symbolic links and server-side includes  # Yes to symbolic links and server-side includes
Line 1233  allow from all Line 1416  allow from all
   
 <Directory /home/httpd/cgi-bin>  <Directory /home/httpd/cgi-bin>
 AllowOverride None  AllowOverride None
 Options ExecCGI  Options ExecCGI FollowSymLinks
   order allow,deny
   allow from all
   </Directory>
   
   # Allow serving of files in prtspool
   
   <Directory "/home/httpd/prtspool/">
   Options Includes FollowSymLinks
   AllowOverride None
   order allow,deny
   allow from all
   </Directory>
   
   # Allow serving of files in zipspool
   
   <Directory "/home/httpd/zipspool/">
   Options Includes FollowSymLinks
   AllowOverride None
   order allow,deny
   allow from all
   </Directory>
   
   # Allow serving of files in captchaspool
   
   <Directory "/home/httpd/captchaspool/">
   Options Includes FollowSymLinks
   AllowOverride None
   order allow,deny
   allow from all
 </Directory>  </Directory>
   
 # ============================================================= Access Handlers  # ============================================================= Access Handlers
   
 # ------------------------------------------------- Allow server-status reports  # ------------------------------------------------- Allow server-status reports
 <Location /server-status>  <Location /server-status>
   PerlAccessHandler Apache::lonstatusacc
 SetHandler server-status  SetHandler server-status
 AuthName "LON-CAPA Network Administration"  
 AuthType Basic  
 AuthUserFile /home/httpd/lonTabs/htpasswd  
 require user lonadm  
 </Location>  </Location>
   
 # ------------------------ Allow LON-CAPA "low-level" connection status reports  # ------------------------ Allow LON-CAPA "low-level" connection status reports
 <Location /lon-status>  <LocationMatch "^/+lon-status/.*">
 AuthName "LON-CAPA Network Administration"  PerlAccessHandler Apache::lonstatusacc
 AuthType Basic  ErrorDocument     406 /adm/roles
 AuthUserFile /home/httpd/lonTabs/htpasswd  ErrorDocument     500 /adm/errorhandler
 require user lonadm  </LocationMatch>
 </Location>  
   
 # ------------------- Allow access to local system documentation from localhost  # ------------------- Allow access to local system documentation from localhost
 Alias /doc /usr/doc  Alias /doc /usr/doc
Line 1269  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
 PerlSetVar       londPort     5663  PerlSetVar       londPort     5663
 PerlSetVar       lonSysEMail  korte@lite.msu.edu  PerlSetVar       lonSysEMail  korte@lite.msu.edu
 PerlSetVar       lonDaemons   /home/httpd/perl  PerlSetVar       lonDaemons   /home/httpd/perl
   PerlSetVar       lonLib       /home/httpd/lib
 PerlSetVar       lonSockDir   /home/httpd/sockets  PerlSetVar       lonSockDir   /home/httpd/sockets
   PerlSetVar       lonSockCreate   /home/httpd/sockets/common
 PerlSetVar       lonDocRoot   /home/httpd/html  PerlSetVar       lonDocRoot   /home/httpd/html
 PerlSetVar       lonPrtDir    /home/httpd/prtspool  PerlSetVar       lonPrtDir    /home/httpd/prtspool
 PerlSetVar       lonIncludes  /home/httpd/html/res/adm/includes  PerlSetVar       lonIncludes  /home/httpd/html/res/adm/includes
 # & sepeareted list of : seperated fileds inorder of  PerlSetVar       lonZipDir    /home/httpd/zipspool
   PerlSetVar       lonCaptchaDir     /home/httpd/captchaspool
   PerlSetVar       lonCaptchaDb     /home/httpd/captchadb 
   PerlSetVar       lonFontsDir     /home/httpd/html/adm/fonts
   # & separated list of : separated fields in order of
 # - internal name to call it,   # - internal name to call it, 
 # - regexp that it should match (done case-insensitively)  # - regexp that it should match (done case-insensitively)
 # - regexp that is should not match (done case-insensitively)  # - regexp that is should not match (done case-insensitively)
Line 1287  PerlSetVar       lonIncludes  /home/http Line 1502  PerlSetVar       lonIncludes  /home/http
 # - 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 1303  PerlSetVar  FAQHost http://help.lon-capa Line 1518  PerlSetVar  FAQHost http://help.lon-capa
   
 PerlSetVar       lonSqlAccess   localhostkey  PerlSetVar       lonSqlAccess   localhostkey
   
 # -----------------------------------------------------------------------------  
 # lonttpdPort is the port used by the lightweight graphics httpd server  
 # not the main Apache server  
 PerlSetVar       lonhttpdPort  8080  
   
   
 #----------------------------------------------------------------------------  #----------------------------------------------------------------------------
 #  #
 #   Parameters used by secure lond/lonc  #   Parameters used by secure lond/lonc
Line 1379  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.150  
changed lines
  Added in v.1.210


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