Diff for /loncom/loncapa_apache.conf between versions 1.5 and 1.25

version 1.5, 2002/05/23 19:02:16 version 1.25, 2002/11/09 22:11:17
Line 43  ScriptAlias /cgi-bin/ "/home/httpd/cgi-b Line 43  ScriptAlias /cgi-bin/ "/home/httpd/cgi-b
   
 # ------------------------------------------------------------- Access Handlers  # ------------------------------------------------------------- Access Handlers
   
 <LocationMatch "^/res.*">  PerlTransHandler Apache::lontrans
   
   <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 54  ErrorDocument     406 /adm/roles
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/priv.*">  <LocationMatch "^/+userfiles.*">
   PerlAccessHandler       Apache::lontokacc
   </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  500 /adm/errorhandler
   </LocationMatch>
   
   <LocationMatch "^/adm/.*/smppg">
   PerlAccessHandler Apache::lonacc
   SetHandler              perl-script
   PerlHandler             Apache::lonsimplepage
   ErrorDocument     404 /adm/notfound.html
   ErrorDocument  500 /adm/errorhandler
   </LocationMatch>
   
   <LocationMatch "^/adm/.*/bulletinboard">
   PerlAccessHandler Apache::lonacc
   SetHandler              perl-script
   PerlHandler             Apache::lonbulletin
   ErrorDocument     404 /adm/notfound.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 "/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 122  SetHandler perl-script Line 173  SetHandler perl-script
 PerlHandler Apache::lonsequence  PerlHandler Apache::lonsequence
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/res/.*\.meta$>  <LocationMatch "^/(res|\~).*\.meta$>
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonmeta  PerlHandler Apache::lonmeta
 </LocationMatch>  </LocationMatch>
Line 147  ErrorDocument   500 /adm/errorhandler Line 198  ErrorDocument   500 /adm/errorhandler
   
 # -------------------------------------------------------------- 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/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 263  SetHandler perl-script Line 323  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>
   
Line 273  SetHandler perl-script Line 333  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 343  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 362  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 372  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 382  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 392  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 402  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 412  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 422  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  500 /adm/errorhandler  ErrorDocument     413 /adm/overloaded.txt
 </Location>  
   
 <Location /adm/chart>  
 PerlAccessHandler       Apache::lonacc  
 SetHandler perl-script  
 PerlHandler Apache::lonchart  
 ErrorDocument     403 /adm/login  
 ErrorDocument     406 /adm/roles  
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
Line 377  PerlAccessHandler       Apache::lonacc Line 440  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 452  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
   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 426  PerlAccessHandler       Apache::lonacc Line 521  PerlAccessHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonsearchcat  PerlHandler Apache::lonsearchcat
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
   ErrorDocument     413 /adm/overloaded.txt
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
Line 451  SetHandler perl-script Line 547  SetHandler perl-script
 PerlHandler Apache::lonerrorhandler  PerlHandler Apache::lonerrorhandler
 </Location>  </Location>
   
   <LocationMatch "^/adm/help/.*\.hlp$">
   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 481  AuthUserFile /home/httpd/lonTabs/htpassw Line 582  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 /adm/test>  <Location /adm/test>
 AuthName "LON-CAPA Network Administration"  AuthName "LON-CAPA Network Administration"
 AuthType Basic  AuthType Basic
Line 564  PerlSetVar       lonDaemons   /home/http Line 672  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
   
 # -----------------------------------------------------------------------------  # -----------------------------------------------------------------------------
 # NOTE: lonSqlAccess key is the password for the MySQL user  # NOTE: lonSqlAccess key is the password for the MySQL user

Removed from v.1.5  
changed lines
  Added in v.1.25


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