Annotation of loncom/loncapa_apache.conf, revision 1.216

1.1       harris41    1: ##
                      2: ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
                      3: ##
1.216   ! www         4: ## $Id: loncapa_apache.conf,v 1.215 2012/04/18 18:51:08 raeburn Exp $
1.1       harris41    5: ##
                      6: 
                      7: #
                      8: # LON-CAPA Section (extensions to httpd.conf daemon configuration)
                      9: #
1.8       harris41   10: # ================================================================ DocumentRoot
1.1       harris41   11: 
                     12: DocumentRoot "/home/httpd/html"
                     13: 
                     14: # ======================================================================== User
                     15: 
                     16: User www
                     17: Group www
                     18: 
                     19: # ======================================================= Shared Object Modules
                     20: 
1.52      albertel   21: LoadModule perl_module       modules/libperl.so
1.47      albertel   22: <IfDefine !MODPERL2>
1.1       harris41   23: AddModule mod_perl.c
1.47      albertel   24: </IfDefine>
1.1       harris41   25: 
1.63      albertel   26: <IfDefine MODPERL2>
                     27: PerlSetVar	MODPERL2	1
                     28: </IfDefine>
1.1       harris41   29: # =============================================================== Miscellaneous
                     30: 
                     31: ServerAdmin korte@lite.msu.edu
                     32: ExtendedStatus On
                     33: #
                     34: # LON-CAPA Section (extensions to srm.conf name space servicing)
                     35: #
                     36: # ===================================================================== Aliases
                     37: 
1.167     banghart   38: Alias /zipspool/ /home/httpd/zipspool/
1.1       harris41   39: Alias /prtspool/ /home/httpd/prtspool/
1.177     raeburn    40: Alias /captchaspool/ /home/httpd/captchaspool/
1.210     raeburn    41: Alias /webdav/ /home/httpd/html/priv/
1.8       harris41   42: ScriptAlias /cgi-bin/ "/home/httpd/cgi-bin/"
1.214     raeburn    43: <IfModule mod_dav_fs.c>
                     44:     DAVLockDB /home/httpd/webdav/DAVLock
                     45: </IfModule>
1.1       harris41   46: 
                     47: # ================================================================= Directories
                     48: 
                     49: # ------------------------------------------------------------- Access Handlers
                     50: 
1.12      www        51: PerlTransHandler	Apache::lontrans
1.129     albertel   52: PerlCleanupHandler	Apache::lonacc::cleanup
1.12      www        53: 
1.125     albertel   54: PerlAuthenHandler Apache::checkauthen
                     55: PerlSetVar lonOtherAuthen no
                     56: 
1.212     raeburn    57: <IfModule mod_shib>
                     58:     PerlAuthenHandler Apache::lonshibauth
                     59:     PerlSetVar lonOtherAuthen yes
                     60:     PerlSetVar lonOtherAuthenType Shibboleth
                     61: </IfModule>
                     62: 
1.45      albertel   63: #PerlWarn On
1.183     raeburn    64: <LocationMatch "^/+res/adm/pages/[^/]+\.(gif|png)$">
                     65: PerlAuthenHandler	'sub { return OK }' 
                     66: </LocationMatch>
                     67: 
1.191     droeschl   68: # Send proper expires header to avoid unnecessary HTTP request for static content
1.192     droeschl   69: <LocationMatch "^(/adm/lonIcons|/adm/jQuery|/adm/jsMath|/res/adm/pages|/ckeditor)">
1.191     droeschl   70:         ExpiresActive On
                     71:         ExpiresDefault "access plus 12 hours"
1.199     raeburn    72:         Header set Cache-Control "public, no-transform"
1.191     droeschl   73: </LocationMatch>
                     74: 
1.21      www        75: <LocationMatch "^/+res.*">
1.125     albertel   76: 
1.139     albertel   77: AuthType LONCAPA
1.125     albertel   78: Require valid-user
                     79: 
                     80: PerlAccessHandler      Apache::publiccheck
                     81: PerlAuthzHandler       Apache::lonacc
1.1       harris41   82: PerlHeaderParserHandler Apache::lonrep
                     83: ErrorDocument     403 /adm/login
                     84: ErrorDocument     404 /adm/notfound.html
                     85: ErrorDocument     406 /adm/roles
1.74      www        86: ErrorDocument	  500 /adm/errorhandler
                     87: </LocationMatch>
                     88: 
1.125     albertel   89: 
                     90: <LocationMatch "/.*">
                     91: </LocationMatch>
                     92: 
                     93: 
1.74      www        94: <LocationMatch "^/+enc.*">
1.115     raeburn    95: SetHandler perl-script
1.127     albertel   96: PerlHandler       Apache::lonencurl
1.74      www        97: ErrorDocument     403 /adm/login
1.80      albertel   98: ErrorDocument     404 /adm/notfound.html
                     99: ErrorDocument     406 /adm/roles
1.11      www       100: ErrorDocument	  500 /adm/errorhandler
                    101: </LocationMatch>
                    102: 
1.84      banghart  103: <Location /adm/portfolio>
1.139     albertel  104: AuthType LONCAPA
1.125     albertel  105: Require valid-user
                    106: PerlAuthzHandler Apache::lonacc
1.123     raeburn   107: SetHandler perl-script
1.126     albertel  108: PerlHandler Apache::portfolio
1.123     raeburn   109: </Location>
                    110: 
1.136     raeburn   111: <Location /adm/coursegrp_portfolio>
1.139     albertel  112: AuthType LONCAPA
1.136     raeburn   113: Require valid-user
                    114: PerlAuthzHandler Apache::lonacc
                    115: SetHandler perl-script
                    116: PerlHandler Apache::portfolio
                    117: </Location>
                    118: 
1.195     raeburn   119: <Location /adm/pdfupload>
                    120: AuthType LONCAPA
                    121: Require valid-user
                    122: PerlAuthzHandler Apache::lonacc
                    123: SetHandler perl-script
                    124: PerlHandler             Apache::lonpdfupload
                    125: ErrorDocument     403 /adm/login
                    126: ErrorDocument     404 /adm/notfound.html
                    127: ErrorDocument     406 /adm/roles
                    128: ErrorDocument     500 /adm/errorhandler
                    129: </Location>
                    130: 
1.21      www       131: <LocationMatch "^/+userfiles.*">
1.11      www       132: PerlAccessHandler       Apache::lontokacc
1.58      www       133: PerlCleanupHandler	Apache::lontokacc::removefile
1.129     albertel  134: PerlCleanupHandler	Apache::lonacc::cleanup
1.12      www       135: </LocationMatch>
                    136: 
1.76      albertel  137: <LocationMatch "^/+uploaded.*">
1.139     albertel  138: AuthType LONCAPA
1.125     albertel  139: Require valid-user
                    140: PerlAuthzHandler	Apache::lonacc
1.178     raeburn   141: PerlHandler 		Apache::londatecheck
                    142: PerlHandler  		Apache::lonipcheck
1.75      raeburn   143: PerlHeaderParserHandler Apache::lonuploadrep
1.80      albertel  144: ErrorDocument     403 /adm/login
1.16      www       145: ErrorDocument     404 /adm/notfound.html
1.80      albertel  146: ErrorDocument     406 /adm/roles
1.16      www       147: ErrorDocument	  500 /adm/errorhandler
1.75      raeburn   148: </LocationMatch>
                    149: 
1.106     albertel  150: <LocationMatch "^/+editupload.*">
1.139     albertel  151: AuthType LONCAPA
1.125     albertel  152: Require valid-user
                    153: PerlAuthzHandler	Apache::lonacc
1.106     albertel  154: ErrorDocument     403 /adm/login
                    155: ErrorDocument     406 /adm/roles
                    156: ErrorDocument	  500 /adm/errorhandler
                    157: </LocationMatch>
                    158: 
1.98      albertel  159: <LocationMatch "^/+uploaded/.*/.*/internal/.*">
1.150     albertel  160: PerlAuthenHandler	Apache::lonuploadedacc
                    161: PerlAuthzHandler	Apache::lonuploadedacc::skip_phase
1.151     albertel  162: PerlAccessHandler	Apache::lonuploadedacc::skip_phase
1.98      albertel  163: </LocationMatch>
                    164: 
1.140     raeburn   165: <LocationMatch "^/+uploaded/.*/.*/portfolio/.*">
                    166: PerlAccessHandler      Apache::publiccheck
1.141     albertel  167: AuthType LONCAPA
1.140     raeburn   168: Require valid-user
                    169: PerlAuthzHandler       Apache::lonacc
                    170: </LocationMatch>
                    171: 
                    172: <LocationMatch "^/+uploaded/.*/.*/groups/.*/portfolio/.*">
                    173: PerlAccessHandler      Apache::publiccheck
1.141     albertel  174: AuthType LONCAPA
1.140     raeburn   175: Require valid-user
                    176: PerlAuthzHandler       Apache::lonacc
                    177: </LocationMatch>
1.98      albertel  178: 
1.76      albertel  179: <LocationMatch "^/+uploaded/.*\.page$">
1.75      raeburn   180: SetHandler perl-script
1.126     albertel  181: PerlHandler Apache::lonpage
1.75      raeburn   182: </LocationMatch>
                    183: 
1.76      albertel  184: <LocationMatch "^/+uploaded/.*\.sequence$">
1.75      raeburn   185: SetHandler perl-script
1.126     albertel  186: PerlHandler Apache::lonsequence
1.16      www       187: </LocationMatch>
                    188: 
1.44      www       189: <LocationMatch "^/+public/.*/syllabus$">
1.132     albertel  190: PerlAccessHandler      Apache::publiccheck
1.139     albertel  191: AuthType LONCAPA
1.125     albertel  192: Require valid-user
                    193: PerlAuthzHandler	Apache::lonacc
1.16      www       194: SetHandler              perl-script
1.126     albertel  195: PerlHandler             Apache::lonsyllabus
1.16      www       196: ErrorDocument     404 /adm/notfound.html
                    197: ErrorDocument	  500 /adm/errorhandler
                    198: </LocationMatch>
                    199: 
1.122     www       200: <LocationMatch "^/+(public|adm)/.*(\.rss|_rss\.html)$">
1.132     albertel  201: PerlAccessHandler      Apache::publiccheck
1.139     albertel  202: AuthType LONCAPA
1.125     albertel  203: Require valid-user
                    204: PerlAuthzHandler	Apache::lonacc
