Annotation of loncom/loncapa_apache.conf, revision 1.57

1.1       harris41    1: ##
                      2: ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
                      3: ##
1.57    ! www         4: ## $Id: loncapa_apache.conf,v 1.56 2003/07/17 13:50:44 www 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: 
                     26: # =============================================================== Miscellaneous
                     27: 
                     28: ServerAdmin korte@lite.msu.edu
                     29: ExtendedStatus On
                     30: #
                     31: # LON-CAPA Section (extensions to srm.conf name space servicing)
                     32: #
                     33: # ===================================================================== Aliases
                     34: 
                     35: Alias /prtspool/ /home/httpd/prtspool/
1.8       harris41   36: ScriptAlias /cgi-bin/ "/home/httpd/cgi-bin/"
1.1       harris41   37: 
                     38: # ================================================================= Directories
                     39: 
                     40: # ------------------------------------------------------------- Access Handlers
                     41: 
1.12      www        42: PerlTransHandler	Apache::lontrans
                     43: 
1.45      albertel   44: #PerlWarn On
1.21      www        45: <LocationMatch "^/+res.*">
1.1       harris41   46: PerlAccessHandler       Apache::lonacc
                     47: PerlHeaderParserHandler Apache::lonrep
                     48: ErrorDocument     403 /adm/login
                     49: ErrorDocument     404 /adm/notfound.html
                     50: ErrorDocument     406 /adm/roles
1.11      www        51: ErrorDocument	  500 /adm/errorhandler
                     52: </LocationMatch>
                     53: 
1.21      www        54: <LocationMatch "^/+userfiles.*">
1.11      www        55: PerlAccessHandler       Apache::lontokacc
1.12      www        56: </LocationMatch>
                     57: 
1.21      www        58: <LocationMatch "^/+uploaded.*">
1.12      www        59: PerlAccessHandler	Apache::lonuploadedacc
1.16      www        60: ErrorDocument     404 /adm/notfound.html
                     61: ErrorDocument	  500 /adm/errorhandler
                     62: </LocationMatch>
                     63: 
1.44      www        64: <LocationMatch "^/+public/.*/syllabus$">
1.17      www        65: PerlAccessHandler	Apache::lonacc
1.16      www        66: SetHandler              perl-script
                     67: PerlHandler             Apache::lonsyllabus
                     68: ErrorDocument     404 /adm/notfound.html
                     69: ErrorDocument	  500 /adm/errorhandler
                     70: </LocationMatch>
                     71: 
1.44      www        72: <LocationMatch "^/adm/.*/aboutme$">
1.17      www        73: PerlAccessHandler	Apache::lonacc
1.16      www        74: SetHandler              perl-script
                     75: PerlHandler             Apache::lonaboutme
1.19      www        76: ErrorDocument     404 /adm/notfound.html
1.54      www        77: ErrorDocument     406 /adm/notinit.html
1.19      www        78: ErrorDocument	  500 /adm/errorhandler
                     79: </LocationMatch>
                     80: 
1.44      www        81: <LocationMatch "^/adm/.*/smppg$">
1.19      www        82: PerlAccessHandler	Apache::lonacc
                     83: SetHandler              perl-script
                     84: PerlHandler             Apache::lonsimplepage
                     85: ErrorDocument     404 /adm/notfound.html
1.54      www        86: ErrorDocument     406 /adm/notinit.html
1.19      www        87: ErrorDocument	  500 /adm/errorhandler
                     88: </LocationMatch>
                     89: 
1.44      www        90: <LocationMatch "^/adm/.*/bulletinboard$">
1.19      www        91: PerlAccessHandler	Apache::lonacc
                     92: SetHandler              perl-script
                     93: PerlHandler             Apache::lonbulletin
1.55      www        94: ErrorDocument     404 /adm/notfound.html
                     95: ErrorDocument     406 /adm/notinit.html
                     96: ErrorDocument	  500 /adm/errorhandler
                     97: </LocationMatch>
                     98: 
                     99: <LocationMatch "\.problem/smpedit$">
                    100: PerlAccessHandler	Apache::lonacc
                    101: SetHandler              perl-script
                    102: PerlHandler             Apache::lonsimpleproblemedit
1.11      www       103: ErrorDocument     404 /adm/notfound.html
1.54      www       104: ErrorDocument     406 /adm/notinit.html
1.1       harris41  105: ErrorDocument	  500 /adm/errorhandler
                    106: </LocationMatch>
                    107: 
