Annotation of loncom/loncapa_apache.conf, revision 1.39

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

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