1.121     www       205: SetHandler              perl-script
1.126     albertel  206: PerlHandler             Apache::lonrss
1.121     www       207: ErrorDocument     404 /adm/notfound.html
                    208: ErrorDocument	  500 /adm/errorhandler
                    209: </LocationMatch>
                    210: 
1.44      www       211: <LocationMatch "^/adm/.*/aboutme$">
1.139     albertel  212: AuthType LONCAPA
1.125     albertel  213: Require valid-user
                    214: PerlAuthzHandler	Apache::lonacc
1.16      www       215: SetHandler              perl-script
1.126     albertel  216: PerlHandler             Apache::lonaboutme
1.19      www       217: ErrorDocument     404 /adm/notfound.html
1.54      www       218: ErrorDocument     406 /adm/notinit.html
1.19      www       219: ErrorDocument	  500 /adm/errorhandler
                    220: </LocationMatch>
                    221: 
1.153     albertel  222: <LocationMatch "^/adm/.*/aboutme/portfolio$">
                    223: PerlAccessHandler       Apache::publiccheck
                    224: AuthType LONCAPA
                    225: Require valid-user
                    226: PerlAuthzHandler	Apache::lonacc
                    227: SetHandler              perl-script
                    228: PerlHandler             Apache::lonaboutme
                    229: ErrorDocument     404 /adm/notfound.html
                    230: ErrorDocument     406 /adm/notinit.html
                    231: ErrorDocument	  500 /adm/errorhandler
                    232: </LocationMatch>
                    233: 
1.44      www       234: <LocationMatch "^/adm/.*/smppg$">
1.139     albertel  235: AuthType LONCAPA
1.125     albertel  236: Require valid-user
                    237: PerlAuthzHandler	Apache::lonacc
1.19      www       238: SetHandler              perl-script
1.172     www       239: PerlHandler             Apache::londatecheck
1.178     raeburn   240: PerlHandler		Apache::lonipcheck
1.126     albertel  241: PerlHandler             Apache::lonsimplepage
1.19      www       242: ErrorDocument     404 /adm/notfound.html
1.54      www       243: ErrorDocument     406 /adm/notinit.html
1.19      www       244: ErrorDocument	  500 /adm/errorhandler
                    245: </LocationMatch>
                    246: 
1.44      www       247: <LocationMatch "^/adm/.*/bulletinboard$">
1.139     albertel  248: AuthType LONCAPA
1.125     albertel  249: Require valid-user
                    250: PerlAuthzHandler	Apache::lonacc
1.19      www       251: SetHandler              perl-script
1.126     albertel  252: PerlHandler             Apache::londatecheck
1.178     raeburn   253: PerlHandler		Apache::lonipcheck
1.126     albertel  254: PerlHandler             Apache::lonbulletin
1.55      www       255: ErrorDocument     404 /adm/notfound.html
                    256: ErrorDocument     406 /adm/notinit.html
                    257: ErrorDocument	  500 /adm/errorhandler
                    258: </LocationMatch>
                    259: 
                    260: <LocationMatch "\.problem/smpedit$">
1.139     albertel  261: AuthType LONCAPA
1.125     albertel  262: Require valid-user
                    263: PerlAuthzHandler	Apache::lonacc
1.55      www       264: SetHandler              perl-script
1.126     albertel  265: PerlHandler             Apache::lonsimpleproblemedit
1.11      www       266: ErrorDocument     404 /adm/notfound.html
1.54      www       267: ErrorDocument     406 /adm/notinit.html
1.1       harris41  268: ErrorDocument	  500 /adm/errorhandler
                    269: </LocationMatch>
                    270: 
1.205     www       271: <LocationMatch "^/+priv/.*">
1.139     albertel  272: AuthType LONCAPA
1.131     albertel  273: Require valid-user
1.125     albertel  274: PerlAuthzHandler Apache::loncacc
1.1       harris41  275: SetHandler        perl-script
                    276: ErrorDocument     403 /adm/login
                    277: ErrorDocument     404 /adm/notfound.html
1.18      www       278: ErrorDocument     406 /adm/unauthorized
1.1       harris41  279: ErrorDocument	  500 /adm/errorhandler
                    280: </LocationMatch>
                    281: 
1.210     raeburn   282: <LocationMatch "^/+webdav/[\w\-]+/[\w\-]+/">
1.214     raeburn   283:   <IfModule mod_dav.c>
                    284:     <IfModule mod_ssl.c>
                    285:       AuthType Basic
                    286:       AuthName "LONCAPA username,domain"
                    287:       Require valid-user
                    288:       SSLRequireSSL
                    289:       PerlAuthenHandler Apache::lonwebdavauth
                    290:       PerlAuthzHandler Apache::lonwebdavacc
                    291:       Dav On
                    292:       DirectoryIndex index.missing
                    293:       Options Indexes FollowSymLinks
                    294:       ErrorDocument     403 /adm/nowebdav.html
                    295:       ErrorDocument     404 /adm/notfound.html
                    296:       ErrorDocument     406 /adm/unauthorized
                    297:       ErrorDocument     500 /adm/errorhandler
                    298:     </IfModule>
                    299:     <IfModule !mod_ssl.c>
                    300:       <IfModule mod_rewrite.c>
                    301:         RewriteEngine on
                    302:         RewriteRule .* http://%{HTTP_HOST}/adm/nowebdav.html [L]
                    303:       </IfModule>
                    304:     </IfModule>
1.211     raeburn   305:   </IfModule>
1.214     raeburn   306:   <IfModule !mod_dav.c>
1.211     raeburn   307:     <IfModule mod_rewrite.c>
1.214     raeburn   308:       RewriteEngine on
                    309:       RewriteRule .* http://%{HTTP_HOST}/adm/nowebdav.html [L]
1.211     raeburn   310:     </IfModule>
                    311:   </IfModule>
1.210     raeburn   312: </LocationMatch>
                    313: 
1.21      www       314: <LocationMatch "^/+raw.*">
1.1       harris41  315: PerlAccessHandler Apache::lonracc
                    316: </LocationMatch>
                    317: 
1.41      bowersj2  318: <LocationMatch "^/adm/helper/.*\.helper$">
1.139     albertel  319: AuthType LONCAPA
1.125     albertel  320: Require valid-user
1.142     albertel  321: PerlAuthzHandler  Apache::lonacc
1.41      bowersj2  322: SetHandler        perl-script
1.126     albertel  323: PerlHandler       Apache::lonhelper
1.41      bowersj2  324: ErrorDocument     403 /adm/login
                    325: ErrorDocument     404 /adm/notfound.html
                    326: ErrorDocument     406 /adm/unauthorized
                    327: ErrorDocument     500 /adm/errorhandler
                    328: </LocationMatch>
                    329: 
1.23      albertel  330: <LocationMatch "/prtspool">
1.139     albertel  331: AuthType LONCAPA
1.125     albertel  332: Require valid-user
                    333: PerlAuthzHandler Apache::lonacc
1.23      albertel  334: ErrorDocument     403 /adm/login
                    335: ErrorDocument     404 /adm/notfound.html
                    336: ErrorDocument     406 /adm/roles
1.99      www       337: ErrorDocument     413 /adm/overloaded.txt
1.23      albertel  338: ErrorDocument	  500 /adm/errorhandler
                    339: </LocationMatch>
1.167     banghart  340: 
                    341: <LocationMatch "/zipspool">
                    342: AuthType LONCAPA
                    343: Require valid-user
                    344: PerlAuthzHandler Apache::lonacc
                    345: ErrorDocument     403 /adm/login
                    346: ErrorDocument     404 /adm/notfound.html
                    347: ErrorDocument     406 /adm/roles
                    348: ErrorDocument     413 /adm/overloaded.txt
                    349: ErrorDocument	  500 /adm/errorhandler
                    350: </LocationMatch>
1.1       harris41  351: # ------------------------------------------------------------------------- RAT
                    352: 
1.205     www       353: <LocationMatch "^/+priv/.*\.sequence$">
1.1       harris41  354: SetHandler perl-script
1.126     albertel  355: PerlHandler Apache::lonratedt
1.1       harris41  356: </LocationMatch>
                    357: 
1.205     www       358: <LocationMatch "^/+priv/.*\.page$">
1.1       harris41  359: SetHandler perl-script
1.126     albertel  360: PerlHandler Apache::lonratedt
1.1       harris41  361: </LocationMatch>
                    362: 
1.205     www       363: <LocationMatch "^/+priv/.*\/ratserver$">
1.1       harris41  364: SetHandler perl-script
1.126     albertel  365: PerlHandler Apache::lonratsrv
1.1       harris41  366: </LocationMatch>
                    367: 
1.205     www       368: <LocationMatch "^/+priv/.*\/adveditmenu$">
1.100     raeburn   369: SetHandler perl-script
1.126     albertel  370: PerlHandler Apache::lonratmenu
1.100     raeburn   371: </LocationMatch>
                    372: 
1.1       harris41  373: <Location /adm/ratparms>
1.139     albertel  374: AuthType LONCAPA
1.125     albertel  375: Require valid-user
                    376: PerlAuthzHandler       Apache::lonacc
1.1       harris41  377: SetHandler perl-script
1.126     albertel  378: PerlHandler Apache::lonratparms
1.1       harris41  379: ErrorDocument     403 /adm/login
                    380: ErrorDocument	  500 /adm/errorhandler
                    381: </Location>
                    382: 
                    383: # --------------------------------------------- Resource Space Content Handlers
                    384: 
1.64      albertel  385: <LocationMatch "^/+res.*/$">
1.1       harris41  386: SetHandler perl-script
1.126     albertel  387: PerlHandler Apache::lonindexer
1.29      www       388: PerlCleanupHandler Apache::lonindexer::cleanup
1.129     albertel  389: PerlCleanupHandler	Apache::lonacc::cleanup
1.1       harris41  390: </LocationMatch>
                    391: 
1.190     raeburn   392: <LocationMatch "^/+res.*\.tex$">
1.1       harris41  393: SetHandler perl-script
1.126     albertel  394: PerlHandler Apache::lontex
1.1       harris41  395: </LocationMatch>
                    396: 
1.71      www       397: <LocationMatch "^/+res/.*\.page$">
1.1       harris41  398: SetHandler perl-script
1.126     albertel  399: PerlHandler Apache::lonpage
1.1       harris41  400: </LocationMatch>
                    401: 