1.21      www       108: <LocationMatch "^/+priv.*">
1.1       harris41  109: PerlAccessHandler Apache::loncacc
                    110: SetHandler        perl-script
                    111: PerlHandler       Apache::lonconstruct
                    112: ErrorDocument     403 /adm/login
                    113: ErrorDocument     404 /adm/notfound.html
1.18      www       114: ErrorDocument     406 /adm/unauthorized
1.1       harris41  115: ErrorDocument	  500 /adm/errorhandler
                    116: </LocationMatch>
                    117: 
1.21      www       118: <LocationMatch "^/+raw.*">
1.1       harris41  119: PerlAccessHandler Apache::lonracc
                    120: </LocationMatch>
                    121: 
1.21      www       122: <LocationMatch "^/+\~.*">
1.1       harris41  123: PerlAccessHandler Apache::loncacc
                    124: ErrorDocument     403 /adm/login
                    125: ErrorDocument     404 /adm/notfound.html
1.18      www       126: ErrorDocument     406 /adm/unauthorized
1.1       harris41  127: ErrorDocument	  500 /adm/errorhandler
                    128: AllowOverride None
                    129: </LocationMatch>
                    130: 
1.41      bowersj2  131: <LocationMatch "^/adm/helper/.*\.helper$">
                    132: PerlAccessHandler Apache::lonacc
                    133: SetHandler        perl-script
                    134: PerlHandler       Apache::lonhelper
                    135: ErrorDocument     403 /adm/login
                    136: ErrorDocument     404 /adm/notfound.html
                    137: ErrorDocument     406 /adm/unauthorized
                    138: ErrorDocument     500 /adm/errorhandler
                    139: </LocationMatch>
                    140: 
1.23      albertel  141: <LocationMatch "/prtspool">
                    142: PerlAccessHandler Apache::lonacc
                    143: ErrorDocument     403 /adm/login
                    144: ErrorDocument     404 /adm/notfound.html
                    145: ErrorDocument     406 /adm/roles
                    146: ErrorDocument	  500 /adm/errorhandler
                    147: </LocationMatch>
1.1       harris41  148: # ------------------------------------------------------------------------- RAT
                    149: 
                    150: <LocationMatch "^/\~.*\.sequence$">
                    151: SetHandler perl-script
                    152: PerlHandler Apache::lonratedt
                    153: </LocationMatch>
                    154: 
                    155: <LocationMatch "^/\~.*\.page$">
                    156: SetHandler perl-script
                    157: PerlHandler Apache::lonratedt
                    158: </LocationMatch>
                    159: 
                    160: <LocationMatch "^/\~.*\/ratserver$">
                    161: SetHandler perl-script
                    162: PerlHandler Apache::lonratsrv
                    163: </LocationMatch>
                    164: 
                    165: <Location /adm/ratparms>
                    166: PerlAccessHandler       Apache::lonacc
                    167: SetHandler perl-script
                    168: PerlHandler Apache::lonratparms
                    169: ErrorDocument     403 /adm/login
                    170: ErrorDocument	  500 /adm/errorhandler
                    171: </Location>
                    172: 
                    173: # --------------------------------------------- Resource Space Content Handlers
                    174: 
                    175: <LocationMatch "^/res.*/$">
                    176: SetHandler perl-script
                    177: PerlHandler Apache::lonindexer
1.29      www       178: PerlCleanupHandler Apache::lonindexer::cleanup
1.1       harris41  179: </LocationMatch>
                    180: 
                    181: <LocationMatch "^/(res|\~).*\.tex$">
                    182: SetHandler perl-script
                    183: PerlHandler Apache::lontex
                    184: </LocationMatch>
                    185: 
                    186: <LocationMatch "^/res/.*\.page$>
                    187: SetHandler perl-script
                    188: PerlHandler Apache::lonpage
                    189: </LocationMatch>
                    190: 
                    191: <LocationMatch "^/res/.*\.sequence$>
                    192: SetHandler perl-script
                    193: PerlHandler Apache::lonsequence
                    194: </LocationMatch>
                    195: 
1.46      www       196: <LocationMatch "^/(res|\~|public|uploaded|adm).*\.meta$>
1.1       harris41  197: SetHandler perl-script
                    198: PerlHandler Apache::lonmeta
1.39      www       199: </LocationMatch>
                    200: 
                    201: <LocationMatch "^/(res|\~).*\.rights$>
                    202: SetHandler perl-script
                    203: PerlHandler Apache::lonrights
