Diff for /loncom/loncapa_apache.conf between versions 1.143 and 1.193

version 1.143, 2006/06/30 08:14:27 version 1.193, 2010/03/10 21:25:22
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 49  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>
   
   # Send proper expires header to avoid unnecessary HTTP request for static content
   <LocationMatch "^(/adm/lonIcons|/adm/jQuery|/adm/jsMath|/res/adm/pages|/ckeditor)">
           ExpiresActive On
           ExpiresDefault "access plus 12 hours"
   </LocationMatch>
   
 <LocationMatch "^/+res.*">  <LocationMatch "^/+res.*">
   
 AuthType LONCAPA  AuthType LONCAPA
Line 99  PerlCleanupHandler Apache::lontokacc::re Line 111  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 120  ErrorDocument   500 /adm/errorhandler Line 139  ErrorDocument   500 /adm/errorhandler
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/+uploaded/.*/.*/internal/.*">  <LocationMatch "^/+uploaded/.*/.*/internal/.*">
 PerlAuthzHandler Apache::lonuploadedacc  PerlAuthenHandler Apache::lonuploadedacc
   PerlAuthzHandler Apache::lonuploadedacc::skip_phase
   PerlAccessHandler Apache::lonuploadedacc::skip_phase
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/+uploaded/.*/.*/portfolio/.*">  <LocationMatch "^/+uploaded/.*/.*/portfolio/.*">
Line 180  ErrorDocument     406 /adm/notinit.html Line 201  ErrorDocument     406 /adm/notinit.html
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/adm/.*/smppg$">  <LocationMatch "^/adm/.*/aboutme/portfolio$">
   PerlAccessHandler       Apache::publiccheck
 AuthType LONCAPA  AuthType LONCAPA
 Require valid-user  Require valid-user
 PerlAuthzHandler Apache::lonacc  PerlAuthzHandler Apache::lonacc
 SetHandler              perl-script  SetHandler              perl-script
 PerlHandler             Apache::lonsimplepage  PerlHandler             Apache::lonaboutme
 ErrorDocument     404 /adm/notfound.html  ErrorDocument     404 /adm/notfound.html
 ErrorDocument     406 /adm/notinit.html  ErrorDocument     406 /adm/notinit.html
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/adm/.*/grppg$">  <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
 ErrorDocument     500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/adm/.*/bulletinboard$">  <LocationMatch "^/adm/.*/bulletinboard$">
Line 208  Require valid-user Line 232  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 249  ErrorDocument     403 /adm/login Line 274  ErrorDocument     403 /adm/login
 ErrorDocument     404 /adm/notfound.html  ErrorDocument     404 /adm/notfound.html
 ErrorDocument     406 /adm/unauthorized  ErrorDocument     406 /adm/unauthorized
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 AllowOverride None  
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/adm/helper/.*\.helper$">  <LocationMatch "^/adm/helper/.*\.helper$">
 AuthType LONCAPA  AuthType LONCAPA
 Require valid-user  Require valid-user
 PerlAccessHandler Apache::publiccheck  
 PerlAuthzHandler  Apache::lonacc  PerlAuthzHandler  Apache::lonacc
 SetHandler        perl-script  SetHandler        perl-script
 PerlHandler       Apache::lonhelper  PerlHandler       Apache::lonhelper
Line 275  ErrorDocument     406 /adm/roles Line 298  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 316  PerlCleanupHandler Apache::lonindexer::c Line 350  PerlCleanupHandler Apache::lonindexer::c
 PerlCleanupHandler Apache::lonacc::cleanup  PerlCleanupHandler Apache::lonacc::cleanup
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/+(res|\~).*\.tex$">  <LocationMatch "^/+res.*\.tex$">
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lontex  PerlHandler Apache::lontex
 </LocationMatch>  </LocationMatch>
Line 356  PerlHandler Apache::lonrights Line 390  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 364  SetHandler perl-script Line 399  SetHandler perl-script
 PerlHandler Apache::lonhomework  PerlHandler Apache::lonhomework
 </LocationMatch>  </LocationMatch>
   
   <LocationMatch "^/+\~.*\.(js|css|txt|tex)$">
   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::lonipcheck
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonwrapper  PerlHandler Apache::lonwrapper
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
Line 447  PerlAuthzHandler       Apache::lonacc Line 489  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 460  ErrorDocument     403 /adm/login Line 503  ErrorDocument     403 /adm/login
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
 <Location /adm/remote>  <Location /adm/pickauthor>
 AuthType LONCAPA  AuthType LONCAPA
 Require valid-user  Require valid-user
 PerlAuthzHandler       Apache::lonacc  PerlAuthzHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonremote  PerlHandler Apache::lonpickauthor
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
 ErrorDocument  500 /adm/errorhandler  ErrorDocument     500 /adm/errorhandler
 </Location>  </Location>
   
 <Location /adm/pickstudent>  <Location /adm/pickstudent>
Line 480  ErrorDocument     403 /adm/login Line 523  ErrorDocument     403 /adm/login
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
   <Location /adm/pickuser>
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::lonpickuser
   ErrorDocument     403 /adm/login
   ErrorDocument     406 /adm/roles
   ErrorDocument     500 /adm/errorhandler
   </Location>
   
 <Location /adm/pickcourse>  <Location /adm/pickcourse>
 AuthType LONCAPA  AuthType LONCAPA
 Require valid-user  Require valid-user