1.71      www       402: <LocationMatch "^/+res/.*\.sequence$">
1.1       harris41  403: SetHandler perl-script
1.126     albertel  404: PerlHandler Apache::lonsequence
1.1       harris41  405: </LocationMatch>
                    406: 
1.205     www       407: <LocationMatch "^/+(res|priv|public|uploaded|editupload|adm)/.*\.meta$">
1.132     albertel  408: PerlAccessHandler      Apache::publiccheck
1.1       harris41  409: SetHandler perl-script
1.126     albertel  410: PerlHandler Apache::lonmeta
1.99      www       411: ErrorDocument     413 /adm/overloaded.txt
1.39      www       412: </LocationMatch>
                    413: 
1.71      www       414: <LocationMatch "^/adm/bombs/">
1.139     albertel  415: AuthType LONCAPA
1.125     albertel  416: Require valid-user
1.71      www       417: SetHandler perl-script
1.125     albertel  418: PerlAuthzHandler Apache::lonacc
1.126     albertel  419: PerlHandler Apache::lonmeta
1.71      www       420: </LocationMatch>
                    421: 
                    422: 
                    423: 
1.205     www       424: <LocationMatch "^/+(res|priv)/.*\.rights$">
1.39      www       425: SetHandler perl-script
1.126     albertel  426: PerlHandler Apache::lonrights
1.1       harris41  427: </LocationMatch>
                    428: 
1.205     www       429: <LocationMatch "^/+(uploaded|res|priv)/.*\.(xml|html|htm|xhtml|xhtm|sty)$">
1.1       harris41  430: SetHandler perl-script
1.126     albertel  431: PerlHandler Apache::londatecheck
1.178     raeburn   432: PerlHandler Apache::lonipcheck
1.126     albertel  433: PerlHandler Apache::lonxml
1.1       harris41  434: </LocationMatch>
                    435: 
1.205     www       436: <LocationMatch "^/+(res|priv).*\.(task|problem|exam|quiz|assess|survey|form|library)$">
1.1       harris41  437: SetHandler perl-script
1.126     albertel  438: PerlHandler Apache::lonhomework
1.1       harris41  439: </LocationMatch>
                    440: 
1.205     www       441: <LocationMatch "^/+priv/.*\.(js|css|txt|tex)$">
1.185     raeburn   442: SetHandler perl-script
                    443: PerlHandler Apache::lonxml
                    444: </LocationMatch>
                    445: 
1.1       harris41  446: <LocationMatch "^/adm/wrapper/">
1.139     albertel  447: AuthType LONCAPA
1.125     albertel  448: Require valid-user
                    449: PerlAuthzHandler       Apache::lonacc
1.172     www       450: PerlHandler Apache::londatecheck
1.178     raeburn   451: PerlHandler Apache::lonipcheck
1.1       harris41  452: SetHandler perl-script
1.126     albertel  453: PerlHandler Apache::lonwrapper
1.66      www       454: ErrorDocument     403 /adm/login
                    455: ErrorDocument	  500 /adm/errorhandler
                    456: </LocationMatch>
                    457: 
1.113     www       458: <LocationMatch "^/adm/source">
1.139     albertel  459: AuthType LONCAPA
1.125     albertel  460: Require valid-user
                    461: PerlAuthzHandler       Apache::lonacc
1.83      taceyjo1  462: SetHandler perl-script
1.126     albertel  463: PerlHandler Apache::lonsource
1.83      taceyjo1  464: ErrorDocument     403 /adm/login
1.85      www       465: ErrorDocument     406 /adm/roles
1.83      taceyjo1  466: ErrorDocument	  500 /adm/errorhandler
                    467: </LocationMatch>
                    468: 
                    469: 
1.66      www       470: <LocationMatch "^/adm/localize/">
1.139     albertel  471: AuthType LONCAPA
1.125     albertel  472: Require valid-user
                    473: PerlAuthzHandler       Apache::lonacc
1.66      www       474: SetHandler perl-script
1.126     albertel  475: PerlHandler Apache::lonlocalize
1.1       harris41  476: ErrorDocument     403 /adm/login
                    477: ErrorDocument	  500 /adm/errorhandler
                    478: </LocationMatch>
                    479: 
                    480: # -------------------------------------------------------------- Admin Programs
1.24      albertel  481: 
                    482: <Location /adm/randomlabel.png>
1.139     albertel  483: AuthType LONCAPA
1.125     albertel  484: Require valid-user
                    485: PerlAuthzHandler       Apache::lonacc
1.24      albertel  486: SetHandler perl-script
1.126     albertel  487: PerlHandler Apache::randomlylabel
1.69      albertel  488: ErrorDocument     403 /adm/login
                    489: ErrorDocument	  500 /adm/errorhandler
                    490: </Location>
                    491: 
                    492: <Location /adm/imagechoice>
1.139     albertel  493: AuthType LONCAPA
1.125     albertel  494: Require valid-user
                    495: PerlAuthzHandler       Apache::lonacc
1.69      albertel  496: SetHandler perl-script
1.126     albertel  497: PerlHandler Apache::imagechoice
1.24      albertel  498: ErrorDocument     403 /adm/login
                    499: ErrorDocument	  500 /adm/errorhandler
                    500: </Location>
1.1       harris41  501: 
1.200     www       502: <Location /adm/searchcourse>
                    503: AuthType LONCAPA
                    504: Require valid-user
                    505: PerlAuthzHandler       Apache::lonacc
                    506: SetHandler perl-script
                    507: PerlHandler Apache::lonsearchcourse
                    508: ErrorDocument     403 /adm/login
                    509: ErrorDocument     500 /adm/errorhandler
                    510: </Location>
                    511: 
1.201     www       512: <Location /adm/indexcourse>
                    513: AuthType LONCAPA
                    514: Require valid-user
                    515: PerlAuthzHandler       Apache::lonacc
                    516: SetHandler perl-script
                    517: PerlHandler Apache::lonindexcourse
                    518: ErrorDocument     403 /adm/login
                    519: ErrorDocument     500 /adm/errorhandler
                    520: </Location>
1.200     www       521: 
1.1       harris41  522: <Location /adm/statistics>
1.139     albertel  523: AuthType LONCAPA
1.125     albertel  524: Require valid-user
                    525: PerlAuthzHandler       Apache::lonacc
1.1       harris41  526: SetHandler perl-script
1.126     albertel  527: PerlHandler Apache::lonstatistics
1.1       harris41  528: ErrorDocument     403 /adm/login
1.20      www       529: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41  530: ErrorDocument	  500 /adm/errorhandler
                    531: </Location>
                    532: 
1.92      matthew   533: <Location /adm/trackstudent>
1.139     albertel  534: AuthType LONCAPA
1.125     albertel  535: Require valid-user
                    536: PerlAuthzHandler       Apache::lonacc
1.92      matthew   537: SetHandler perl-script
1.126     albertel  538: PerlHandler Apache::lontrackstudent
1.92      matthew   539: ErrorDocument     403 /adm/login
                    540: ErrorDocument     413 /adm/overloaded.txt
                    541: ErrorDocument	  500 /adm/errorhandler
                    542: </Location>
                    543: 
1.1       harris41  544: <Location /adm/roles>
1.139     albertel  545: AuthType LONCAPA
1.125     albertel  546: Require valid-user
                    547: PerlAuthzHandler       Apache::lonacc
1.1       harris41  548: SetHandler perl-script
1.126     albertel  549: PerlHandler Apache::lonroles
1.33      www       550: ErrorDocument     403 /adm/login
1.174     www       551: ErrorDocument     409 /adm/preferences?action=lockwarning
1.33      www       552: ErrorDocument	  500 /adm/errorhandler
                    553: </Location>
                    554: 
                    555: <Location /adm/menu>
1.139     albertel  556: AuthType LONCAPA
1.125     albertel  557: Require valid-user
                    558: PerlAuthzHandler       Apache::lonacc
1.33      www       559: SetHandler perl-script
1.128     albertel  560: PerlHandler Apache::lonmainmenu
1.42      www       561: ErrorDocument     403 /adm/login
                    562: ErrorDocument	  500 /adm/errorhandler
                    563: </Location>
                    564: 
1.203     www       565: <Location /adm/pickresource>
                    566: AuthType LONCAPA
                    567: Require valid-user
                    568: PerlAuthzHandler       Apache::lonacc
                    569: SetHandler perl-script
                    570: PerlHandler Apache::lonpickresource
                    571: ErrorDocument     403 /adm/login
                    572: ErrorDocument     500 /adm/errorhandler
                    573: </Location>
                    574: 
1.176     raeburn   575: <Location /adm/pickauthor>
                    576: AuthType LONCAPA
                    577: Require valid-user
                    578: PerlAuthzHandler       Apache::lonacc
                    579: SetHandler perl-script
                    580: PerlHandler Apache::lonpickauthor
                    581: ErrorDocument     403 /adm/login
                    582: ErrorDocument     500 /adm/errorhandler
                    583: </Location>
                    584: 
1.27      www       585: <Location /adm/pickstudent>
1.139     albertel  586: AuthType LONCAPA
1.125     albertel  587: Require valid-user
                    588: PerlAuthzHandler       Apache::lonacc
1.27      www       589: SetHandler perl-script
1.126     albertel  590: PerlHandler Apache::lonpickstudent
1.40      www       591: ErrorDocument     403 /adm/login
                    592: ErrorDocument	  500 /adm/errorhandler
                    593: </Location>
                    594: 
1.187     raeburn   595: <Location /adm/pickuser>
                    596: AuthType LONCAPA
                    597: Require valid-user
                    598: PerlAuthzHandler       Apache::lonacc
                    599: SetHandler perl-script
                    600: PerlHandler Apache::lonpickuser
                    601: ErrorDocument     403 /adm/login
                    602: ErrorDocument     406 /adm/roles
                    603: ErrorDocument     500 /adm/errorhandler
                    604: </Location>
                    605: 
1.40      www       606: <Location /adm/pickcourse>
1.139     albertel  607: AuthType LONCAPA
1.125     albertel  608: Require valid-user
                    609: PerlAuthzHandler       Apache::lonacc
1.40      www       610: SetHandler perl-script
1.126     albertel  611: PerlHandler Apache::lonpickcourse
1.77      albertel  612: ErrorDocument     403 /adm/login
                    613: ErrorDocument	  500 /adm/errorhandler
                    614: </Location>
                    615: 
                    616: <Location /adm/pickcode>