1.1       harris41  204: </LocationMatch>
                    205: 
1.57    ! www       206: <LocationMatch "^/(res|\~).*\.(xml|html|htm|xhtml|xhtm|sty)$">
1.1       harris41  207: SetHandler perl-script
                    208: PerlHandler Apache::lonxml
                    209: </LocationMatch>
                    210: 
1.50      www       211: <LocationMatch "^/(res|\~).*\.(problem|exam|quiz|assess|survey|form|library)$">
1.1       harris41  212: SetHandler perl-script
                    213: PerlHandler Apache::lonhomework
                    214: </LocationMatch>
                    215: 
                    216: <LocationMatch "^/adm/wrapper/">
                    217: PerlAccessHandler       Apache::lonacc
                    218: SetHandler perl-script
                    219: PerlHandler Apache::lonwrapper
                    220: ErrorDocument     403 /adm/login
                    221: ErrorDocument	  500 /adm/errorhandler
                    222: </LocationMatch>
                    223: 
                    224: # -------------------------------------------------------------- Admin Programs
1.24      albertel  225: 
                    226: <Location /adm/randomlabel.png>
                    227: PerlAccessHandler       Apache::lonacc
                    228: SetHandler perl-script
                    229: PerlHandler Apache::randomlylabel
                    230: ErrorDocument     403 /adm/login
                    231: ErrorDocument	  500 /adm/errorhandler
                    232: </Location>
1.1       harris41  233: 
                    234: <Location /adm/statistics>
                    235: PerlAccessHandler       Apache::lonacc
                    236: SetHandler perl-script
                    237: PerlHandler Apache::lonstatistics
                    238: ErrorDocument     403 /adm/login
1.20      www       239: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41  240: ErrorDocument	  500 /adm/errorhandler
                    241: </Location>
                    242: 
                    243: <Location /adm/roles>
                    244: PerlAccessHandler       Apache::lonacc
                    245: SetHandler perl-script
                    246: PerlHandler Apache::lonroles
1.33      www       247: ErrorDocument     403 /adm/login
                    248: ErrorDocument	  500 /adm/errorhandler
                    249: </Location>
                    250: 
                    251: <Location /adm/menu>
                    252: PerlAccessHandler       Apache::lonacc
                    253: SetHandler perl-script
                    254: PerlHandler Apache::lonmenu
1.42      www       255: ErrorDocument     403 /adm/login
                    256: ErrorDocument	  500 /adm/errorhandler
                    257: </Location>
                    258: 
                    259: <Location /adm/remote>
                    260: PerlAccessHandler       Apache::lonacc
                    261: SetHandler perl-script
                    262: PerlHandler Apache::lonremote
1.27      www       263: ErrorDocument     403 /adm/login
                    264: ErrorDocument	  500 /adm/errorhandler
                    265: </Location>
                    266: 
                    267: <Location /adm/pickstudent>
                    268: PerlAccessHandler       Apache::lonacc
                    269: SetHandler perl-script
                    270: PerlHandler Apache::lonpickstudent
1.40      www       271: ErrorDocument     403 /adm/login
                    272: ErrorDocument	  500 /adm/errorhandler
                    273: </Location>
                    274: 
                    275: <Location /adm/pickcourse>
                    276: PerlAccessHandler       Apache::lonacc
                    277: SetHandler perl-script
                    278: PerlHandler Apache::lonpickcourse
1.1       harris41  279: ErrorDocument     403 /adm/login
                    280: ErrorDocument	  500 /adm/errorhandler
                    281: </Location>
                    282: 
                    283: <Location /adm/login>
                    284: SetHandler perl-script
                    285: PerlHandler Apache::lonlogin
                    286: </Location>
                    287: 
                    288: <Location /adm/logout>
                    289: PerlAccessHandler       Apache::lonacc
                    290: SetHandler perl-script
                    291: PerlHandler Apache::lonlogout
                    292: ErrorDocument     403 /adm/login
                    293: </Location>
                    294: 
                    295: <Location /adm/authenticate>
                    296: SetHandler perl-script
                    297: PerlHandler Apache::lonauth
                    298: </Location>
                    299: 
                    300: <Location /adm/annotations>
                    301: PerlAccessHandler       Apache::lonacc
                    302: SetHandler perl-script
                    303: PerlHandler Apache::admannotations
                    304: ErrorDocument     403 /adm/login
                    305: ErrorDocument	  500 /adm/errorhandler
                    306: </Location>
                    307: 
                    308: <Location /adm/bookmarks>
                    309: PerlAccessHandler       Apache::lonacc
                    310: SetHandler perl-script
                    311: PerlHandler Apache::admbookmarks
                    312: ErrorDocument     403 /adm/login
                    313: ErrorDocument	  500 /adm/errorhandler
                    314: </Location>
                    315: 
                    316: <Location /adm/flip>
                    317: PerlAccessHandler       Apache::lonacc
                    318: SetHandler perl-script
                    319: PerlHandler Apache::lonpageflip
