Diff for /loncom/loncapa_apache.conf between versions 1.166 and 1.181

version 1.166, 2007/04/20 21:11:03 version 1.181, 2008/11/28 19:38:05
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/
 ScriptAlias /cgi-bin/ "/home/httpd/cgi-bin/"  ScriptAlias /cgi-bin/ "/home/httpd/cgi-bin/"
   
 # ================================================================= Directories  # ================================================================= Directories
Line 99  PerlCleanupHandler Apache::lontokacc::re Line 101  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::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 199  AuthType LONCAPA Line 208  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 211  Require valid-user Line 222  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 276  ErrorDocument     406 /adm/roles Line 288  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 "^/\~.*\.sequence$">
Line 357  PerlHandler Apache::lonrights Line 380  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 369  PerlHandler Apache::lonhomework Line 393  PerlHandler Apache::lonhomework
 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 448  PerlAuthzHandler       Apache::lonacc Line 474  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 471  ErrorDocument     403 /adm/login Line 498  ErrorDocument     403 /adm/login
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </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 /adm/pickstudent>  <Location /adm/pickstudent>
 AuthType LONCAPA  AuthType LONCAPA
 Require valid-user  Require valid-user
Line 533  PerlAuthzHandler       Apache::lonacc Line 570  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  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
Line 1190  PerlHandler Apache::resetpw Line 1228  PerlHandler Apache::resetpw
 ErrorDocument     500 /adm/errorhandler  ErrorDocument     500 /adm/errorhandler
 </LocationMatch>  </LocationMatch>
   
   <LocationMatch "^/adm/selfenroll">
   SetHandler perl-script
   PerlHandler Apache::selfenroll
   ErrorDocument     500 /adm/errorhandler
   </LocationMatch>
   
   <LocationMatch "^/adm/createaccount">
   SetHandler perl-script
   PerlHandler Apache::createaccount
   ErrorDocument     500 /adm/errorhandler
   </LocationMatch>
   
 <LocationMatch "^/adm/dns">  <LocationMatch "^/adm/dns">
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::londns  PerlHandler Apache::londns
Line 1198  ErrorDocument     500 /adm/errorhandler Line 1248  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 1327  order allow,deny Line 1317  order allow,deny
 allow from all  allow from all
 </Directory>  </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>
   
 # ============================================================= 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 1372  PerlSetVar       lonDocRoot   /home/http Line 1376  PerlSetVar       lonDocRoot   /home/http
 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
 PerlSetVar       lonZipDir    /home/httpd/zipspool  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  # & 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)
Line 1397  PerlSetVar  FAQHost http://help.lon-capa Line 1403  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.166  
changed lines
  Added in v.1.181


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