1.139     albertel  617: AuthType LONCAPA
1.125     albertel  618: Require valid-user
                    619: PerlAuthzHandler       Apache::lonacc
1.77      albertel  620: SetHandler perl-script
1.126     albertel  621: PerlHandler Apache::lonpickcode
1.1       harris41  622: ErrorDocument     403 /adm/login
                    623: ErrorDocument	  500 /adm/errorhandler
                    624: </Location>
                    625: 
1.215     raeburn   626: <Location /adm/dependencies>
                    627: AuthType LONCAPA
                    628: Require valid-user
                    629: PerlAuthzHandler       Apache::lonacc
                    630: SetHandler perl-script
                    631: PerlHandler Apache::londependencies
                    632: ErrorDocument     403 /adm/login
                    633: ErrorDocument     406 /adm/roles
                    634: ErrorDocument     500 /adm/errorhandler
                    635: </Location>
                    636: 
1.1       harris41  637: <Location /adm/login>
                    638: SetHandler perl-script
1.126     albertel  639: PerlHandler Apache::lonlogin
1.1       harris41  640: </Location>
                    641: 
1.148     raeburn   642: <Location /adm/restrictedaccess>
                    643: PerlAccessHandler      Apache::publiccheck
                    644: AuthType LONCAPA
1.152     albertel  645: Require valid-user
1.148     raeburn   646: SetHandler perl-script
1.149     albertel  647: PerlAuthzHandler       Apache::lonacc
1.148     raeburn   648: PerlHandler Apache::restrictedaccess
1.154     albertel  649: ErrorDocument	  500 /adm/errorhandler
1.148     raeburn   650: </Location>
                    651: 
1.162     raeburn   652: <Location /adm/blockedaccess>
                    653: PerlAccessHandler      Apache::publiccheck
                    654: AuthType LONCAPA
                    655: Require valid-user
                    656: SetHandler perl-script
                    657: PerlAuthzHandler       Apache::lonacc
                    658: PerlHandler Apache::blockedaccess
                    659: ErrorDocument     500 /adm/errorhandler
                    660: </Location>
                    661: 
1.1       harris41  662: <Location /adm/logout>
1.139     albertel  663: AuthType LONCAPA
1.125     albertel  664: Require valid-user
                    665: PerlAuthzHandler       Apache::lonacc
1.1       harris41  666: SetHandler perl-script
1.126     albertel  667: PerlHandler Apache::lonlogout
1.1       harris41  668: ErrorDocument     403 /adm/login
1.175     www       669: ErrorDocument     409 /adm/preferences?action=lockwarning
1.154     albertel  670: ErrorDocument	  500 /adm/errorhandler
1.1       harris41  671: </Location>
                    672: 
1.117     albertel  673: <Location /adm/switchserver>
1.139     albertel  674: AuthType LONCAPA
1.125     albertel  675: Require valid-user
                    676: PerlAuthzHandler       Apache::lonacc
1.117     albertel  677: SetHandler perl-script
1.126     albertel  678: PerlHandler Apache::switchserver
1.117     albertel  679: ErrorDocument     403 /adm/login
1.154     albertel  680: ErrorDocument	  500 /adm/errorhandler
1.117     albertel  681: </Location>
                    682: 
1.1       harris41  683: <Location /adm/authenticate>
                    684: SetHandler perl-script
1.126     albertel  685: PerlHandler Apache::lonauth
1.1       harris41  686: </Location>
                    687: 
1.117     albertel  688: <Location /adm/migrateuser>
                    689: SetHandler perl-script
1.126     albertel  690: PerlHandler Apache::migrateuser
1.117     albertel  691: </Location>
                    692: 
1.212     raeburn   693: <Location /adm/sso>
                    694:   <IfModule mod_shib>
                    695:     AuthType shibboleth
                    696:     ShibUseEnvironment On
                    697:     ShibRequestSetting requireSession 1
                    698:     ShibRequestSetting redirectToSSL 443
                    699:     require valid-user
                    700:     PerlAuthzHandler       Apache::lonshibacc
                    701:     PerlAuthzHandler       Apache::lonacc
                    702:   </IfModule>
1.213     raeburn   703:   <IfModule !mod_shib>
                    704:     PerlTypeHandler        Apache::lonnoshib
                    705:   </IfModule>
1.212     raeburn   706: </Location>
                    707: 
1.1       harris41  708: <Location /adm/annotations>
1.139     albertel  709: AuthType LONCAPA
1.125     albertel  710: Require valid-user
                    711: PerlAuthzHandler       Apache::lonacc
1.1       harris41  712: SetHandler perl-script
1.126     albertel  713: PerlHandler Apache::admannotations
1.1       harris41  714: ErrorDocument     403 /adm/login
                    715: ErrorDocument	  500 /adm/errorhandler
                    716: </Location>
                    717: 
1.91      www       718: <Location /adm/spellcheck>
1.139     albertel  719: AuthType LONCAPA
1.125     albertel  720: Require valid-user
                    721: PerlAuthzHandler       Apache::lonacc
1.91      www       722: SetHandler perl-script
1.126     albertel  723: PerlHandler Apache::lonspeller
1.91      www       724: ErrorDocument     403 /adm/login
                    725: ErrorDocument	  500 /adm/errorhandler
                    726: </Location>
                    727: 
1.1       harris41  728: <Location /adm/flip>
1.139     albertel  729: AuthType LONCAPA
1.125     albertel  730: Require valid-user
                    731: PerlAuthzHandler       Apache::lonacc
1.1       harris41  732: SetHandler perl-script
1.126     albertel  733: PerlHandler Apache::lonpageflip
1.30      www       734: PerlCleanupHandler Apache::lonpageflip::cleanup
1.129     albertel  735: PerlCleanupHandler	Apache::lonacc::cleanup
1.1       harris41  736: ErrorDocument     406 /adm/roles
                    737: ErrorDocument     403 /adm/login
                    738: ErrorDocument	  500 /adm/errorhandler
                    739: </Location>
                    740: 
                    741: <Location /adm/ambiguous>
1.139     albertel  742: AuthType LONCAPA
1.125     albertel  743: Require valid-user
                    744: PerlAuthzHandler       Apache::lonacc
1.1       harris41  745: SetHandler perl-script
1.126     albertel  746: PerlHandler Apache::lonambiguous
1.30      www       747: PerlCleanupHandler Apache::lonambiguous::cleanup
1.129     albertel  748: PerlCleanupHandler	Apache::lonacc::cleanup
1.1       harris41  749: ErrorDocument     403 /adm/login
                    750: ErrorDocument	  500 /adm/errorhandler
                    751: </Location>
                    752: 
                    753: <Location /adm/email>
1.139     albertel  754: AuthType LONCAPA
1.125     albertel  755: Require valid-user
                    756: PerlAuthzHandler       Apache::lonacc
1.1       harris41  757: SetHandler perl-script
1.130     albertel  758: PerlHandler Apache::lonmsgdisplay
1.1       harris41  759: ErrorDocument     403 /adm/login
                    760: ErrorDocument	  500 /adm/errorhandler
                    761: </Location>
                    762: 
1.116     raeburn   763: <Location /adm/notify>
1.139     albertel  764: AuthType LONCAPA
1.125     albertel  765: Require valid-user
                    766: PerlAuthzHandler       Apache::lonacc
1.116     raeburn   767: SetHandler perl-script
1.126     albertel  768: PerlHandler Apache::lonnotify
1.116     raeburn   769: ErrorDocument     403 /adm/login
                    770: ErrorDocument     500 /adm/errorhandler
                    771: </Location>
                    772: 
1.1       harris41  773: <Location /adm/parmset>
1.139     albertel  774: AuthType LONCAPA
1.125     albertel  775: Require valid-user
                    776: PerlAuthzHandler       Apache::lonacc
1.1       harris41  777: SetHandler perl-script
1.126     albertel  778: PerlHandler Apache::lonparmset
1.31      bowersj2  779: ErrorDocument     403 /adm/login
                    780: ErrorDocument     406 /adm/roles
                    781: ErrorDocument	  500 /adm/errorhandler
                    782: </Location>
                    783: 
1.185     raeburn   784: <Location /adm/courseprefs>
                    785: AuthType LONCAPA
                    786: Require valid-user
                    787: PerlAuthzHandler       Apache::lonacc
                    788: SetHandler perl-script
                    789: PerlHandler Apache::courseprefs
                    790: ErrorDocument     403 /adm/login
                    791: ErrorDocument     406 /adm/roles
                    792: ErrorDocument     500 /adm/errorhandler
                    793: </Location>
                    794: 
1.110     albertel  795: <Location /adm/slotrequest>
1.139     albertel  796: AuthType LONCAPA
1.125     albertel  797: Require valid-user
                    798: PerlAuthzHandler       Apache::lonacc
1.110     albertel  799: SetHandler perl-script
1.126     albertel  800: PerlHandler Apache::slotrequest
1.110     albertel  801: ErrorDocument     403 /adm/login
                    802: ErrorDocument     406 /adm/roles
                    803: ErrorDocument	  500 /adm/errorhandler
                    804: </Location>
                    805: 
1.31      bowersj2  806: <Location /adm/wizard>
1.139     albertel  807: AuthType LONCAPA
1.125     albertel  808: Require valid-user
                    809: PerlAuthzHandler       Apache::lonacc
1.31      bowersj2  810: SetHandler perl-script
1.126     albertel  811: PerlHandler Apache::lonwizard
1.1       harris41  812: ErrorDocument     403 /adm/login
                    813: ErrorDocument     406 /adm/roles
                    814: ErrorDocument	  500 /adm/errorhandler
                    815: </Location>
                    816: 
                    817: <Location /adm/grades>
1.139     albertel  818: AuthType LONCAPA
1.125     albertel  819: Require valid-user
                    820: PerlAuthzHandler       Apache::lonacc
1.1       harris41  821: SetHandler perl-script
1.126     albertel  822: PerlHandler Apache::grades
1.1       harris41  823: ErrorDocument     403 /adm/login
                    824: ErrorDocument     406 /adm/roles
                    825: ErrorDocument	  500 /adm/errorhandler
                    826: </Location>
                    827: 