1.30      www       320: PerlCleanupHandler Apache::lonpageflip::cleanup
1.1       harris41  321: ErrorDocument     406 /adm/roles
                    322: ErrorDocument     403 /adm/login
                    323: ErrorDocument	  500 /adm/errorhandler
                    324: </Location>
                    325: 
                    326: <Location /adm/ambiguous>
                    327: PerlAccessHandler       Apache::lonacc
                    328: SetHandler perl-script
                    329: PerlHandler Apache::lonambiguous
1.30      www       330: PerlCleanupHandler Apache::lonambiguous::cleanup
1.1       harris41  331: ErrorDocument     403 /adm/login
                    332: ErrorDocument	  500 /adm/errorhandler
                    333: </Location>
                    334: 
                    335: <Location /adm/email>
                    336: PerlAccessHandler       Apache::lonacc
                    337: SetHandler perl-script
                    338: PerlHandler Apache::lonmsg
                    339: ErrorDocument     403 /adm/login
                    340: ErrorDocument	  500 /adm/errorhandler
                    341: </Location>
                    342: 
                    343: <Location /adm/parmset>
                    344: PerlAccessHandler       Apache::lonacc
                    345: SetHandler perl-script
                    346: PerlHandler Apache::lonparmset
1.31      bowersj2  347: ErrorDocument     403 /adm/login
                    348: ErrorDocument     406 /adm/roles
                    349: ErrorDocument	  500 /adm/errorhandler
                    350: </Location>
                    351: 
                    352: <Location /adm/wizard>
                    353: PerlAccessHandler       Apache::lonacc
                    354: SetHandler perl-script
                    355: PerlHandler Apache::lonwizard
1.1       harris41  356: ErrorDocument     403 /adm/login
                    357: ErrorDocument     406 /adm/roles
                    358: ErrorDocument	  500 /adm/errorhandler
                    359: </Location>
                    360: 
                    361: <Location /adm/grades>
                    362: PerlAccessHandler       Apache::lonacc
                    363: SetHandler perl-script
                    364: PerlHandler Apache::grades
                    365: ErrorDocument     403 /adm/login
                    366: ErrorDocument     406 /adm/roles
                    367: ErrorDocument	  500 /adm/errorhandler
                    368: </Location>
                    369: 
                    370: <Location /adm/createcourse>
                    371: PerlAccessHandler       Apache::lonacc
                    372: SetHandler perl-script
                    373: PerlHandler Apache::loncreatecourse
                    374: ErrorDocument     403 /adm/login
                    375: ErrorDocument     406 /adm/roles
                    376: ErrorDocument	  500 /adm/errorhandler
                    377: </Location>
                    378: 
                    379: <Location /adm/createuser>
                    380: PerlAccessHandler       Apache::lonacc
                    381: SetHandler perl-script
                    382: PerlHandler Apache::loncreateuser
                    383: ErrorDocument     403 /adm/login
                    384: ErrorDocument     406 /adm/roles
                    385: ErrorDocument	  500 /adm/errorhandler
                    386: </Location>
                    387: 
                    388: <Location /adm/publish>
                    389: PerlAccessHandler       Apache::lonacc
                    390: SetHandler perl-script
                    391: PerlHandler Apache::lonpublisher
                    392: ErrorDocument     403 /adm/login
                    393: ErrorDocument     404 /adm/notfound.html
1.18      www       394: ErrorDocument     406 /adm/unauthorized
1.1       harris41  395: ErrorDocument	  500 /adm/errorhandler
                    396: </Location>
                    397: 
                    398: <LocationMatch "^/\~.*/$">
                    399: PerlAccessHandler       Apache::loncacc
                    400: SetHandler perl-script
                    401: PerlHandler Apache::lonpubdir
                    402: ErrorDocument     403 /adm/login
                    403: ErrorDocument     404 /adm/notfound.html