Line 505  SetHandler perl-script Line 559  SetHandler perl-script
 PerlHandler Apache::lonlogin  PerlHandler Apache::lonlogin
 </Location>  </Location>
   
   <Location /adm/restrictedaccess>
   PerlAccessHandler      Apache::publiccheck
   AuthType LONCAPA
   Require valid-user
   SetHandler perl-script
   PerlAuthzHandler       Apache::lonacc
   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 /adm/logout>  <Location /adm/logout>
 AuthType LONCAPA  AuthType LONCAPA
 Require valid-user  Require valid-user
Line 512  PerlAuthzHandler       Apache::lonacc Line 586  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 521  PerlAuthzHandler       Apache::lonacc Line 597  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 619  ErrorDocument     406 /adm/roles Line 696  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 652  ErrorDocument     406 /adm/roles Line 740  ErrorDocument     406 /adm/roles
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
   <Location /adm/requestcourse>
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::lonrequestcourse
   ErrorDocument     403 /adm/login
   ErrorDocument     406 /adm/roles
   ErrorDocument     500 /adm/errorhandler
   </Location>
   
 <Location /adm/createcourse>  <Location /adm/createcourse>
 AuthType LONCAPA  AuthType LONCAPA
 Require valid-user  Require valid-user
Line 674  ErrorDocument     406 /adm/roles Line 773  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/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 896  ErrorDocument     406 /adm/roles Line 1015  ErrorDocument     406 /adm/roles
 ErrorDocument     500 /adm/errorhandler  ErrorDocument     500 /adm/errorhandler
 </Location>  </Location>
   
   <Location /adm/grouproster>
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::grouproster
   ErrorDocument     403 /adm/login
   ErrorDocument     406 /adm/roles
   ErrorDocument     500 /adm/errorhandler
   </Location>
   
 <Location /adm/whatsnew>  <Location /adm/whatsnew>
 AuthType LONCAPA  AuthType LONCAPA
 Require valid-user  Require valid-user
Line 1059  AuthType LONCAPA Line 1189  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 1088  ErrorDocument     403 /adm/login Line 1218  ErrorDocument     403 /adm/login
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
   <Location /adm/blockingstatus>
   PerlAccessHandler      Apache::publiccheck
   AuthType LONCAPA
   Require valid-user
   PerlAuthzHandler       Apache::lonacc
   SetHandler             perl-script
   PerlHandler            Apache::lonblockingstatus
   </Location>
   
 <Location /adm/errorhandler>  <Location /adm/errorhandler>
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonerrorhandler  PerlHandler Apache::lonerrorhandler
Line 1096  PerlHandler Apache::lonerrorhandler Line 1235  PerlHandler Apache::lonerrorhandler
 <LocationMatch "^/adm/help/.*\.hlp$">  <LocationMatch "^/adm/help/.*\.hlp$">
 AuthType LONCAPA  AuthType LONCAPA
 Require valid-user  Require valid-user
   PerlAccessHandler      Apache::publiccheck
 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 1107  Require valid-user Line 1248  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 1115  Require valid-user Line 1257  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>
   
 # ------------------------------------------------- Backdoor Adm Tests/Programs  <LocationMatch "^/adm/coursecatalog">
   SetHandler perl-script
 <Location /cgi-bin/loncron.pl>  PerlHandler Apache::coursecatalog
 AuthName "LON-CAPA Network Administration"  PerlAccessHandler      Apache::publiccheck
 AuthType Basic  ErrorDocument  500 /adm/errorhandler
 AuthUserFile /home/httpd/lonTabs/htpasswd  </LocationMatch>
 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>  <LocationMatch "^/adm/resetpw">
 AuthName "LON-CAPA Network Administration"  SetHandler perl-script
 AuthType Basic  PerlHandler Apache::resetpw
 AuthUserFile /home/httpd/lonTabs/htpasswd  ErrorDocument     500 /adm/errorhandler
 require user lonadm  </LocationMatch>
 </Location>  
   
 <Location /cgi-bin/metadata_keywords.pl>  <LocationMatch "^/adm/selfenroll">
 AuthName "LON-CAPA Network Administration"  SetHandler perl-script
 AuthType Basic  PerlHandler Apache::selfenroll
 AuthUserFile /home/httpd/lonTabs/htpasswd  ErrorDocument     500 /adm/errorhandler
 require user lonadm  </LocationMatch>
 </Location>  
   
 <Location /cgi-bin/metadata_harvest.pl>  <LocationMatch "^/adm/createaccount">
 AuthName "harvest"  SetHandler perl-script
 AuthType Basic  PerlHandler Apache::createaccount
 AuthUserFile /home/httpd/lonTabs/htpasswd  ErrorDocument     500 /adm/errorhandler
 require user  reaper  </LocationMatch>
 </Location>  
   
 <Location /cgi-bin/takeoffline.pl>  <LocationMatch "^/adm/dns">
 AuthName "Offline"  SetHandler perl-script
 AuthType Basic  PerlHandler Apache::londns
 AuthUserFile /home/httpd/lonTabs/htpasswd  ErrorDocument     500 /adm/errorhandler
 require user  offline  </LocationMatch>
 </Location>  
   
 <Location /cgi-bin/takeonline.pl>  # ------------------------------------------------- Backdoor Adm Tests/Programs
 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 1209  PerlChildExitHandler Apache::lonacc::goo Line 1325  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 1224  allow from all Line 1360  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
   
 # ------------------------------------------------- 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 1266  PerlSetVar       lonIconsURL  /adm/lonIc Line 1427  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       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)
Line 1294  PerlSetVar  FAQHost http://help.lon-capa Line 1461  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.143  
changed lines
  Added in v.1.193


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