1.187     raeburn   828: <Location /adm/requestcourse>
                    829: AuthType LONCAPA
                    830: Require valid-user
                    831: PerlAuthzHandler       Apache::lonacc
                    832: SetHandler perl-script
                    833: PerlHandler Apache::lonrequestcourse
                    834: ErrorDocument     403 /adm/login
                    835: ErrorDocument     406 /adm/roles
                    836: ErrorDocument     500 /adm/errorhandler
                    837: </Location>
                    838: 
1.1       harris41  839: <Location /adm/createcourse>
1.139     albertel  840: AuthType LONCAPA
1.125     albertel  841: Require valid-user
                    842: PerlAuthzHandler       Apache::lonacc
1.1       harris41  843: SetHandler perl-script
1.126     albertel  844: PerlHandler Apache::loncreatecourse
1.1       harris41  845: ErrorDocument     403 /adm/login
                    846: ErrorDocument     406 /adm/roles
                    847: ErrorDocument	  500 /adm/errorhandler
1.67      raeburn   848: </Location>
                    849: 
                    850: <Location /adm/modifycourse>
1.139     albertel  851: AuthType LONCAPA
1.125     albertel  852: Require valid-user
                    853: PerlAuthzHandler       Apache::lonacc
1.67      raeburn   854: SetHandler perl-script
1.126     albertel  855: PerlHandler Apache::lonmodifycourse
1.67      raeburn   856: ErrorDocument     403 /adm/login
                    857: ErrorDocument     406 /adm/roles
                    858: ErrorDocument     500 /adm/errorhandler
1.1       harris41  859: </Location>
                    860: 
1.163     raeburn   861: <Location /adm/domainprefs>
                    862: AuthType LONCAPA
                    863: Require valid-user
                    864: PerlAuthzHandler       Apache::lonacc
                    865: SetHandler perl-script
                    866: PerlHandler Apache::domainprefs
                    867: ErrorDocument     403 /adm/login
                    868: ErrorDocument     406 /adm/roles
                    869: ErrorDocument     500 /adm/errorhandler
                    870: </Location>
                    871: 
1.182     raeburn   872: <Location /adm/domainstatus>
                    873: PerlAccessHandler       Apache::lonstatusacc
                    874: SetHandler perl-script
                    875: PerlHandler Apache::domainstatus
                    876: ErrorDocument     403 /adm/login
                    877: ErrorDocument     406 /adm/roles
                    878: ErrorDocument     500 /adm/errorhandler
                    879: </Location>
                    880: 
1.1       harris41  881: <Location /adm/createuser>
1.139     albertel  882: AuthType LONCAPA
1.125     albertel  883: Require valid-user
                    884: PerlAuthzHandler       Apache::lonacc
1.1       harris41  885: SetHandler perl-script
1.126     albertel  886: PerlHandler Apache::loncreateuser
1.1       harris41  887: ErrorDocument     403 /adm/login
                    888: ErrorDocument     406 /adm/roles
                    889: ErrorDocument	  500 /adm/errorhandler
                    890: </Location>
                    891: 
                    892: <Location /adm/publish>
1.139     albertel  893: AuthType LONCAPA
1.125     albertel  894: Require valid-user
                    895: PerlAuthzHandler       Apache::lonacc
1.1       harris41  896: SetHandler perl-script
1.126     albertel  897: PerlHandler Apache::lonpublisher
1.1       harris41  898: ErrorDocument     403 /adm/login
                    899: ErrorDocument     404 /adm/notfound.html
1.18      www       900: ErrorDocument     406 /adm/unauthorized
1.1       harris41  901: ErrorDocument	  500 /adm/errorhandler
                    902: </Location>
                    903: 
1.205     www       904: <LocationMatch "^/+priv/.*/$">
1.139     albertel  905: AuthType LONCAPA
1.131     albertel  906: Require valid-user
1.125     albertel  907: PerlAuthzHandler       Apache::loncacc
1.1       harris41  908: SetHandler perl-script
1.126     albertel  909: PerlHandler Apache::lonpubdir
1.1       harris41  910: ErrorDocument     403 /adm/login
                    911: ErrorDocument     404 /adm/notfound.html
1.18      www       912: ErrorDocument     406 /adm/unauthorized
1.1       harris41  913: ErrorDocument	  500 /adm/errorhandler
                    914: </LocationMatch>
                    915: 
1.18      www       916: <Location /adm/unauthorized>
1.139     albertel  917: AuthType LONCAPA
1.125     albertel  918: Require valid-user
                    919: PerlAuthzHandler       Apache::lonacc
1.18      www       920: SetHandler perl-script
1.126     albertel  921: PerlHandler Apache::lonunauthorized
1.18      www       922: ErrorDocument     403 /adm/login
                    923: ErrorDocument     404 /adm/notfound.html
1.1       harris41  924: ErrorDocument	  500 /adm/errorhandler
                    925: </Location>
                    926: 
                    927: <Location /adm/retrieve>
1.139     albertel  928: AuthType LONCAPA
1.125     albertel  929: Require valid-user
                    930: PerlAuthzHandler       Apache::lonacc
1.1       harris41  931: SetHandler perl-script
1.126     albertel  932: PerlHandler Apache::lonretrieve
1.1       harris41  933: ErrorDocument     403 /adm/login
                    934: ErrorDocument     404 /adm/notfound.html
1.18      www       935: ErrorDocument     406 /adm/unauthorized
1.1       harris41  936: ErrorDocument	  500 /adm/errorhandler
                    937: </Location>
                    938: 
1.109     www       939: <Location /adm/cleanup>
1.139     albertel  940: AuthType LONCAPA
1.125     albertel  941: Require valid-user
                    942: PerlAuthzHandler       Apache::lonacc
1.109     www       943: SetHandler perl-script
1.126     albertel  944: PerlHandler Apache::loncleanup
1.109     www       945: ErrorDocument     403 /adm/login
                    946: ErrorDocument     404 /adm/notfound.html
                    947: ErrorDocument     406 /adm/unauthorized
                    948: ErrorDocument	  500 /adm/errorhandler
                    949: </Location>
                    950: 
1.1       harris41  951: <Location /adm/cfile>
1.139     albertel  952: AuthType LONCAPA
1.125     albertel  953: Require valid-user
                    954: PerlAuthzHandler       Apache::lonacc
1.1       harris41  955: SetHandler perl-script
1.126     albertel  956: PerlHandler Apache::loncfile
1.1       harris41  957: ErrorDocument     403 /adm/login
                    958: ErrorDocument     404 /adm/notfound.html
1.18      www       959: ErrorDocument     406 /adm/unauthorized
1.1       harris41  960: ErrorDocument	  500 /adm/errorhandler
                    961: </Location>
                    962: 
                    963: <Location /adm/diff>
1.139     albertel  964: AuthType LONCAPA
1.125     albertel  965: Require valid-user
                    966: PerlAuthzHandler       Apache::lonacc
1.1       harris41  967: SetHandler perl-script
1.126     albertel  968: PerlHandler Apache::londiff
1.1       harris41  969: ErrorDocument     403 /adm/login
                    970: ErrorDocument     404 /adm/notfound.html
1.18      www       971: ErrorDocument     406 /adm/unauthorized
1.1       harris41  972: ErrorDocument	  500 /adm/errorhandler
                    973: </Location>
                    974: 
                    975: <Location /adm/upload>
1.139     albertel  976: AuthType LONCAPA
1.125     albertel  977: Require valid-user
                    978: PerlAuthzHandler       Apache::lonacc
1.1       harris41  979: SetHandler perl-script
1.126     albertel  980: PerlHandler Apache::lonupload
1.1       harris41  981: ErrorDocument     403 /adm/login
                    982: ErrorDocument     404 /adm/notfound.html
1.18      www       983: ErrorDocument     406 /adm/unauthorized
1.1       harris41  984: ErrorDocument	  500 /adm/errorhandler
1.72      raeburn   985: </Location>
                    986: 
1.73      raeburn   987: <Location /adm/imsimport>
1.139     albertel  988: AuthType LONCAPA
1.125     albertel  989: Require valid-user
                    990: PerlAuthzHandler       Apache::lonacc
1.73      raeburn   991: SetHandler perl-script
1.126     albertel  992: PerlHandler Apache::imsimport
1.73      raeburn   993: ErrorDocument     403 /adm/login
                    994: ErrorDocument     404 /adm/notfound.html
                    995: ErrorDocument     406 /adm/unauthorized
                    996: ErrorDocument     500 /adm/errorhandler
                    997: </Location>
                    998: 
1.72      raeburn   999: <Location /adm/testbank>
1.139     albertel 1000: AuthType LONCAPA
1.125     albertel 1001: Require valid-user
                   1002: PerlAuthzHandler       Apache::lonacc
1.72      raeburn  1003: SetHandler perl-script
1.126     albertel 1004: PerlHandler Apache::testbankimport
1.72      raeburn  1005: ErrorDocument     403 /adm/login
                   1006: ErrorDocument     404 /adm/notfound.html
                   1007: ErrorDocument     406 /adm/unauthorized
                   1008: ErrorDocument     500 /adm/errorhandler
1.1       harris41 1009: </Location>
                   1010: 
                   1011: <Location /adm/assesscalc>
1.139     albertel 1012: AuthType LONCAPA
1.125     albertel 1013: Require valid-user
                   1014: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1015: SetHandler perl-script
1.126     albertel 1016: PerlHandler Apache::lonspreadsheet
1.1       harris41 1017: ErrorDocument     403 /adm/login
                   1018: ErrorDocument     406 /adm/roles
1.20      www      1019: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41 1020: ErrorDocument	  500 /adm/errorhandler
                   1021: </Location>
                   1022: 
                   1023: <Location /adm/studentcalc>
1.139     albertel 1024: AuthType LONCAPA
1.125     albertel 1025: Require valid-user
                   1026: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1027: SetHandler perl-script
1.126     albertel 1028: PerlHandler Apache::lonspreadsheet
1.1       harris41 1029: ErrorDocument     403 /adm/login
                   1030: ErrorDocument     406 /adm/roles
1.20      www      1031: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41 1032: ErrorDocument	  500 /adm/errorhandler
                   1033: </Location>
                   1034: 
                   1035: <Location /adm/classcalc>
1.139     albertel 1036: AuthType LONCAPA
1.125     albertel 1037: Require valid-user
                   1038: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1039: SetHandler perl-script
1.126     albertel 1040: PerlHandler Apache::lonspreadsheet
1.1       harris41 1041: ErrorDocument     403 /adm/login
                   1042: ErrorDocument     406 /adm/roles