1.18      www       404: ErrorDocument     406 /adm/unauthorized
1.1       harris41  405: ErrorDocument	  500 /adm/errorhandler
                    406: </LocationMatch>
                    407: 
                    408: <Location /adm/pubdir>
                    409: PerlAccessHandler       Apache::lonacc
                    410: SetHandler perl-script
                    411: PerlHandler Apache::lonpubdir
                    412: ErrorDocument     403 /adm/login
                    413: ErrorDocument     404 /adm/notfound.html
1.18      www       414: ErrorDocument     406 /adm/unauthorized
                    415: ErrorDocument	  500 /adm/errorhandler
                    416: </Location>
                    417: 
                    418: <Location /adm/unauthorized>
                    419: PerlAccessHandler       Apache::lonacc
                    420: SetHandler perl-script
                    421: PerlHandler Apache::lonunauthorized
                    422: ErrorDocument     403 /adm/login
                    423: ErrorDocument     404 /adm/notfound.html
1.1       harris41  424: ErrorDocument	  500 /adm/errorhandler
                    425: </Location>
                    426: 
                    427: <Location /adm/retrieve>
                    428: PerlAccessHandler       Apache::lonacc
                    429: SetHandler perl-script
                    430: PerlHandler Apache::lonretrieve
                    431: ErrorDocument     403 /adm/login
                    432: ErrorDocument     404 /adm/notfound.html
1.18      www       433: ErrorDocument     406 /adm/unauthorized
1.1       harris41  434: ErrorDocument	  500 /adm/errorhandler
                    435: </Location>
                    436: 
                    437: <Location /adm/cfile>
                    438: PerlAccessHandler       Apache::lonacc
                    439: SetHandler perl-script
                    440: PerlHandler Apache::loncfile
                    441: ErrorDocument     403 /adm/login
                    442: ErrorDocument     404 /adm/notfound.html
1.18      www       443: ErrorDocument     406 /adm/unauthorized
1.1       harris41  444: ErrorDocument	  500 /adm/errorhandler
                    445: </Location>
                    446: 
                    447: <Location /adm/diff>
                    448: PerlAccessHandler       Apache::lonacc
                    449: SetHandler perl-script
                    450: PerlHandler Apache::londiff
                    451: ErrorDocument     403 /adm/login
                    452: ErrorDocument     404 /adm/notfound.html
1.18      www       453: ErrorDocument     406 /adm/unauthorized
1.1       harris41  454: ErrorDocument	  500 /adm/errorhandler
                    455: </Location>
                    456: 
                    457: <Location /adm/upload>
                    458: PerlAccessHandler       Apache::lonacc
                    459: SetHandler perl-script
                    460: PerlHandler Apache::lonupload
                    461: ErrorDocument     403 /adm/login
                    462: ErrorDocument     404 /adm/notfound.html
1.18      www       463: ErrorDocument     406 /adm/unauthorized
1.1       harris41  464: ErrorDocument	  500 /adm/errorhandler
                    465: </Location>
                    466: 
                    467: <Location /adm/assesscalc>
                    468: PerlAccessHandler       Apache::lonacc
                    469: SetHandler perl-script
                    470: PerlHandler Apache::lonspreadsheet
                    471: ErrorDocument     403 /adm/login
                    472: ErrorDocument     406 /adm/roles
1.20      www       473: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41  474: ErrorDocument	  500 /adm/errorhandler
                    475: </Location>
                    476: 
                    477: <Location /adm/studentcalc>
                    478: PerlAccessHandler       Apache::lonacc
                    479: SetHandler perl-script
                    480: PerlHandler Apache::lonspreadsheet
                    481: ErrorDocument     403 /adm/login
                    482: ErrorDocument     406 /adm/roles
1.20      www       483: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41  484: ErrorDocument	  500 /adm/errorhandler
                    485: </Location>
                    486: 
                    487: <Location /adm/classcalc>
                    488: PerlAccessHandler       Apache::lonacc
                    489: SetHandler perl-script
                    490: PerlHandler Apache::lonspreadsheet
                    491: ErrorDocument     403 /adm/login
                    492: ErrorDocument     406 /adm/roles
1.20      www       493: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41  494: ErrorDocument	  500 /adm/errorhandler
                    495: </Location>
                    496: 
                    497: <Location /adm/dropadd>
                    498: PerlAccessHandler       Apache::lonacc
                    499: SetHandler perl-script
                    500: PerlHandler Apache::londropadd
