Annotation of loncom/loncapa_apache.conf, revision 1.49

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

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