Diff for /loncom/loncapa_apache.conf between versions 1.3 and 1.71

version 1.3, 2002/05/21 20:11:38 version 1.71, 2004/01/15 20:22:47
Line 3 Line 3
 ##  ##
 ## $Id$  ## $Id$
 ##  ##
 ## 1/11/2002 - Scott Harrison  
 ## 2/19/2002 - Scott Harrison  
 ## 2/28/2002 - Scott Harrison  
 ## 3/2/2002 - Scott Harrison  
 ## 5/12/2002 - Scott Harrison  
   
 #  #
 # LON-CAPA Section (extensions to httpd.conf daemon configuration)  # LON-CAPA Section (extensions to httpd.conf daemon configuration)
 #  #
 # ======================================================================== User  # ================================================================ DocumentRoot
   
 DocumentRoot "/home/httpd/html"  DocumentRoot "/home/httpd/html"
   
Line 24  Group www Line 19  Group www
 # ======================================================= Shared Object Modules  # ======================================================= Shared Object Modules
   
 LoadModule perl_module       modules/libperl.so  LoadModule perl_module       modules/libperl.so
   <IfDefine !MODPERL2>
 AddModule mod_perl.c  AddModule mod_perl.c
   </IfDefine>
   
   <IfDefine MODPERL2>
   PerlSetVar MODPERL2 1
   </IfDefine>
 # =============================================================== Miscellaneous  # =============================================================== Miscellaneous
   
 ServerAdmin korte@lite.msu.edu  ServerAdmin korte@lite.msu.edu
 ExtendedStatus On  ExtendedStatus On
   
 #  #
 # LON-CAPA Section (extensions to srm.conf name space servicing)  # LON-CAPA Section (extensions to srm.conf name space servicing)
 #  #
Line 43  ScriptAlias /cgi-bin/ "/home/httpd/cgi-b Line 42  ScriptAlias /cgi-bin/ "/home/httpd/cgi-b
   
 # ------------------------------------------------------------- Access Handlers  # ------------------------------------------------------------- Access Handlers
   
 <LocationMatch "^/res.*">  PerlTransHandler Apache::lontrans
   <IfDefine MODPERL2>
   PerlCleanupHandler Apache::lonnet::cleanenv
   </IfDefine>
   
   #PerlWarn On
   <LocationMatch "^/+res.*">
 PerlAccessHandler       Apache::lonacc  PerlAccessHandler       Apache::lonacc
 PerlHeaderParserHandler Apache::lonrep  PerlHeaderParserHandler Apache::lonrep
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
Line 52  ErrorDocument     406 /adm/roles Line 57  ErrorDocument     406 /adm/roles
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/priv.*">  <LocationMatch "^/+userfiles.*">
   PerlAccessHandler       Apache::lontokacc
   PerlCleanupHandler Apache::lontokacc::removefile
   </LocationMatch>
   
   <LocationMatch "^/+uploaded.*">
   PerlAccessHandler Apache::lonuploadedacc
   ErrorDocument     404 /adm/notfound.html
   ErrorDocument  500 /adm/errorhandler
   </LocationMatch>
   
   <LocationMatch "^/+public/.*/syllabus$">
   PerlAccessHandler Apache::lonacc
   SetHandler              perl-script
   PerlHandler             Apache::lonsyllabus
   ErrorDocument     404 /adm/notfound.html
   ErrorDocument  500 /adm/errorhandler
   </LocationMatch>
   
   <LocationMatch "^/adm/.*/aboutme$">
   PerlAccessHandler 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$">
   PerlAccessHandler Apache::lonacc
   SetHandler              perl-script
   PerlHandler             Apache::lonsimplepage
   ErrorDocument     404 /adm/notfound.html
   ErrorDocument     406 /adm/notinit.html
   ErrorDocument  500 /adm/errorhandler
   </LocationMatch>
   
   <LocationMatch "^/adm/.*/bulletinboard$">
   PerlAccessHandler Apache::lonacc
   SetHandler              perl-script
   PerlHandler             Apache::lonbulletin
   ErrorDocument     404 /adm/notfound.html
   ErrorDocument     406 /adm/notinit.html
   ErrorDocument  500 /adm/errorhandler
   </LocationMatch>
   
   <LocationMatch "\.problem/smpedit$">
   PerlAccessHandler Apache::lonacc
   SetHandler              perl-script
   PerlHandler             Apache::lonsimpleproblemedit
   ErrorDocument     404 /adm/notfound.html
   ErrorDocument     406 /adm/notinit.html
   ErrorDocument  500 /adm/errorhandler
   </LocationMatch>
   
   <LocationMatch "^/+priv.*">
 PerlAccessHandler Apache::loncacc  PerlAccessHandler Apache::loncacc
 SetHandler        perl-script  SetHandler        perl-script
 PerlHandler       Apache::lonconstruct  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.html  ErrorDocument     406 /adm/unauthorized
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/raw.*">  <LocationMatch "^/+raw.*">
 PerlAccessHandler Apache::lonracc  PerlAccessHandler Apache::lonracc
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/\~.*">  <LocationMatch "^/+\~.*">
 PerlAccessHandler Apache::loncacc  PerlAccessHandler Apache::loncacc
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
 ErrorDocument     404 /adm/notfound.html  ErrorDocument     404 /adm/notfound.html
 ErrorDocument     406 /adm/unauthorized.html  ErrorDocument     406 /adm/unauthorized
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 AllowOverride None  AllowOverride None
 </LocationMatch>  </LocationMatch>
   
   <LocationMatch "^/adm/helper/.*\.helper$">
   PerlAccessHandler Apache::lonacc
   SetHandler        perl-script
   PerlHandler       Apache::lonhelper
   ErrorDocument     403 /adm/login
   ErrorDocument     404 /adm/notfound.html
   ErrorDocument     406 /adm/unauthorized
   ErrorDocument     500 /adm/errorhandler
   </LocationMatch>
   
   <LocationMatch "/prtspool">
   PerlAccessHandler Apache::lonacc
   ErrorDocument     403 /adm/login
   ErrorDocument     404 /adm/notfound.html
   ErrorDocument     406 /adm/roles
   ErrorDocument  500 /adm/errorhandler
   </LocationMatch>
 # ------------------------------------------------------------------------- RAT  # ------------------------------------------------------------------------- RAT
   
 <LocationMatch "^/\~.*\.sequence$">  <LocationMatch "^/\~.*\.sequence$">
