Diff for /loncom/loncapa_apache.conf between versions 1.1 and 1.18

version 1.1, 2002/05/12 19:11:31 version 1.18, 2002/09/10 14:26:13
Line 12 Line 12
 #  #
 # LON-CAPA Section (extensions to httpd.conf daemon configuration)  # LON-CAPA Section (extensions to httpd.conf daemon configuration)
 #  #
 # ======================================================================== User  # ================================================================ DocumentRoot
   
 DocumentRoot "/home/httpd/html"  DocumentRoot "/home/httpd/html"
   
Line 37  ExtendedStatus On Line 37  ExtendedStatus On
 # ===================================================================== Aliases  # ===================================================================== Aliases
   
 Alias /prtspool/ /home/httpd/prtspool/  Alias /prtspool/ /home/httpd/prtspool/
   ScriptAlias /cgi-bin/ "/home/httpd/cgi-bin/"
   
 # ================================================================= Directories  # ================================================================= Directories
   
 # ------------------------------------------------------------- Access Handlers  # ------------------------------------------------------------- Access Handlers
   
   PerlTransHandler Apache::lontrans
   
 <LocationMatch "^/res.*">  <LocationMatch "^/res.*">
 PerlAccessHandler       Apache::lonacc  PerlAccessHandler       Apache::lonacc
 PerlHeaderParserHandler Apache::lonrep  PerlHeaderParserHandler Apache::lonrep
Line 51  ErrorDocument     406 /adm/roles Line 54  ErrorDocument     406 /adm/roles
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </LocationMatch>  </LocationMatch>
   
   <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 "^/priv.*">  <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>
   
Line 69  PerlAccessHandler Apache::lonracc Line 98  PerlAccessHandler Apache::lonracc
 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>
Line 121  SetHandler perl-script Line 150  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 262  SetHandler perl-script Line 291  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 272  SetHandler perl-script Line 301  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 282  SetHandler perl-script Line 311  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 292  SetHandler perl-script Line 330  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 302  SetHandler perl-script Line 340  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 312  SetHandler perl-script Line 350  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 322  SetHandler perl-script Line 360  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 353  ErrorDocument     406 /adm/roles Line 391  ErrorDocument     406 /adm/roles
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </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  
 </Location>  
   
 <Location /adm/dropadd>  <Location /adm/dropadd>
 PerlAccessHandler       Apache::lonacc  PerlAccessHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
Line 387  ErrorDocument     403 /adm/login Line 416  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  500 /adm/errorhandler
   </Location>
   
 <Location /adm/evaluate>  <Location /adm/evaluate>
 PerlAccessHandler       Apache::lonacc  PerlAccessHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
Line 450  SetHandler perl-script Line 509  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 565  PerlSetVar       lonDocRoot   /home/http Line 629  PerlSetVar       lonDocRoot   /home/http
 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&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
   
   # -----------------------------------------------------------------------------
   # NOTE: lonSqlAccess key is the password for the MySQL user
   # www@localhost.  This value must always be "localhostkey".
   # The only security risk occurs when somebody logs in as 'www' on your system
   # (in which case you have much bigger problems than whether or not they
   # can access the non-authoritative loncapa database on your machine).
   
   PerlSetVar       lonSqlAccess   localhostkey
   
   # -----------------------------------------------------------------------------
   
   
   # ====================================== Include machine-specific configuration
   
   Include conf/loncapa.conf
   
 # ================================================== Initiate mod_perl starting  # ================================================== Initiate mod_perl starting
   
 PerlRequire      conf/startup.pl  PerlRequire      conf/startup.pl

Removed from v.1.1  
changed lines
  Added in v.1.18


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