1.44      www       501: ErrorDocument     403 /adm/login
                    502: ErrorDocument     406 /adm/roles
                    503: ErrorDocument	  500 /adm/errorhandler
                    504: </Location>
                    505: 
                    506: <Location /adm/managekeys>
                    507: PerlAccessHandler       Apache::lonacc
                    508: SetHandler perl-script
                    509: PerlHandler Apache::lonmanagekeys
1.1       harris41  510: ErrorDocument     403 /adm/login
                    511: ErrorDocument     406 /adm/roles
                    512: ErrorDocument	  500 /adm/errorhandler
                    513: </Location>
                    514: 
                    515: <Location /adm/printout>
                    516: PerlAccessHandler       Apache::lonacc
                    517: SetHandler perl-script
                    518: PerlHandler Apache::lonprintout
                    519: ErrorDocument     403 /adm/login
1.20      www       520: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41  521: ErrorDocument	  500 /adm/errorhandler
                    522: </Location>
                    523: 
                    524: <Location /adm/feedback>
                    525: PerlAccessHandler       Apache::lonacc
                    526: SetHandler perl-script
                    527: PerlHandler Apache::lonfeedback
1.10      www       528: ErrorDocument     403 /adm/login
                    529: ErrorDocument	  500 /adm/errorhandler
                    530: </Location>
                    531: 
                    532: <Location /adm/coursedocs>
                    533: PerlAccessHandler       Apache::lonacc
                    534: SetHandler perl-script
1.53      albertel  535: PerlCleanupHandler Apache::londocs::untiehash
1.10      www       536: PerlHandler Apache::londocs
                    537: ErrorDocument     403 /adm/login
                    538: ErrorDocument	  500 /adm/errorhandler
                    539: </Location>
                    540: 
                    541: <Location /adm/announcements>
                    542: PerlAccessHandler       Apache::lonacc
                    543: SetHandler perl-script
                    544: PerlHandler Apache::lonannounce
                    545: ErrorDocument     403 /adm/login
                    546: ErrorDocument	  500 /adm/errorhandler
                    547: </Location>
                    548: 
                    549: <Location /adm/chat>
                    550: PerlAccessHandler       Apache::lonacc
                    551: SetHandler perl-script
                    552: PerlHandler Apache::lonchat
1.13      www       553: ErrorDocument	  500 /adm/errorhandler
                    554: </Location>
                    555: 
                    556: <Location /adm/chatfetch>
                    557: PerlAccessHandler       Apache::lonacc
                    558: SetHandler perl-script
                    559: PerlHandler Apache::lonchatfetch
1.20      www       560: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41  561: ErrorDocument	  500 /adm/errorhandler
                    562: </Location>
                    563: 
                    564: <Location /adm/evaluate>
                    565: PerlAccessHandler       Apache::lonacc
                    566: SetHandler perl-script
                    567: PerlHandler Apache::lonevaluate
                    568: ErrorDocument     403 /adm/login
                    569: ErrorDocument	  500 /adm/errorhandler
                    570: </Location>
                    571: 
                    572: <Location /adm/preferences>
                    573: PerlAccessHandler       Apache::lonacc
                    574: SetHandler perl-script
                    575: PerlHandler Apache::lonpreferences
                    576: ErrorDocument     403 /adm/login
                    577: ErrorDocument	  500 /adm/errorhandler
                    578: </Location>
                    579: 
                    580: <Location /adm/assignments>
                    581: PerlAccessHandler       Apache::lonacc
                    582: SetHandler perl-script
                    583: PerlHandler Apache::lonassignments
                    584: ErrorDocument     403 /adm/login
                    585: ErrorDocument     406 /adm/roles
                    586: ErrorDocument	  500 /adm/errorhandler
                    587: </Location>
                    588: 
                    589: <Location /adm/communicate>
                    590: PerlAccessHandler       Apache::lonacc
                    591: SetHandler perl-script
                    592: PerlHandler Apache::loncommunicate
                    593: ErrorDocument     403 /adm/login
                    594: ErrorDocument	  500 /adm/errorhandler
                    595: </Location>
                    596: 
                    597: <Location /adm/searchcat>
                    598: PerlAccessHandler       Apache::lonacc
                    599: SetHandler perl-script
                    600: PerlHandler Apache::lonsearchcat