Line 102  ErrorDocument   500 /adm/errorhandler Line 179  ErrorDocument   500 /adm/errorhandler
   
 # --------------------------------------------- Resource Space Content Handlers  # --------------------------------------------- Resource Space Content Handlers
   
 <LocationMatch "^/res.*/$">  <LocationMatch "^/+res.*/$">
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonindexer  PerlHandler Apache::lonindexer
   PerlCleanupHandler Apache::lonindexer::cleanup
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/(res|\~).*\.tex$">  <LocationMatch "^/+(res|\~).*\.tex$">
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lontex  PerlHandler Apache::lontex
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/res/.*\.page$>  <LocationMatch "^/+res/.*\.page$">
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonpage  PerlHandler Apache::lonpage
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/res/.*\.sequence$>  <LocationMatch "^/+res/.*\.sequence$">
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonsequence  PerlHandler Apache::lonsequence
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/res/.*\.meta$>  <LocationMatch "^/+(res|\~|public|uploaded|adm).*\.meta$">
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonmeta  PerlHandler Apache::lonmeta
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/(res|\~).*\.(xml|html|htm|xhtml|xhtm)$">  <LocationMatch "^/adm/bombs/">
   SetHandler perl-script
   PerlAccessHandler Apache::lonacc
   PerlHandler Apache::lonmeta
   </LocationMatch>
   
   
   
   <LocationMatch "^/+(res|\~).*\.rights$">
   SetHandler perl-script
   PerlHandler Apache::lonrights
   </LocationMatch>
   
   <LocationMatch "^/+(res|\~).*\.(xml|html|htm|xhtml|xhtm|sty)$">
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonxml  PerlHandler Apache::lonxml
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/(res|\~).*\.(problem|exam|quiz|assess|survey|form|library)$">  <LocationMatch "^/+(res|\~).*\.(problem|exam|quiz|assess|survey|form|library)$">
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonhomework  PerlHandler Apache::lonhomework
 </LocationMatch>  </LocationMatch>