1.20      www      1043: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41 1044: ErrorDocument	  500 /adm/errorhandler
                   1045: </Location>
                   1046: 
                   1047: <Location /adm/dropadd>
1.139     albertel 1048: AuthType LONCAPA
1.125     albertel 1049: Require valid-user
                   1050: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1051: SetHandler perl-script
1.126     albertel 1052: PerlHandler Apache::londropadd
1.44      www      1053: ErrorDocument     403 /adm/login
                   1054: ErrorDocument     406 /adm/roles
                   1055: ErrorDocument	  500 /adm/errorhandler
1.65      raeburn  1056: </Location>
                   1057: 
1.92      matthew  1058: <Location /adm/viewclasslist>
1.139     albertel 1059: AuthType LONCAPA
1.125     albertel 1060: Require valid-user
                   1061: PerlAuthzHandler       Apache::lonacc
1.92      matthew  1062: SetHandler perl-script
1.126     albertel 1063: PerlHandler Apache::lonviewclasslist
1.92      matthew  1064: ErrorDocument     403 /adm/login
                   1065: ErrorDocument     406 /adm/roles
                   1066: ErrorDocument	  500 /adm/errorhandler
                   1067: </Location>
                   1068: 
1.118     raeburn  1069: <Location /adm/coursegroups>
1.139     albertel 1070: AuthType LONCAPA
1.125     albertel 1071: Require valid-user
                   1072: PerlAuthzHandler       Apache::lonacc
1.118     raeburn  1073: SetHandler perl-script
1.126     albertel 1074: PerlHandler Apache::loncoursegroups
1.118     raeburn  1075: ErrorDocument     403 /adm/login
                   1076: ErrorDocument     406 /adm/roles
                   1077: ErrorDocument     500 /adm/errorhandler
                   1078: </Location>
                   1079: 
1.143     raeburn  1080: <Location /adm/groupboards>
                   1081: AuthType LONCAPA
                   1082: Require valid-user
                   1083: PerlAuthzHandler       Apache::lonacc
                   1084: SetHandler perl-script
                   1085: PerlHandler Apache::groupboards
                   1086: ErrorDocument     403 /adm/login
                   1087: ErrorDocument     406 /adm/roles
                   1088: ErrorDocument     500 /adm/errorhandler
                   1089: </Location>
                   1090: 
1.144     raeburn  1091: <Location /adm/grouproster>
                   1092: AuthType LONCAPA
                   1093: Require valid-user
                   1094: PerlAuthzHandler       Apache::lonacc
                   1095: SetHandler perl-script
                   1096: PerlHandler Apache::grouproster
                   1097: ErrorDocument     403 /adm/login
                   1098: ErrorDocument     406 /adm/roles
                   1099: ErrorDocument     500 /adm/errorhandler
                   1100: </Location>
                   1101: 
1.112     raeburn  1102: <Location /adm/whatsnew>
1.139     albertel 1103: AuthType LONCAPA
1.125     albertel 1104: Require valid-user
                   1105: PerlAuthzHandler       Apache::lonacc
1.112     raeburn  1106: SetHandler perl-script
1.126     albertel 1107: PerlHandler Apache::lonwhatsnew
1.112     raeburn  1108: ErrorDocument     403 /adm/login
                   1109: ErrorDocument     406 /adm/roles
                   1110: ErrorDocument     500 /adm/errorhandler
                   1111: </Location>
                   1112: 
1.65      raeburn  1113: <Location /adm/populate>
1.139     albertel 1114: AuthType LONCAPA
1.125     albertel 1115: Require valid-user
                   1116: PerlAuthzHandler       Apache::lonacc
1.65      raeburn  1117: SetHandler perl-script
1.126     albertel 1118: PerlHandler Apache::lonpopulate
1.65      raeburn  1119: ErrorDocument     403 /adm/login
                   1120: ErrorDocument     406 /adm/roles
                   1121: ErrorDocument     500 /adm/errorhandler
1.44      www      1122: </Location>
                   1123: 
                   1124: <Location /adm/managekeys>
1.139     albertel 1125: AuthType LONCAPA
1.125     albertel 1126: Require valid-user
                   1127: PerlAuthzHandler       Apache::lonacc
1.44      www      1128: SetHandler perl-script
1.126     albertel 1129: PerlHandler Apache::lonmanagekeys
1.1       harris41 1130: ErrorDocument     403 /adm/login
                   1131: ErrorDocument     406 /adm/roles
                   1132: ErrorDocument	  500 /adm/errorhandler
                   1133: </Location>
                   1134: 
                   1135: <Location /adm/printout>
1.139     albertel 1136: AuthType LONCAPA
1.125     albertel 1137: Require valid-user
                   1138: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1139: SetHandler perl-script
1.126     albertel 1140: PerlHandler Apache::lonprintout
1.1       harris41 1141: ErrorDocument     403 /adm/login
1.20      www      1142: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41 1143: ErrorDocument	  500 /adm/errorhandler
                   1144: </Location>
                   1145: 
                   1146: <Location /adm/feedback>
1.139     albertel 1147: AuthType LONCAPA
1.125     albertel 1148: Require valid-user
                   1149: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1150: SetHandler perl-script
1.126     albertel 1151: PerlHandler Apache::lonfeedback
1.10      www      1152: ErrorDocument     403 /adm/login
                   1153: ErrorDocument	  500 /adm/errorhandler
                   1154: </Location>
                   1155: 
                   1156: <Location /adm/coursedocs>
1.139     albertel 1157: AuthType LONCAPA
1.125     albertel 1158: Require valid-user
                   1159: PerlAuthzHandler       Apache::lonacc
1.10      www      1160: SetHandler perl-script
1.126     albertel 1161: PerlHandler Apache::londocs
1.108     albertel 1162: PerlCleanupHandler Apache::londocs::untiehash
1.129     albertel 1163: PerlCleanupHandler	Apache::lonacc::cleanup
1.10      www      1164: ErrorDocument     403 /adm/login
                   1165: ErrorDocument	  500 /adm/errorhandler
1.73      raeburn  1166: </Location>
                   1167: 
1.207     raeburn  1168: <Location /adm/supplemental>
                   1169: AuthType LONCAPA
                   1170: Require valid-user
                   1171: PerlAuthzHandler       Apache::lonacc
                   1172: SetHandler perl-script
                   1173: PerlHandler Apache::londocs
                   1174: PerlCleanupHandler Apache::londocs::untiehash
                   1175: PerlCleanupHandler      Apache::lonacc::cleanup
                   1176: ErrorDocument     403 /adm/login
                   1177: ErrorDocument     500 /adm/errorhandler
                   1178: </Location>
                   1179: 
1.73      raeburn  1180: <Location /adm/imsimportdocs>
1.139     albertel 1181: AuthType LONCAPA
1.125     albertel 1182: Require valid-user
                   1183: PerlAuthzHandler       Apache::lonacc
1.73      raeburn  1184: SetHandler perl-script
1.126     albertel 1185: PerlHandler Apache::imsimportdocs
1.73      raeburn  1186: ErrorDocument     403 /adm/login
                   1187: ErrorDocument     500 /adm/errorhandler
1.10      www      1188: </Location>
                   1189: 
1.135     www      1190: <LocationMatch "^/adm/announcements">
1.139     albertel 1191: AuthType LONCAPA
1.125     albertel 1192: Require valid-user
                   1193: PerlAuthzHandler       Apache::lonacc
1.10      www      1194: SetHandler perl-script
1.126     albertel 1195: PerlHandler Apache::lonannounce
1.10      www      1196: ErrorDocument     403 /adm/login
                   1197: ErrorDocument	  500 /adm/errorhandler
1.135     www      1198: </LocationMatch>
1.10      www      1199: 
                   1200: <Location /adm/chat>
1.139     albertel 1201: AuthType LONCAPA
1.125     albertel 1202: Require valid-user
                   1203: PerlAuthzHandler       Apache::lonacc
1.10      www      1204: SetHandler perl-script
1.126     albertel 1205: PerlHandler Apache::lonchat
1.13      www      1206: ErrorDocument	  500 /adm/errorhandler
                   1207: </Location>
                   1208: 
                   1209: <Location /adm/chatfetch>
1.139     albertel 1210: AuthType LONCAPA
1.125     albertel 1211: Require valid-user
                   1212: PerlAuthzHandler       Apache::lonacc
1.13      www      1213: SetHandler perl-script
1.126     albertel 1214: PerlHandler Apache::lonchatfetch
1.20      www      1215: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41 1216: ErrorDocument	  500 /adm/errorhandler
                   1217: </Location>
                   1218: 
1.137     albertel 1219: <Location /adm/groupchat>
1.139     albertel 1220: AuthType LONCAPA
1.137     albertel 1221: Require valid-user
                   1222: PerlAuthzHandler       Apache::lonacc
                   1223: SetHandler perl-script
                   1224: PerlHandler Apache::longroupchat
                   1225: ErrorDocument     403 /adm/login
                   1226: ErrorDocument     500 /adm/errorhandler
                   1227: </Location>
                   1228: 
1.1       harris41 1229: <Location /adm/evaluate>
1.139     albertel 1230: AuthType LONCAPA
1.125     albertel 1231: Require valid-user
                   1232: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1233: SetHandler perl-script
1.126     albertel 1234: PerlHandler Apache::lonevaluate
1.1       harris41 1235: ErrorDocument     403 /adm/login
                   1236: ErrorDocument	  500 /adm/errorhandler
                   1237: </Location>
                   1238: 
                   1239: <Location /adm/preferences>
1.139     albertel 1240: AuthType LONCAPA
1.125     albertel 1241: Require valid-user
                   1242: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1243: SetHandler perl-script
1.126     albertel 1244: PerlHandler Apache::lonpreferences
1.1       harris41 1245: ErrorDocument     403 /adm/login
                   1246: ErrorDocument	  500 /adm/errorhandler
                   1247: </Location>
                   1248: 
                   1249: <Location /adm/communicate>
1.139     albertel 1250: AuthType LONCAPA
1.125     albertel 1251: Require valid-user
                   1252: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1253: SetHandler perl-script
1.126     albertel 1254: PerlHandler Apache::loncommunicate
1.1       harris41 1255: ErrorDocument     403 /adm/login
                   1256: ErrorDocument	  500 /adm/errorhandler
                   1257: </Location>
                   1258: 
                   1259: <Location /adm/searchcat>
