Annotation of loncom/loncapa_apache.conf, revision 1.44

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

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