Line 145  ErrorDocument     403 /adm/login Line 236  ErrorDocument     403 /adm/login
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </LocationMatch>  </LocationMatch>
   
   <LocationMatch "^/adm/localize/">
   PerlAccessHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::lonlocal
   ErrorDocument     403 /adm/login
   ErrorDocument  500 /adm/errorhandler
   </LocationMatch>
   
 # -------------------------------------------------------------- Admin Programs  # -------------------------------------------------------------- Admin Programs
   
   <Location /adm/randomlabel.png>
   PerlAccessHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::randomlylabel
   ErrorDocument     403 /adm/login
   ErrorDocument  500 /adm/errorhandler
   </Location>
   
   <Location /adm/imagechoice>
   PerlAccessHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::imagechoice
   ErrorDocument     403 /adm/login
   ErrorDocument  500 /adm/errorhandler
   </Location>
   
 <Location /adm/statistics>  <Location /adm/statistics>
 PerlAccessHandler       Apache::lonacc  PerlAccessHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonstatistics  PerlHandler Apache::lonstatistics
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
   ErrorDocument     413 /adm/overloaded.txt
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
Line 163  ErrorDocument     403 /adm/login Line 279  ErrorDocument     403 /adm/login
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
   <Location /adm/menu>
   PerlAccessHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::lonmenu
   ErrorDocument     403 /adm/login
   ErrorDocument  500 /adm/errorhandler
   </Location>
   
   <Location /adm/remote>
   PerlAccessHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::lonremote
   ErrorDocument     403 /adm/login
   ErrorDocument  500 /adm/errorhandler
   </Location>
   
   <Location /adm/pickstudent>
   PerlAccessHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::lonpickstudent
   ErrorDocument     403 /adm/login
   ErrorDocument  500 /adm/errorhandler
   </Location>
   
   <Location /adm/pickcourse>
   PerlAccessHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::lonpickcourse
   ErrorDocument     403 /adm/login
   ErrorDocument  500 /adm/errorhandler
   </Location>
   
 <Location /adm/login>  <Location /adm/login>
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonlogin  PerlHandler Apache::lonlogin
Line 200  ErrorDocument   500 /adm/errorhandler Line 348  ErrorDocument   500 /adm/errorhandler
 PerlAccessHandler       Apache::lonacc  PerlAccessHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonpageflip  PerlHandler Apache::lonpageflip
   PerlCleanupHandler Apache::lonpageflip::cleanup
 ErrorDocument     406 /adm/roles  ErrorDocument     406 /adm/roles
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
Line 209  ErrorDocument   500 /adm/errorhandler Line 358  ErrorDocument   500 /adm/errorhandler
 PerlAccessHandler       Apache::lonacc  PerlAccessHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonambiguous  PerlHandler Apache::lonambiguous
   PerlCleanupHandler Apache::lonambiguous::cleanup
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
Line 230  ErrorDocument     406 /adm/roles Line 380  ErrorDocument     406 /adm/roles
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
   <Location /adm/wizard>
   PerlAccessHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::lonwizard
   ErrorDocument     403 /adm/login
   ErrorDocument     406 /adm/roles
   ErrorDocument  500 /adm/errorhandler
   </Location>
   
 <Location /adm/grades>  <Location /adm/grades>
 PerlAccessHandler       Apache::lonacc  PerlAccessHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
Line 248  ErrorDocument     406 /adm/roles Line 407  ErrorDocument     406 /adm/roles
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
   <Location /adm/modifycourse>
   PerlAccessHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::lonmodifycourse
   ErrorDocument     403 /adm/login
   ErrorDocument     406 /adm/roles
   ErrorDocument     500 /adm/errorhandler
   </Location>
   
 <Location /adm/createuser>  <Location /adm/createuser>
 PerlAccessHandler       Apache::lonacc  PerlAccessHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