1.139     albertel 1260: AuthType LONCAPA
1.125     albertel 1261: Require valid-user
                   1262: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1263: SetHandler perl-script
1.126     albertel 1264: PerlHandler Apache::lonsearchcat
1.28      www      1265: PerlCleanupHandler Apache::lonsearchcat::cleanup
1.129     albertel 1266: PerlCleanupHandler	Apache::lonacc::cleanup
1.1       harris41 1267: ErrorDocument     403 /adm/login
1.20      www      1268: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41 1269: ErrorDocument	  500 /adm/errorhandler
                   1270: </Location>
                   1271: 
                   1272: <Location /adm/navmaps>
1.139     albertel 1273: AuthType LONCAPA
1.125     albertel 1274: Require valid-user
                   1275: PerlAuthzHandler       Apache::lonacc
1.1       harris41 1276: SetHandler perl-script
1.160     albertel 1277: PerlHandler Apache::lonnavdisplay
1.1       harris41 1278: ErrorDocument     403 /adm/login
                   1279: ErrorDocument     406 /adm/roles
                   1280: ErrorDocument	  500 /adm/errorhandler
1.26      bowersj2 1281: </Location>
                   1282: 
                   1283: <Location /adm/quickgrades>
1.139     albertel 1284: AuthType LONCAPA
1.125     albertel 1285: Require valid-user
                   1286: PerlAuthzHandler       Apache::lonacc
1.26      bowersj2 1287: SetHandler perl-script
1.126     albertel 1288: PerlHandler Apache::lonquickgrades
1.26      bowersj2 1289: ErrorDocument     403 /adm/login
                   1290: ErrorDocument     406 /adm/roles
                   1291: ErrorDocument     500 /adm/errorhandler
1.1       harris41 1292: </Location>
                   1293: 
                   1294: <Location /adm/groupsort>
1.139     albertel 1295: AuthType LONCAPA
1.125     albertel 1296: Require valid-user
                   1297: PerlAuthzHandler	Apache::lonacc
1.1       harris41 1298: SetHandler perl-script
1.126     albertel 1299: PerlHandler Apache::groupsort
1.29      www      1300: PerlCleanupHandler Apache::groupsort::cleanup
1.129     albertel 1301: PerlCleanupHandler	Apache::lonacc::cleanup
1.1       harris41 1302: ErrorDocument     403 /adm/login
                   1303: ErrorDocument	  500 /adm/errorhandler
                   1304: </Location>
                   1305: 
1.197     wenzelju 1306: <Location /adm/wishlist>
                   1307: AuthType LONCAPA
                   1308: Require valid-user
                   1309: PerlAuthzHandler       Apache::lonacc
                   1310: SetHandler perl-script
1.202     wenzelju 1311: PerlHandler Apache::lonwishlistdisplay
1.197     wenzelju 1312: ErrorDocument     403 /adm/login
                   1313: ErrorDocument     406 /adm/roles
                   1314: ErrorDocument	  500 /adm/errorhandler
                   1315: </Location>
                   1316: 
1.208     raeburn  1317: <Location /adm/setblock>
                   1318: AuthType LONCAPA
                   1319: Require valid-user
                   1320: PerlAuthzHandler       Apache::lonacc
                   1321: SetHandler             perl-script
                   1322: PerlHandler            Apache::lonblockingmenu
                   1323: ErrorDocument     403 /adm/login
1.209     raeburn  1324: ErrorDocument     406 /adm/roles
1.208     raeburn  1325: ErrorDocument     500 /adm/errorhandler
                   1326: </Location>
                   1327: 
1.186     droeschl 1328: <Location /adm/blockingstatus>
1.188     droeschl 1329: PerlAccessHandler      Apache::publiccheck
1.186     droeschl 1330: AuthType LONCAPA
                   1331: Require valid-user
                   1332: PerlAuthzHandler       Apache::lonacc
1.188     droeschl 1333: SetHandler             perl-script
                   1334: PerlHandler            Apache::lonblockingstatus
1.186     droeschl 1335: </Location>
                   1336: 
1.1       harris41 1337: <Location /adm/errorhandler>
                   1338: SetHandler perl-script
1.126     albertel 1339: PerlHandler Apache::lonerrorhandler
1.1       harris41 1340: </Location>
                   1341: 
1.7       bowersj2 1342: <LocationMatch "^/adm/help/.*\.hlp$">
1.139     albertel 1343: AuthType LONCAPA
1.125     albertel 1344: Require valid-user
1.147     albertel 1345: PerlAccessHandler      Apache::publiccheck
1.125     albertel 1346: PerlAuthzHandler	Apache::lonacc
1.7       bowersj2 1347: SetHandler perl-script
1.126     albertel 1348: PerlHandler Apache::lonhelp
1.154     albertel 1349: ErrorDocument	  500 /adm/errorhandler
1.7       bowersj2 1350: </LocationMatch>
                   1351: 
1.90      raeburn  1352: <LocationMatch "^/adm/helpmenu">
1.139     albertel 1353: AuthType LONCAPA
1.125     albertel 1354: Require valid-user
                   1355: PerlAuthzHandler       Apache::lonacc
1.90      raeburn  1356: SetHandler perl-script
1.126     albertel 1357: PerlHandler Apache::lonhelpmenu
1.154     albertel 1358: ErrorDocument	  500 /adm/errorhandler
1.90      raeburn  1359: </LocationMatch>
                   1360: 
                   1361: <LocationMatch "^/adm/support">
1.139     albertel 1362: AuthType LONCAPA
1.125     albertel 1363: Require valid-user
                   1364: PerlAuthzHandler       Apache::lonacc
1.90      raeburn  1365: SetHandler perl-script
1.126     albertel 1366: PerlHandler Apache::lonsupportreq
1.154     albertel 1367: ErrorDocument	  500 /adm/errorhandler
1.90      raeburn  1368: </LocationMatch>
                   1369: 
1.100     raeburn  1370: <LocationMatch "^/adm/helpdesk">
                   1371: SetHandler perl-script
1.126     albertel 1372: PerlHandler Apache::lonsupportreq
1.154     albertel 1373: ErrorDocument	  500 /adm/errorhandler
1.100     raeburn  1374: </LocationMatch>
                   1375: 
1.133     albertel 1376: <LocationMatch "^/adm/css">
                   1377: SetHandler perl-script
                   1378: PerlHandler Apache::loncss
1.154     albertel 1379: ErrorDocument	  500 /adm/errorhandler
1.133     albertel 1380: </LocationMatch>
                   1381: 
1.155     raeburn  1382: <LocationMatch "^/adm/coursecatalog">
                   1383: SetHandler perl-script
                   1384: PerlHandler Apache::coursecatalog
1.156     albertel 1385: ErrorDocument	  500 /adm/errorhandler
1.155     raeburn  1386: </LocationMatch>
                   1387: 
1.161     raeburn  1388: <LocationMatch "^/adm/resetpw">
                   1389: SetHandler perl-script
                   1390: PerlHandler Apache::resetpw
                   1391: ErrorDocument     500 /adm/errorhandler
                   1392: </LocationMatch>
1.155     raeburn  1393: 
1.173     raeburn  1394: <LocationMatch "^/adm/selfenroll">
                   1395: SetHandler perl-script
                   1396: PerlHandler Apache::selfenroll
                   1397: ErrorDocument     500 /adm/errorhandler
                   1398: </LocationMatch>
                   1399: 
1.171     raeburn  1400: <LocationMatch "^/adm/createaccount">
                   1401: SetHandler perl-script
                   1402: PerlHandler Apache::createaccount
                   1403: ErrorDocument     500 /adm/errorhandler
                   1404: </LocationMatch>
                   1405: 
1.165     albertel 1406: <LocationMatch "^/adm/dns">
                   1407: SetHandler perl-script
                   1408: PerlHandler Apache::londns
                   1409: ErrorDocument     500 /adm/errorhandler
                   1410: </LocationMatch>
1.164     albertel 1411: 
1.1       harris41 1412: # ------------------------------------------------- Backdoor Adm Tests/Programs
                   1413: 
                   1414: <Location /adm/test>
1.181     raeburn  1415: PerlAccessHandler Apache::lonstatusacc
1.1       harris41 1416: SetHandler perl-script
1.126     albertel 1417: PerlHandler Apache::lontest
1.1       harris41 1418: </Location>
                   1419: 
                   1420: # ------------------------------------------------------- Shutting down a child
                   1421: 
1.129     albertel 1422: PerlChildExitHandler Apache::lonacc::goodbye
1.1       harris41 1423: 
                   1424: #
                   1425: # LON-CAPA Section (extensions to access.conf permission configuration)
                   1426: #
                   1427: # =========================================================== Directory Options
                   1428: 
                   1429: # Start out with "no"
                   1430: 
                   1431: <Directory />
                   1432: Options None
                   1433: AllowOverride None
1.158     raeburn  1434: order deny,allow
                   1435: deny from all
                   1436: </Directory>
                   1437: 
                   1438: # Allow uploaded files to be served
                   1439: 
                   1440: <Directory "/home/httpd/lonUsers">
                   1441: Options Includes FollowSymLinks
                   1442: AllowOverride None
                   1443: order allow,deny
                   1444: allow from all
                   1445: </Directory>
                   1446:  
                   1447: # Allow construction space files to be served
                   1448: 
                   1449: <Directory "/home/*/public_html/" >
                   1450: Options Includes FollowSymLinks
                   1451: AllowOverride
                   1452: order allow,deny
                   1453: allow from all
1.1       harris41 1454: </Directory>
                   1455: 
                   1456: # Yes to symbolic links and server-side includes
                   1457: 
                   1458: <Directory /home/httpd/html>
                   1459: Options Includes FollowSymLinks
                   1460: AllowOverride None
                   1461: order allow,deny
                   1462: allow from all
                   1463: </Directory>
                   1464: 
                   1465: # If it is in cgi-bin, then it can be executed as a CGI script.
                   1466: 
                   1467: <Directory /home/httpd/cgi-bin>
                   1468: AllowOverride None
1.157     albertel 1469: Options ExecCGI FollowSymLinks
1.159     raeburn  1470: order allow,deny
                   1471: allow from all
                   1472: </Directory>
                   1473: 
                   1474: # Allow serving of files in prtspool
                   1475: 
                   1476: <Directory "/home/httpd/prtspool/">
                   1477: Options Includes FollowSymLinks
                   1478: AllowOverride None
                   1479: order allow,deny
                   1480: allow from all
