Annotation of loncom/loncapa_apache.conf, revision 1.31

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

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