Line 263  SetHandler perl-script Line 431  SetHandler perl-script
 PerlHandler Apache::lonpublisher  PerlHandler Apache::lonpublisher
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
 ErrorDocument     404 /adm/notfound.html  ErrorDocument     404 /adm/notfound.html
 ErrorDocument     406 /adm/unauthorized.html  ErrorDocument     406 /adm/unauthorized
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
 <LocationMatch "^/\~.*/$">  <LocationMatch "^/+\~.*/$">
 PerlAccessHandler       Apache::loncacc  PerlAccessHandler       Apache::loncacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonpubdir  PerlHandler Apache::lonpubdir
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
 ErrorDocument     404 /adm/notfound.html  ErrorDocument     404 /adm/notfound.html
 ErrorDocument     406 /adm/unauthorized.html  ErrorDocument     406 /adm/unauthorized
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </LocationMatch>  </LocationMatch>
   
Line 283  SetHandler perl-script Line 451  SetHandler perl-script
 PerlHandler Apache::lonpubdir  PerlHandler Apache::lonpubdir
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
 ErrorDocument     404 /adm/notfound.html  ErrorDocument     404 /adm/notfound.html
 ErrorDocument     406 /adm/unauthorized.html  ErrorDocument     406 /adm/unauthorized
   ErrorDocument  500 /adm/errorhandler
   </Location>
   
   <Location /adm/unauthorized>
   PerlAccessHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::lonunauthorized
   ErrorDocument     403 /adm/login
   ErrorDocument     404 /adm/notfound.html
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
Line 293  SetHandler perl-script Line 470  SetHandler perl-script
 PerlHandler Apache::lonretrieve  PerlHandler Apache::lonretrieve
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
 ErrorDocument     404 /adm/notfound.html  ErrorDocument     404 /adm/notfound.html
 ErrorDocument     406 /adm/unauthorized.html  ErrorDocument     406 /adm/unauthorized
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
Line 303  SetHandler perl-script Line 480  SetHandler perl-script
 PerlHandler Apache::loncfile  PerlHandler Apache::loncfile
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
 ErrorDocument     404 /adm/notfound.html  ErrorDocument     404 /adm/notfound.html
 ErrorDocument     406 /adm/unauthorized.html  ErrorDocument     406 /adm/unauthorized
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
Line 313  SetHandler perl-script Line 490  SetHandler perl-script
 PerlHandler Apache::londiff  PerlHandler Apache::londiff
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
 ErrorDocument     404 /adm/notfound.html  ErrorDocument     404 /adm/notfound.html
 ErrorDocument     406 /adm/unauthorized.html  ErrorDocument     406 /adm/unauthorized
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
Line 323  SetHandler perl-script Line 500  SetHandler perl-script
 PerlHandler Apache::lonupload  PerlHandler Apache::lonupload
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
 ErrorDocument     404 /adm/notfound.html  ErrorDocument     404 /adm/notfound.html
 ErrorDocument     406 /adm/unauthorized.html  ErrorDocument     406 /adm/unauthorized
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
Line 333  SetHandler perl-script Line 510  SetHandler perl-script
 PerlHandler Apache::lonspreadsheet  PerlHandler Apache::lonspreadsheet
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
 ErrorDocument     406 /adm/roles  ErrorDocument     406 /adm/roles
   ErrorDocument     413 /adm/overloaded.txt
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
Line 342  SetHandler perl-script Line 520  SetHandler perl-script
 PerlHandler Apache::lonspreadsheet  PerlHandler Apache::lonspreadsheet
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
 ErrorDocument     406 /adm/roles  ErrorDocument     406 /adm/roles
   ErrorDocument     413 /adm/overloaded.txt
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
Line 351  SetHandler perl-script Line 530  SetHandler perl-script
 PerlHandler Apache::lonspreadsheet  PerlHandler Apache::lonspreadsheet
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
 ErrorDocument     406 /adm/roles  ErrorDocument     406 /adm/roles
   ErrorDocument     413 /adm/overloaded.txt
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
 <Location /adm/chart>  <Location /adm/dropadd>
 PerlAccessHandler       Apache::lonacc  PerlAccessHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonchart  PerlHandler Apache::londropadd
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
 ErrorDocument     406 /adm/roles  ErrorDocument     406 /adm/roles
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
 <Location /adm/dropadd>  <Location /adm/populate>
 PerlAccessHandler       Apache::lonacc  PerlAccessHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::londropadd  PerlHandler Apache::lonpopulate
   ErrorDocument     403 /adm/login
   ErrorDocument     406 /adm/roles
   ErrorDocument     500 /adm/errorhandler
   </Location>
   
   <Location /adm/managekeys>
   PerlAccessHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::lonmanagekeys
 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 377  PerlAccessHandler       Apache::lonacc Line 566  PerlAccessHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonprintout  PerlHandler Apache::lonprintout
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
   ErrorDocument     413 /adm/overloaded.txt
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
Line 388  ErrorDocument     403 /adm/login Line 578  ErrorDocument     403 /adm/login
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
   <Location /adm/coursedocs>
   PerlAccessHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::londocs
    PerlCleanupHandler Apache::londocs::untiehash
   ErrorDocument     403 /adm/login
   ErrorDocument  500 /adm/errorhandler
   </Location>
   
   <Location /adm/announcements>
   PerlAccessHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::lonannounce
   ErrorDocument     403 /adm/login
   ErrorDocument  500 /adm/errorhandler
   </Location>
   
   <Location /adm/chat>
   PerlAccessHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::lonchat
   ErrorDocument  500 /adm/errorhandler
   </Location>
   
   <Location /adm/chatfetch>
   PerlAccessHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::lonchatfetch
   ErrorDocument     413 /adm/overloaded.txt
   ErrorDocument  500 /adm/errorhandler
   </Location>
   
 <Location /adm/evaluate>  <Location /adm/evaluate>
 PerlAccessHandler       Apache::lonacc  PerlAccessHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