1.28      www       601: PerlCleanupHandler Apache::lonsearchcat::cleanup
1.1       harris41  602: ErrorDocument     403 /adm/login
1.20      www       603: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41  604: ErrorDocument	  500 /adm/errorhandler
                    605: </Location>
                    606: 
                    607: <Location /adm/navmaps>
                    608: PerlAccessHandler       Apache::lonacc
                    609: SetHandler perl-script
                    610: PerlHandler Apache::lonnavmaps
                    611: ErrorDocument     403 /adm/login
                    612: ErrorDocument     406 /adm/roles
                    613: ErrorDocument	  500 /adm/errorhandler
1.26      bowersj2  614: </Location>
                    615: 
                    616: <Location /adm/quickgrades>
                    617: PerlAccessHandler       Apache::lonacc
                    618: SetHandler perl-script
                    619: PerlHandler Apache::lonquickgrades
                    620: ErrorDocument     403 /adm/login
                    621: ErrorDocument     406 /adm/roles
                    622: ErrorDocument     500 /adm/errorhandler
1.1       harris41  623: </Location>
                    624: 
                    625: <Location /adm/groupsort>
                    626: PerlAccessHandler	Apache::lonacc
                    627: SetHandler perl-script
                    628: PerlHandler Apache::groupsort
1.29      www       629: PerlCleanupHandler Apache::groupsort::cleanup
1.1       harris41  630: ErrorDocument     403 /adm/login
                    631: ErrorDocument	  500 /adm/errorhandler
                    632: </Location>
                    633: 
                    634: <Location /adm/errorhandler>
                    635: SetHandler perl-script
                    636: PerlHandler Apache::lonerrorhandler
                    637: </Location>
                    638: 
1.7       bowersj2  639: <LocationMatch "^/adm/help/.*\.hlp$">
                    640: SetHandler perl-script
                    641: PerlHandler Apache::lonhelp
                    642: </LocationMatch>
                    643: 
1.1       harris41  644: # ------------------------------------------------- Backdoor Adm Tests/Programs
                    645: 
                    646: <Location /cgi-bin/loncron.pl>
1.37      www       647: AuthName "LON-CAPA Network Administration"
                    648: AuthType Basic
                    649: AuthUserFile /home/httpd/lonTabs/htpasswd
                    650: require user lonadm
                    651: </Location>
                    652: 
                    653: <Location /cgi-bin/userstatus.pl>
1.1       harris41  654: AuthName "LON-CAPA Network Administration"
                    655: AuthType Basic
                    656: AuthUserFile /home/httpd/lonTabs/htpasswd
                    657: require user lonadm
                    658: </Location>
                    659: 
                    660: <Location /cgi-bin/lonversions.pl>
                    661: AuthName "LON-CAPA Network Administration"
                    662: AuthType Basic
                    663: AuthUserFile /home/httpd/lonTabs/htpasswd
                    664: require user lonadm
                    665: </Location>
                    666: 
                    667: <Location /cgi-bin/clusterstatus.pl>
                    668: AuthName "LON-CAPA Network Administration"
                    669: AuthType Basic
                    670: AuthUserFile /home/httpd/lonTabs/htpasswd
                    671: require user lonadm
                    672: </Location>
                    673: 
                    674: <Location /cgi-bin/metadata_keywords.pl>
                    675: AuthName "LON-CAPA Network Administration"
                    676: AuthType Basic
                    677: AuthUserFile /home/httpd/lonTabs/htpasswd
                    678: require user lonadm
1.22      www       679: </Location>
                    680: 
                    681: <Location /cgi-bin/metadata_harvest.pl>
                    682: AuthName "harvest"
                    683: AuthType Basic
                    684: AuthUserFile /home/httpd/lonTabs/htpasswd
                    685: require user  reaper
