Diff for /loncom/loncapa_apache.conf between versions 1.52 and 1.66

version 1.52, 2003/05/27 19:08:23 version 1.66, 2003/12/10 00:32:55
Line 23  LoadModule perl_module       modules/lib Line 23  LoadModule perl_module       modules/lib
 AddModule mod_perl.c  AddModule mod_perl.c
 </IfDefine>  </IfDefine>
   
   <IfDefine MODPERL2>
   PerlSetVar MODPERL2 1
   </IfDefine>
 # =============================================================== Miscellaneous  # =============================================================== Miscellaneous
   
 ServerAdmin korte@lite.msu.edu  ServerAdmin korte@lite.msu.edu
Line 40  ScriptAlias /cgi-bin/ "/home/httpd/cgi-b Line 43  ScriptAlias /cgi-bin/ "/home/httpd/cgi-b
 # ------------------------------------------------------------- Access Handlers  # ------------------------------------------------------------- Access Handlers
   
 PerlTransHandler Apache::lontrans  PerlTransHandler Apache::lontrans
   <IfDefine MODPERL2>
   PerlCleanupHandler Apache::lonnet::cleanenv
   </IfDefine>
   
 #PerlWarn On  #PerlWarn On
 <LocationMatch "^/+res.*">  <LocationMatch "^/+res.*">
Line 53  ErrorDocument   500 /adm/errorhandler Line 59  ErrorDocument   500 /adm/errorhandler
   
 <LocationMatch "^/+userfiles.*">  <LocationMatch "^/+userfiles.*">
 PerlAccessHandler       Apache::lontokacc  PerlAccessHandler       Apache::lontokacc
   PerlCleanupHandler Apache::lontokacc::removefile
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/+uploaded.*">  <LocationMatch "^/+uploaded.*">
Line 74  PerlAccessHandler Apache::lonacc Line 81  PerlAccessHandler Apache::lonacc
 SetHandler              perl-script  SetHandler              perl-script
 PerlHandler             Apache::lonaboutme  PerlHandler             Apache::lonaboutme
 ErrorDocument     404 /adm/notfound.html  ErrorDocument     404 /adm/notfound.html
   ErrorDocument     406 /adm/notinit.html
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </LocationMatch>  </LocationMatch>
   
Line 82  PerlAccessHandler Apache::lonacc Line 90  PerlAccessHandler Apache::lonacc
 SetHandler              perl-script  SetHandler              perl-script
 PerlHandler             Apache::lonsimplepage  PerlHandler             Apache::lonsimplepage
 ErrorDocument     404 /adm/notfound.html  ErrorDocument     404 /adm/notfound.html
   ErrorDocument     406 /adm/notinit.html
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </LocationMatch>  </LocationMatch>
   
Line 90  PerlAccessHandler Apache::lonacc Line 99  PerlAccessHandler Apache::lonacc
 SetHandler              perl-script  SetHandler              perl-script
 PerlHandler             Apache::lonbulletin  PerlHandler             Apache::lonbulletin
 ErrorDocument     404 /adm/notfound.html  ErrorDocument     404 /adm/notfound.html
   ErrorDocument     406 /adm/notinit.html
   ErrorDocument  500 /adm/errorhandler
   </LocationMatch>
   
   <LocationMatch "\.problem/smpedit$">
   PerlAccessHandler Apache::lonacc
   SetHandler              perl-script
   PerlHandler             Apache::lonsimpleproblemedit
   ErrorDocument     404 /adm/notfound.html
   ErrorDocument     406 /adm/notinit.html
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </LocationMatch>  </LocationMatch>
   
Line 160  ErrorDocument   500 /adm/errorhandler Line 179  ErrorDocument   500 /adm/errorhandler
   
 # --------------------------------------------- Resource Space Content Handlers  # --------------------------------------------- Resource Space Content Handlers
   
 <LocationMatch "^/res.*/$">  <LocationMatch "^/+res.*/$">
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonindexer  PerlHandler Apache::lonindexer
 PerlCleanupHandler Apache::lonindexer::cleanup  PerlCleanupHandler Apache::lonindexer::cleanup
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/(res|\~).*\.tex$">  <LocationMatch "^/+(res|\~).*\.tex$">
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lontex  PerlHandler Apache::lontex
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/res/.*\.page$>  <LocationMatch "^/+res/.*\.page$>
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonpage  PerlHandler Apache::lonpage
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/res/.*\.sequence$>  <LocationMatch "^/+res/.*\.sequence$>
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonsequence  PerlHandler Apache::lonsequence
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/(res|\~|public|uploaded|adm).*\.meta$>  <LocationMatch "^/+(res|\~|public|uploaded|adm).*\.meta$>
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonmeta  PerlHandler Apache::lonmeta
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/(res|\~).*\.rights$>  <LocationMatch "^/+(res|\~).*\.rights$>
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonrights  PerlHandler Apache::lonrights
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/(res|\~).*\.(xml|html|htm|xhtml|xhtm)$">  <LocationMatch "^/+(res|\~).*\.(xml|html|htm|xhtml|xhtm|sty)$">
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonxml  PerlHandler Apache::lonxml
 </LocationMatch>  </LocationMatch>
   
 <LocationMatch "^/(res|\~).*\.(problem|exam|quiz|assess|survey|form|library)$">  <LocationMatch "^/+(res|\~).*\.(problem|exam|quiz|assess|survey|form|library)$">
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonhomework  PerlHandler Apache::lonhomework
 </LocationMatch>  </LocationMatch>