Line 425  ErrorDocument   500 /adm/errorhandler Line 647  ErrorDocument   500 /adm/errorhandler
 PerlAccessHandler       Apache::lonacc  PerlAccessHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonsearchcat  PerlHandler Apache::lonsearchcat
   PerlCleanupHandler Apache::lonsearchcat::cleanup
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
   ErrorDocument     413 /adm/overloaded.txt
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
Line 438  ErrorDocument     406 /adm/roles Line 662  ErrorDocument     406 /adm/roles
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
   <Location /adm/quickgrades>
   PerlAccessHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::lonquickgrades
   ErrorDocument     403 /adm/login
   ErrorDocument     406 /adm/roles
   ErrorDocument     500 /adm/errorhandler
   </Location>
   
 <Location /adm/groupsort>  <Location /adm/groupsort>
 PerlAccessHandler Apache::lonacc  PerlAccessHandler Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::groupsort  PerlHandler Apache::groupsort
   PerlCleanupHandler Apache::groupsort::cleanup
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
Line 451  SetHandler perl-script Line 685  SetHandler perl-script
 PerlHandler Apache::lonerrorhandler  PerlHandler Apache::lonerrorhandler
 </Location>  </Location>
   
   <LocationMatch "^/adm/help/.*\.hlp$">
   PerlAccessHandler Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::lonhelp
   </LocationMatch>
   
 # ------------------------------------------------- Backdoor Adm Tests/Programs  # ------------------------------------------------- Backdoor Adm Tests/Programs
   
 <Location /cgi-bin/loncron.pl>  <Location /cgi-bin/loncron.pl>
Line 460  AuthUserFile /home/httpd/lonTabs/htpassw Line 700  AuthUserFile /home/httpd/lonTabs/htpassw
 require user lonadm  require user lonadm
 </Location>  </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>  <Location /cgi-bin/lonversions.pl>
 AuthName "LON-CAPA Network Administration"  AuthName "LON-CAPA Network Administration"
 AuthType Basic  AuthType Basic
Line 481  AuthUserFile /home/httpd/lonTabs/htpassw Line 728  AuthUserFile /home/httpd/lonTabs/htpassw
 require user lonadm  require user lonadm
 </Location>  </Location>
   
   <Location /cgi-bin/metadata_harvest.pl>
   AuthName "harvest"
   AuthType Basic
   AuthUserFile /home/httpd/lonTabs/htpasswd
   require user  reaper
   </Location>
   
   <Location /cgi-bin/takeoffline.pl>
   AuthName "Offline"
   AuthType Basic
   AuthUserFile /home/httpd/lonTabs/htpasswd
   require user  offline
   </Location>
   
   <Location /cgi-bin/takeonline.pl>
   AuthName "Offline"
   AuthType Basic
   AuthUserFile /home/httpd/lonTabs/htpasswd
   require user  offline
   </Location>
   
 <Location /adm/test>  <Location /adm/test>
 AuthName "LON-CAPA Network Administration"  AuthName "LON-CAPA Network Administration"
 AuthType Basic  AuthType Basic
