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

version 1.177, 2008/07/08 17:52:32 version 1.186, 2009/07/07 19:50:44
Line 51  PerlAuthenHandler Apache::checkauthen Line 51  PerlAuthenHandler Apache::checkauthen
 PerlSetVar lonOtherAuthen no  PerlSetVar lonOtherAuthen no
   
 #PerlWarn On  #PerlWarn On
   <LocationMatch "^/+res/adm/pages/[^/]+\.(gif|png)$">
   PerlAuthenHandler 'sub { return OK }' 
   </LocationMatch>
   
 <LocationMatch "^/+res.*">  <LocationMatch "^/+res.*">
   
 AuthType LONCAPA  AuthType LONCAPA
Line 101  PerlCleanupHandler Apache::lontokacc::re Line 105  PerlCleanupHandler Apache::lontokacc::re
 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
 PerlAuthzHandler Apache::lonacc  PerlAuthzHandler Apache::lonacc
 PerlHandler Apache::londatecheck  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 203  Require valid-user Line 213  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::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 215  Require valid-user Line 226  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 372  PerlHandler Apache::lonrights Line 384  PerlHandler Apache::lonrights
 <LocationMatch "^/+(uploaded|res|\~).*\.(xml|html|htm|xhtml|xhtm|sty)$">  <LocationMatch "^/+(uploaded|res|\~).*\.(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>
   
Line 380  SetHandler perl-script Line 393  SetHandler perl-script
 PerlHandler Apache::lonhomework  PerlHandler Apache::lonhomework
 </LocationMatch>  </LocationMatch>
   
   <LocationMatch "^/+\~.*\.(js|css|txt)$">
   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::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 670  ErrorDocument     406 /adm/roles Line 689  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 736  ErrorDocument     406 /adm/roles Line 766  ErrorDocument     406 /adm/roles
 ErrorDocument     500 /adm/errorhandler  ErrorDocument     500 /adm/errorhandler
 </Location>  </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 1161  ErrorDocument     403 /adm/login Line 1200  ErrorDocument     403 /adm/login
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
   <Location /adm/blockingstatus>
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::lonblockingstatus
   ErrorDocument     403 /adm/login
   ErrorDocument  500 /adm/errorhandler
   </Location>
   
 <Location /adm/errorhandler>  <Location /adm/errorhandler>
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonerrorhandler  PerlHandler Apache::lonerrorhandler
Line 1238  ErrorDocument     500 /adm/errorhandler Line 1287  ErrorDocument     500 /adm/errorhandler
   
 # ------------------------------------------------- Backdoor Adm Tests/Programs  # ------------------------------------------------- Backdoor Adm Tests/Programs
   
 <Location /cgi-bin/loncron.pl>  
 AuthName "LON-CAPA Network Administration"  
 AuthType Basic  
 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>  
 AuthName "LON-CAPA Network Administration"  
 AuthType Basic  
 AuthUserFile /home/httpd/lonTabs/htpasswd  
 require user lonadm  
 </Location>  
   
 <Location /cgi-bin/metadata_keywords.pl>  
 AuthName "LON-CAPA Network Administration"  
 AuthType Basic  
 AuthUserFile /home/httpd/lonTabs/htpasswd  
 require user lonadm  
 </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"  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 1389  allow from all Line 1378  allow from all
   
 # ------------------------------------------------- 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 1424  PerlSetVar       lonIconsURL  /adm/lonIc Line 1409  PerlSetVar       lonIconsURL  /adm/lonIc
 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       lonSockCreate   /home/httpd/sockets/common
 PerlSetVar       lonDocRoot   /home/httpd/html  PerlSetVar       lonDocRoot   /home/httpd/html
Line 1457  PerlSetVar  FAQHost http://help.lon-capa Line 1443  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

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


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