1.1       harris41  686: </Location>
                    687: 
                    688: <Location /adm/test>
                    689: AuthName "LON-CAPA Network Administration"
                    690: AuthType Basic
                    691: AuthUserFile /home/httpd/lonTabs/htpasswd
                    692: require user lonadm
                    693: SetHandler perl-script
                    694: PerlAccessHandler Apache::lonacc
                    695: PerlHandler Apache::lontest
                    696: </Location>
                    697: 
                    698: # ------------------------------------------------------- Shutting down a child
                    699: 
                    700: PerlChildExitHandler Apache::lonnet::goodbye
                    701: 
                    702: #
                    703: # LON-CAPA Section (extensions to access.conf permission configuration)
                    704: #
                    705: # =========================================================== Directory Options
                    706: 
                    707: # Start out with "no"
                    708: 
                    709: <Directory />
                    710: Options None
                    711: AllowOverride None
                    712: </Directory>
                    713: 
                    714: # Yes to symbolic links and server-side includes
                    715: 
                    716: <Directory /home/httpd/html>
                    717: Options Includes FollowSymLinks
                    718: AllowOverride None
                    719: order allow,deny
                    720: allow from all
                    721: </Directory>
                    722: 
                    723: # If it is in cgi-bin, then it can be executed as a CGI script.
                    724: 
                    725: <Directory /home/httpd/cgi-bin>
                    726: AllowOverride None
                    727: Options ExecCGI
                    728: </Directory>
                    729: 
                    730: # ============================================================= Access Handlers
                    731: 
                    732: # ------------------------------------------------- Allow server-status reports
                    733: <Location /server-status>
                    734: SetHandler server-status
                    735: AuthName "LON-CAPA Network Administration"
                    736: AuthType Basic
                    737: AuthUserFile /home/httpd/lonTabs/htpasswd
                    738: require user lonadm
                    739: </Location>
                    740: 
                    741: # ------------------------ Allow LON-CAPA "low-level" connection status reports
                    742: <Location /lon-status>
                    743: AuthName "LON-CAPA Network Administration"
                    744: AuthType Basic
                    745: AuthUserFile /home/httpd/lonTabs/htpasswd
                    746: require user lonadm
                    747: </Location>
                    748: 
                    749: # ------------------- Allow access to local system documentation from localhost
                    750: Alias /doc /usr/doc
                    751: <Directory /usr/doc>
                    752: order deny,allow
                    753: deny from all
                    754: allow from localhost
                    755: Options Indexes FollowSymLinks
                    756: </Directory>
                    757: 
                    758: # ******** THESE "SHOULD" NEVER BE ALTERED BY THE USER ************************
                    759: # ====================================== Internal Settings / Perl Configuration
                    760: 
                    761: PerlSetVar       lonIDsDir    /home/httpd/lonIDs
                    762: PerlSetVar       lonTabDir    /home/httpd/lonTabs
                    763: PerlSetVar       lonUsersDir  /home/httpd/lonUsers
                    764: PerlSetVar       lonIconsURL  /adm/lonIcons
                    765: PerlSetVar       londPort     5663
                    766: PerlSetVar       lonSysEMail  korte@lite.msu.edu
                    767: PerlSetVar       lonDaemons   /home/httpd/perl
                    768: PerlSetVar       lonSockDir   /home/httpd/sockets
                    769: PerlSetVar       lonDocRoot   /home/httpd/html
                    770: PerlSetVar       lonIncludes  /home/httpd/html/res/adm/includes
1.25      albertel  771: PerlSetVar       lonBrowsDet  netscape:mozilla:msie:mozilla\/(\d+\.\d+)\s:9999:9999&explorer:msie:netscape:msie\s(\d+\.\d+)\;:9999:9999&mozilla:mozilla\/[5-9]:msie:mozilla\/(\d+\.\d+)\s:9999:1&amaya:amaya:mozilla:V(\d+\.\d+)\s:1:1
1.35      www       772: PerlSetVar       lonTextBrowsers opera:windows\s+ce:lynx
1.43      albertel  773: PerlSetVar       lonScansDir  /home/httpd/scantron
                    774: PerlSetVar       lonScriptTimeout 10
1.2       harris41  775: # -----------------------------------------------------------------------------
                    776: # NOTE: lonSqlAccess key is the password for the MySQL user
                    777: # www@localhost.  This value must always be "localhostkey".
                    778: # The only security risk occurs when somebody logs in as 'www' on your system
                    779: # (in which case you have much bigger problems than whether or not they
                    780: # can access the non-authoritative loncapa database on your machine).
                    781: 
                    782: PerlSetVar       lonSqlAccess   localhostkey
                    783: 
                    784: # -----------------------------------------------------------------------------
1.36      albertel  785: # lonttpdPort is the port used by the lightweight graphics httpd server
                    786: # not the main Apache server
                    787: PerlSetVar       lonhttpdPort  8080
                    788: 
1.2       harris41  789: 
                    790: 
1.8       harris41  791: # ====================================== Include machine-specific configuration
1.2       harris41  792: 
                    793: Include conf/loncapa.conf
1.1       harris41  794: 
                    795: # ================================================== Initiate mod_perl starting
                    796: 
                    797: PerlRequire      conf/startup.pl
1.47      albertel  798: <IfDefine !MODPERL2>
1.1       harris41  799: PerlFreshRestart On
1.47      albertel  800: </IfDefine>

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