1.1       harris41 1481: </Directory>
                   1482: 
1.167     banghart 1483: # Allow serving of files in zipspool
                   1484: 
                   1485: <Directory "/home/httpd/zipspool/">
                   1486: Options Includes FollowSymLinks
                   1487: AllowOverride None
                   1488: order allow,deny
                   1489: allow from all
                   1490: </Directory>
                   1491: 
1.177     raeburn  1492: # Allow serving of files in captchaspool
                   1493: 
                   1494: <Directory "/home/httpd/captchaspool/">
                   1495: Options Includes FollowSymLinks
                   1496: AllowOverride None
                   1497: order allow,deny
                   1498: allow from all
                   1499: </Directory>
                   1500: 
1.1       harris41 1501: # ============================================================= Access Handlers
                   1502: 
                   1503: # ------------------------------------------------- Allow server-status reports
                   1504: <Location /server-status>
1.181     raeburn  1505: PerlAccessHandler Apache::lonstatusacc
1.1       harris41 1506: SetHandler server-status
                   1507: </Location>
                   1508: 
                   1509: # ------------------------ Allow LON-CAPA "low-level" connection status reports
1.181     raeburn  1510: <LocationMatch "^/+lon-status/.*">
                   1511: PerlAccessHandler Apache::lonstatusacc
                   1512: ErrorDocument     406 /adm/roles
                   1513: ErrorDocument     500 /adm/errorhandler
                   1514: </LocationMatch>
1.1       harris41 1515: 
                   1516: # ------------------- Allow access to local system documentation from localhost
                   1517: Alias /doc /usr/doc
                   1518: <Directory /usr/doc>
                   1519: order deny,allow
                   1520: deny from all
                   1521: allow from localhost
                   1522: Options Indexes FollowSymLinks
                   1523: </Directory>
                   1524: 
                   1525: # ******** THESE "SHOULD" NEVER BE ALTERED BY THE USER ************************
                   1526: # ====================================== Internal Settings / Perl Configuration
                   1527: 
1.216   ! www      1528: PerlSetVar	 lonVersion   '2.11.CVS_HEAD-2012070710'
1.1       harris41 1529: PerlSetVar       lonIDsDir    /home/httpd/lonIDs
1.210     raeburn  1530: PerlSetVar       lonDAVsessDir /home/httpd/webdav/sessionIDs
1.1       harris41 1531: PerlSetVar       lonTabDir    /home/httpd/lonTabs
                   1532: PerlSetVar       lonUsersDir  /home/httpd/lonUsers
                   1533: PerlSetVar       lonIconsURL  /adm/lonIcons
                   1534: PerlSetVar       londPort     5663
                   1535: PerlSetVar       lonSysEMail  korte@lite.msu.edu
                   1536: PerlSetVar       lonDaemons   /home/httpd/perl
1.184     foxr     1537: PerlSetVar       lonLib       /home/httpd/lib
1.1       harris41 1538: PerlSetVar       lonSockDir   /home/httpd/sockets
1.164     albertel 1539: PerlSetVar       lonSockCreate   /home/httpd/sockets/common
1.1       harris41 1540: PerlSetVar       lonDocRoot   /home/httpd/html
1.98      albertel 1541: PerlSetVar       lonPrtDir    /home/httpd/prtspool
1.1       harris41 1542: PerlSetVar       lonIncludes  /home/httpd/html/res/adm/includes
1.166     banghart 1543: PerlSetVar       lonZipDir    /home/httpd/zipspool
1.177     raeburn  1544: PerlSetVar       lonCaptchaDir     /home/httpd/captchaspool
                   1545: PerlSetVar       lonCaptchaDb     /home/httpd/captchadb 
1.168     albertel 1546: PerlSetVar       lonFontsDir     /home/httpd/html/adm/fonts
1.166     banghart 1547: # & separated list of : separated fields in order of
1.119     albertel 1548: # - internal name to call it, 
                   1549: # - regexp that it should match (done case-insensitively)
                   1550: # - regexp that is should not match (done case-insensitively)
                   1551: # - regexp that will pull out the version number into $1
                   1552: # - a number that describes the minimum version that has mathml support
                   1553: # - a number that describes the minimum number version that has unicode support
                   1554: 
1.216   ! www      1555: PerlSetVar       lonBrowsDet  explorer:msie:netscape:msie\s(\d+\.\d+)\;:9999:5&mozilla:mozilla\/[5-9]:msie:mozilla\/(\d+\.\d+)\s:9999:1&netscape:netscape:msie:netscape\/(\d+\.\d+):9999:7&netscape:netscape\/[7-9]:shouldnotmatch:netscape\/(\d+\.\d+):9999:7&amaya:amaya:mozilla:V(\d+\.\d+)\s:1:1&safari:safari:msie:safari\/([\d\.]+):9999:84&chrome:chrome:shouldnotmatch:chrome\/(\d+\.\d+):9999:1
1.119     albertel 1556: 
1.105     albertel 1557: PerlSetVar       lonTextBrowsers windows\s+ce:lynx
1.43      albertel 1558: PerlSetVar       lonScansDir  /home/httpd/scantron
                   1559: PerlSetVar       lonScriptTimeout 10
1.70      www      1560: PerlSetVar	 BugzillaHost	http://bugs.lon-capa.org/
                   1561: PerlSetVar	 FAQHost	http://help.lon-capa.org/
1.2       harris41 1562: # -----------------------------------------------------------------------------
                   1563: # NOTE: lonSqlAccess key is the password for the MySQL user
                   1564: # www@localhost.  This value must always be "localhostkey".
                   1565: # The only security risk occurs when somebody logs in as 'www' on your system
                   1566: # (in which case you have much bigger problems than whether or not they
                   1567: # can access the non-authoritative loncapa database on your machine).
                   1568: 
                   1569: PerlSetVar       lonSqlAccess   localhostkey
                   1570: 
1.86      foxr     1571: #----------------------------------------------------------------------------
                   1572: #
1.79      foxr     1573: #   Parameters used by secure lond/lonc
                   1574: 
                   1575: #
                   1576: #   Secure lond/lonc require ssl certificate and private
                   1577: #   key files to function correctly.  The certificate
                   1578: #   files need not be terribly secure, but the private key files
                   1579: #   should be set up so that only www (the lonc/lond effective user)
                   1580: #   can read them.
                   1581: # 
                   1582: #   The definition below is the full path to the directory that
                   1583: #   contains the certificate and key files:
1.82      foxr     1584: 
1.79      foxr     1585: PerlSetVar lonCertificateDirectory /home/httpd/lonCerts
                   1586: 
                   1587: #
                   1588: #  Secure lond/lonc require two certificates and a private host key.
                   1589: #  The certificates required are that of the lonCAPA certificate authority
                   1590: #  and the certificate that authority issued to this host.
                   1591: #  lonnetCertificateAuthority is the name of the file that contains the
                   1592: #                            lonCAPA certificate authority's certificate.
                   1593: #  lonnetCertificate is the name of the file that contains the certificate
                   1594: #                    issued to the host by the certificate authority.
                   1595: #  Both of these variables are names of files assumed to be in 
                   1596: #  lonCertificateDirectory:
                   1597: 
                   1598: PerlSetVar lonnetCertificateAuthority loncapaCA.pem
                   1599: PerlSetVar lonnetCertificate          lonhostcert.pem
                   1600: 
                   1601: #
                   1602: #  To generate the request for a certificate, and to negotiate the
                   1603: #  initial ssl connection, the host requires a private key.  This key
                   1604: #  is created at lonCAPA install time.  Did we mention above that it
                   1605: #  should be set so that only www can read it?  The variale below
                   1606: #  is the name of the file relative to lonnetCertificateDirectory
                   1607: #  that has the host's private key.  Did we remember to tell you to
                   1608: #  keep the permissions on that file set to rw-------  (0600)?
                   1609: #  
                   1610: 
                   1611: PerlSetVar lonnetPrivateKey         lonKey.pem
                   1612: 
                   1613: # Did we mention that the file described above must have
                   1614: # permissions really locked down so that it can't be stolen?
                   1615: 
1.86      foxr     1616: #-------------------------------------------------------------------------
                   1617: 
                   1618: #   Parameters that define where all the ssl stuff is that's needed
                   1619: #   to generate certificate requests and, on a system that's a CA
                   1620: #   the certificate authority.
                   1621: #    
                   1622: #    SSLProgram    -> Path to the openssl command
                   1623: #    SSLDirectory  -> Directory containing ssl configuration files etc.
                   1624: #    SSLCAConfig   -> Name of the SSL config file for the certificate 
                   1625: #                     Authority.
1.87      foxr     1626: #    SSLCAFile     -> Full path to the Certificate authority file 
                   1627: #                    (on the cert manager system).
                   1628: #    SSLEmail      -> E-mail address of loncapa certificate manager.
1.86      foxr     1629: #    The following are good for the loncapa redhat installs and
                   1630: #    the loncapa certificate authority system:
                   1631: #
                   1632: PerlSetVar SSLProgram	/usr/bin/openssl
                   1633: PerlSetVar SSLDirectory /usr/share/ssl
                   1634: PerlSetVar SSLCAConfig  loncapaca
1.87      foxr     1635: PerlSetVar SSLCAFile    /usr/share/ssl/loncapaca/cacert.pem
1.93      albertel 1636: PerlSetVar SSLEmail     certificate@lon-capa.org
1.86      foxr     1637: 
                   1638: #-------------------------------------------------------------------------
                   1639: 
1.79      foxr     1640: 
1.204     raeburn  1641: # ====================================== Include support for SSL rewrites
                   1642: 
                   1643: Include conf/loncapa_rewrite.conf
1.79      foxr     1644: 
1.2       harris41 1645: 
1.8       harris41 1646: # ====================================== Include machine-specific configuration
1.2       harris41 1647: 
                   1648: Include conf/loncapa.conf
1.61      albertel 1649: 
                   1650: # ================================================= Include local configuration
                   1651: 
                   1652: Include conf/loncapa_apache_local*.conf
1.1       harris41 1653: 
                   1654: # ================================================== Initiate mod_perl starting
                   1655: 
                   1656: PerlRequire      conf/startup.pl
1.47      albertel 1657: <IfDefine !MODPERL2>
1.1       harris41 1658: PerlFreshRestart On
1.47      albertel 1659: </IfDefine>

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