Line 554  Options Indexes FollowSymLinks Line 822  Options Indexes FollowSymLinks
 # ******** THESE "SHOULD" NEVER BE ALTERED BY THE USER ************************  # ******** THESE "SHOULD" NEVER BE ALTERED BY THE USER ************************
 # ====================================== Internal Settings / Perl Configuration  # ====================================== Internal Settings / Perl Configuration
   
   PerlSetVar lonVersion   '<!-- VERSION -->'
 PerlSetVar       lonIDsDir    /home/httpd/lonIDs  PerlSetVar       lonIDsDir    /home/httpd/lonIDs
 PerlSetVar       lonTabDir    /home/httpd/lonTabs  PerlSetVar       lonTabDir    /home/httpd/lonTabs
 PerlSetVar       lonUsersDir  /home/httpd/lonUsers  PerlSetVar       lonUsersDir  /home/httpd/lonUsers
Line 564  PerlSetVar       lonDaemons   /home/http Line 833  PerlSetVar       lonDaemons   /home/http
 PerlSetVar       lonSockDir   /home/httpd/sockets  PerlSetVar       lonSockDir   /home/httpd/sockets
 PerlSetVar       lonDocRoot   /home/httpd/html  PerlSetVar       lonDocRoot   /home/httpd/html
 PerlSetVar       lonIncludes  /home/httpd/html/res/adm/includes  PerlSetVar       lonIncludes  /home/httpd/html/res/adm/includes
 PerlSetVar       lonBrowsDet  netscape:mozilla:msie:mozilla\/(\d+\.\d+)\s:9999&explorer:msie:netscape:msie\s(\d+\.\d+)\;:9999&mozilla:mozilla\/[5-9]:msie:mozilla\/(\d+\.\d+)\s:9999&amaya:amaya:mozilla:V(\d+\.\d+)\s:1  PerlSetVar       lonBrowsDet  netscape:mozilla:msie:mozilla\/(\d+\.\d+)\s:9999:9999&explorer:msie:netscape:msie\s(\d+\.\d+)\;:9999:9999&mozilla:mozilla\/[5-9]:msie:mozilla\/(\d+\.\d+)\s:9999:1&amaya:amaya:mozilla:V(\d+\.\d+)\s:1:1
   PerlSetVar       lonTextBrowsers opera:windows\s+ce:lynx
   PerlSetVar       lonScansDir  /home/httpd/scantron
   PerlSetVar       lonScriptTimeout 10
   PerlSetVar BugzillaHost http://bugs.lon-capa.org/
   PerlSetVar FAQHost http://help.lon-capa.org/
 # -----------------------------------------------------------------------------  # -----------------------------------------------------------------------------
 # NOTE: lonSqlAccess key is the password for the MySQL user  # NOTE: lonSqlAccess key is the password for the MySQL user
 # www@localhost.  This value must always be "localhostkey".  # www@localhost.  This value must always be "localhostkey".
Line 576  PerlSetVar       lonBrowsDet  netscape:m Line 849  PerlSetVar       lonBrowsDet  netscape:m
 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
   
   
 # ================================================== Initiate mod_perl starting  
   # ====================================== Include machine-specific configuration
   
 Include conf/loncapa.conf  Include conf/loncapa.conf
   
   # ================================================= Include local configuration
   
   Include conf/loncapa_apache_local*.conf
   
 # ================================================== Initiate mod_perl starting  # ================================================== Initiate mod_perl starting
   
 PerlRequire      conf/startup.pl  PerlRequire      conf/startup.pl
   <IfDefine !MODPERL2>
 PerlFreshRestart On  PerlFreshRestart On
   </IfDefine>

Removed from v.1.3  
changed lines
  Added in v.1.71


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