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

version 1.150, 2006/07/17 17:34:53 version 1.179, 2008/09/11 07:48:13
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 122  ErrorDocument   500 /adm/errorhandler Line 131  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 191  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 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 264  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 345  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 357  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 436  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 459  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 497  PerlHandler Apache::lonlogin Line 546  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 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
 </Location>  </Location>
   
 <Location /adm/switchserver>  <Location /adm/switchserver>
Line 518  PerlAuthzHandler       Apache::lonacc Line 581  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 671  ErrorDocument     406 /adm/roles Line 735  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/createuser>  <Location /adm/createuser>
 AuthType LONCAPA  AuthType LONCAPA
 Require valid-user  Require valid-user
Line 1067  AuthType LONCAPA Line 1142  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 1108  PerlAccessHandler      Apache::publicche Line 1183  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 1192  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 1201  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 "^/adm/coursecatalog">
   SetHandler perl-script
   PerlHandler Apache::coursecatalog
   ErrorDocument  500 /adm/errorhandler
   </LocationMatch>
   
   <LocationMatch "^/adm/resetpw">
   SetHandler perl-script
   PerlHandler Apache::resetpw
   ErrorDocument     500 /adm/errorhandler
   </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">
   SetHandler perl-script
   PerlHandler Apache::londns
   ErrorDocument     500 /adm/errorhandler
 </LocationMatch>  </LocationMatch>
   
 # ------------------------------------------------- Backdoor Adm Tests/Programs  # ------------------------------------------------- Backdoor Adm Tests/Programs
Line 1218  PerlChildExitHandler Apache::lonacc::goo Line 1328  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 1363  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
Line 1276  PerlSetVar       londPort     5663 Line 1435  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       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)

Removed from v.1.150  
changed lines
  Added in v.1.179


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