Line 209  ErrorDocument     403 /adm/login Line 228  ErrorDocument     403 /adm/login
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </LocationMatch>  </LocationMatch>
   
   <LocationMatch "^/adm/localize/">
   PerlAccessHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::lonlocal
   ErrorDocument     403 /adm/login
   ErrorDocument  500 /adm/errorhandler
   </LocationMatch>
   
 # -------------------------------------------------------------- Admin Programs  # -------------------------------------------------------------- Admin Programs
   
 <Location /adm/randomlabel.png>  <Location /adm/randomlabel.png>
Line 383  ErrorDocument     406 /adm/unauthorized Line 410  ErrorDocument     406 /adm/unauthorized
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
 <LocationMatch "^/\~.*/$">  <LocationMatch "^/+\~.*/$">
 PerlAccessHandler       Apache::loncacc  PerlAccessHandler       Apache::loncacc
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonpubdir  PerlHandler Apache::lonpubdir
Line 491  ErrorDocument     406 /adm/roles Line 518  ErrorDocument     406 /adm/roles
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
   
   <Location /adm/populate>
   PerlAccessHandler       Apache::lonacc
   SetHandler perl-script
   PerlHandler Apache::lonpopulate
   ErrorDocument     403 /adm/login
   ErrorDocument     406 /adm/roles
   ErrorDocument     500 /adm/errorhandler
   </Location>
   
 <Location /adm/managekeys>  <Location /adm/managekeys>
 PerlAccessHandler       Apache::lonacc  PerlAccessHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
Line 520  ErrorDocument   500 /adm/errorhandler Line 556  ErrorDocument   500 /adm/errorhandler
 <Location /adm/coursedocs>  <Location /adm/coursedocs>
 PerlAccessHandler       Apache::lonacc  PerlAccessHandler       Apache::lonacc
 SetHandler perl-script  SetHandler perl-script
 PerlCleanupHandler Apache::coursedocs::untiehash  
 PerlHandler Apache::londocs  PerlHandler Apache::londocs
    PerlCleanupHandler Apache::londocs::untiehash
 ErrorDocument     403 /adm/login  ErrorDocument     403 /adm/login
 ErrorDocument  500 /adm/errorhandler  ErrorDocument  500 /adm/errorhandler
 </Location>  </Location>
Line 673  AuthUserFile /home/httpd/lonTabs/htpassw Line 709  AuthUserFile /home/httpd/lonTabs/htpassw
 require user  reaper  require user  reaper
 </Location>  </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"  AuthName "LON-CAPA Network Administration"
 AuthType Basic  AuthType Basic
Line 746  Options Indexes FollowSymLinks Line 796  Options Indexes FollowSymLinks
 # ******** THESE "SHOULD" NEVER BE ALTERED BY THE USER ************************  # ******** THESE "SHOULD" NEVER BE ALTERED BY THE USER ************************
 # ====================================== Internal Settings / Perl Configuration  # ====================================== Internal Settings / Perl Configuration
   
   PerlSetVar lonVersion   '<!-- VERSION -->'
 PerlSetVar       lonIDsDir    /home/httpd/lonIDs  PerlSetVar       lonIDsDir    /home/httpd/lonIDs
 PerlSetVar       lonTabDir    /home/httpd/lonTabs  PerlSetVar       lonTabDir    /home/httpd/lonTabs
 PerlSetVar       lonUsersDir  /home/httpd/lonUsers  PerlSetVar       lonUsersDir  /home/httpd/lonUsers
Line 780  PerlSetVar       lonhttpdPort  8080 Line 831  PerlSetVar       lonhttpdPort  8080
   
 Include conf/loncapa.conf  Include conf/loncapa.conf
   
   # ================================================= Include local configuration
   
   Include conf/loncapa_apache_local*.conf
   
 # ================================================== Initiate mod_perl starting  # ================================================== Initiate mod_perl starting
   
 PerlRequire      conf/startup.pl  PerlRequire      conf/startup.pl

Removed from v.1.52  
changed lines
  Added in v.1.66


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