Annotation of loncom/loncapa_apache.conf, revision 1.28

1.1       harris41    1: ##
                      2: ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
                      3: ##
1.28    ! www         4: ## $Id: loncapa_apache.conf,v 1.27 2002/12/26 15:15:33 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
                    159: </LocationMatch>
                    160: 
                    161: <LocationMatch "^/(res|\~).*\.tex$">
                    162: SetHandler perl-script
                    163: PerlHandler Apache::lontex
                    164: </LocationMatch>
                    165: 
                    166: <LocationMatch "^/res/.*\.page$>
                    167: SetHandler perl-script
                    168: PerlHandler Apache::lonpage
                    169: </LocationMatch>
                    170: 
                    171: <LocationMatch "^/res/.*\.sequence$>
                    172: SetHandler perl-script
                    173: PerlHandler Apache::lonsequence
                    174: </LocationMatch>
                    175: 
1.8       harris41  176: <LocationMatch "^/(res|\~).*\.meta$>
1.1       harris41  177: SetHandler perl-script
                    178: PerlHandler Apache::lonmeta
                    179: </LocationMatch>
                    180: 
                    181: <LocationMatch "^/(res|\~).*\.(xml|html|htm|xhtml|xhtm)$">
                    182: SetHandler perl-script
                    183: PerlHandler Apache::lonxml
                    184: </LocationMatch>
                    185: 
                    186: <LocationMatch "^/(res|\~).*\.(problem|exam|quiz|assess|survey|form|library)$">
                    187: SetHandler perl-script
                    188: PerlHandler Apache::lonhomework
                    189: </LocationMatch>
                    190: 
                    191: <LocationMatch "^/adm/wrapper/">
                    192: PerlAccessHandler       Apache::lonacc
                    193: SetHandler perl-script
                    194: PerlHandler Apache::lonwrapper
                    195: ErrorDocument     403 /adm/login
                    196: ErrorDocument	  500 /adm/errorhandler
                    197: </LocationMatch>
                    198: 
                    199: # -------------------------------------------------------------- Admin Programs
1.24      albertel  200: 
                    201: <Location /adm/randomlabel.png>
                    202: PerlAccessHandler       Apache::lonacc
                    203: SetHandler perl-script
                    204: PerlHandler Apache::randomlylabel
                    205: ErrorDocument     403 /adm/login
                    206: ErrorDocument	  500 /adm/errorhandler
                    207: </Location>
1.1       harris41  208: 
                    209: <Location /adm/statistics>
                    210: PerlAccessHandler       Apache::lonacc
                    211: SetHandler perl-script
                    212: PerlHandler Apache::lonstatistics
                    213: ErrorDocument     403 /adm/login
1.20      www       214: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41  215: ErrorDocument	  500 /adm/errorhandler
                    216: </Location>
                    217: 
                    218: <Location /adm/roles>
                    219: PerlAccessHandler       Apache::lonacc
                    220: SetHandler perl-script
                    221: PerlHandler Apache::lonroles
1.27      www       222: ErrorDocument     403 /adm/login
                    223: ErrorDocument	  500 /adm/errorhandler
                    224: </Location>
                    225: 
                    226: <Location /adm/pickstudent>
                    227: PerlAccessHandler       Apache::lonacc
                    228: SetHandler perl-script
                    229: PerlHandler Apache::lonpickstudent
1.1       harris41  230: ErrorDocument     403 /adm/login
                    231: ErrorDocument	  500 /adm/errorhandler
                    232: </Location>
                    233: 
                    234: <Location /adm/login>
                    235: SetHandler perl-script
                    236: PerlHandler Apache::lonlogin
                    237: </Location>
                    238: 
                    239: <Location /adm/logout>
                    240: PerlAccessHandler       Apache::lonacc
                    241: SetHandler perl-script
                    242: PerlHandler Apache::lonlogout
                    243: ErrorDocument     403 /adm/login
                    244: </Location>
                    245: 
                    246: <Location /adm/authenticate>
                    247: SetHandler perl-script
                    248: PerlHandler Apache::lonauth
                    249: </Location>
                    250: 
                    251: <Location /adm/annotations>
                    252: PerlAccessHandler       Apache::lonacc
                    253: SetHandler perl-script
                    254: PerlHandler Apache::admannotations
                    255: ErrorDocument     403 /adm/login
                    256: ErrorDocument	  500 /adm/errorhandler
                    257: </Location>
                    258: 
                    259: <Location /adm/bookmarks>
                    260: PerlAccessHandler       Apache::lonacc
                    261: SetHandler perl-script
                    262: PerlHandler Apache::admbookmarks
                    263: ErrorDocument     403 /adm/login
                    264: ErrorDocument	  500 /adm/errorhandler
                    265: </Location>
                    266: 
                    267: <Location /adm/flip>
                    268: PerlAccessHandler       Apache::lonacc
                    269: SetHandler perl-script
                    270: PerlHandler Apache::lonpageflip
                    271: ErrorDocument     406 /adm/roles
                    272: ErrorDocument     403 /adm/login
                    273: ErrorDocument	  500 /adm/errorhandler
                    274: </Location>
                    275: 
                    276: <Location /adm/ambiguous>
                    277: PerlAccessHandler       Apache::lonacc
                    278: SetHandler perl-script
                    279: PerlHandler Apache::lonambiguous
                    280: ErrorDocument     403 /adm/login
                    281: ErrorDocument	  500 /adm/errorhandler
                    282: </Location>
                    283: 
                    284: <Location /adm/email>
                    285: PerlAccessHandler       Apache::lonacc
                    286: SetHandler perl-script
                    287: PerlHandler Apache::lonmsg
                    288: ErrorDocument     403 /adm/login
                    289: ErrorDocument	  500 /adm/errorhandler
                    290: </Location>
                    291: 
                    292: <Location /adm/parmset>
                    293: PerlAccessHandler       Apache::lonacc
                    294: SetHandler perl-script
                    295: PerlHandler Apache::lonparmset
                    296: ErrorDocument     403 /adm/login
                    297: ErrorDocument     406 /adm/roles
                    298: ErrorDocument	  500 /adm/errorhandler
                    299: </Location>
                    300: 
                    301: <Location /adm/grades>
                    302: PerlAccessHandler       Apache::lonacc
                    303: SetHandler perl-script
                    304: PerlHandler Apache::grades
                    305: ErrorDocument     403 /adm/login
                    306: ErrorDocument     406 /adm/roles
                    307: ErrorDocument	  500 /adm/errorhandler
                    308: </Location>
                    309: 
                    310: <Location /adm/createcourse>
                    311: PerlAccessHandler       Apache::lonacc
                    312: SetHandler perl-script
                    313: PerlHandler Apache::loncreatecourse
                    314: ErrorDocument     403 /adm/login
                    315: ErrorDocument     406 /adm/roles
                    316: ErrorDocument	  500 /adm/errorhandler
                    317: </Location>
                    318: 
                    319: <Location /adm/createuser>
                    320: PerlAccessHandler       Apache::lonacc
                    321: SetHandler perl-script
                    322: PerlHandler Apache::loncreateuser
                    323: ErrorDocument     403 /adm/login
                    324: ErrorDocument     406 /adm/roles
                    325: ErrorDocument	  500 /adm/errorhandler
                    326: </Location>
                    327: 
                    328: <Location /adm/publish>
                    329: PerlAccessHandler       Apache::lonacc
                    330: SetHandler perl-script
                    331: PerlHandler Apache::lonpublisher
                    332: ErrorDocument     403 /adm/login
                    333: ErrorDocument     404 /adm/notfound.html
1.18      www       334: ErrorDocument     406 /adm/unauthorized
1.1       harris41  335: ErrorDocument	  500 /adm/errorhandler
                    336: </Location>
                    337: 
                    338: <LocationMatch "^/\~.*/$">
                    339: PerlAccessHandler       Apache::loncacc
                    340: SetHandler perl-script
                    341: PerlHandler Apache::lonpubdir
                    342: ErrorDocument     403 /adm/login
                    343: ErrorDocument     404 /adm/notfound.html
1.18      www       344: ErrorDocument     406 /adm/unauthorized
1.1       harris41  345: ErrorDocument	  500 /adm/errorhandler
                    346: </LocationMatch>
                    347: 
                    348: <Location /adm/pubdir>
                    349: PerlAccessHandler       Apache::lonacc
                    350: SetHandler perl-script
                    351: PerlHandler Apache::lonpubdir
                    352: ErrorDocument     403 /adm/login
                    353: ErrorDocument     404 /adm/notfound.html
1.18      www       354: ErrorDocument     406 /adm/unauthorized
                    355: ErrorDocument	  500 /adm/errorhandler
                    356: </Location>
                    357: 
                    358: <Location /adm/unauthorized>
                    359: PerlAccessHandler       Apache::lonacc
                    360: SetHandler perl-script
                    361: PerlHandler Apache::lonunauthorized
                    362: ErrorDocument     403 /adm/login
                    363: ErrorDocument     404 /adm/notfound.html
1.1       harris41  364: ErrorDocument	  500 /adm/errorhandler
                    365: </Location>
                    366: 
                    367: <Location /adm/retrieve>
                    368: PerlAccessHandler       Apache::lonacc
                    369: SetHandler perl-script
                    370: PerlHandler Apache::lonretrieve
                    371: ErrorDocument     403 /adm/login
                    372: ErrorDocument     404 /adm/notfound.html
1.18      www       373: ErrorDocument     406 /adm/unauthorized
1.1       harris41  374: ErrorDocument	  500 /adm/errorhandler
                    375: </Location>
                    376: 
                    377: <Location /adm/cfile>
                    378: PerlAccessHandler       Apache::lonacc
                    379: SetHandler perl-script
                    380: PerlHandler Apache::loncfile
                    381: ErrorDocument     403 /adm/login
                    382: ErrorDocument     404 /adm/notfound.html
1.18      www       383: ErrorDocument     406 /adm/unauthorized
1.1       harris41  384: ErrorDocument	  500 /adm/errorhandler
                    385: </Location>
                    386: 
                    387: <Location /adm/diff>
                    388: PerlAccessHandler       Apache::lonacc
                    389: SetHandler perl-script
                    390: PerlHandler Apache::londiff
                    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/upload>
                    398: PerlAccessHandler       Apache::lonacc
                    399: SetHandler perl-script
                    400: PerlHandler Apache::lonupload
                    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/assesscalc>
                    408: PerlAccessHandler       Apache::lonacc
                    409: SetHandler perl-script
                    410: PerlHandler Apache::lonspreadsheet
                    411: ErrorDocument     403 /adm/login
                    412: ErrorDocument     406 /adm/roles
1.20      www       413: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41  414: ErrorDocument	  500 /adm/errorhandler
                    415: </Location>
                    416: 
                    417: <Location /adm/studentcalc>
                    418: PerlAccessHandler       Apache::lonacc
                    419: SetHandler perl-script
                    420: PerlHandler Apache::lonspreadsheet
                    421: ErrorDocument     403 /adm/login
                    422: ErrorDocument     406 /adm/roles
1.20      www       423: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41  424: ErrorDocument	  500 /adm/errorhandler
                    425: </Location>
                    426: 
                    427: <Location /adm/classcalc>
                    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/dropadd>
                    438: PerlAccessHandler       Apache::lonacc
                    439: SetHandler perl-script
                    440: PerlHandler Apache::londropadd
                    441: ErrorDocument     403 /adm/login
                    442: ErrorDocument     406 /adm/roles
                    443: ErrorDocument	  500 /adm/errorhandler
                    444: </Location>
                    445: 
                    446: <Location /adm/printout>
                    447: PerlAccessHandler       Apache::lonacc
                    448: SetHandler perl-script
                    449: PerlHandler Apache::lonprintout
                    450: ErrorDocument     403 /adm/login
1.20      www       451: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41  452: ErrorDocument	  500 /adm/errorhandler
                    453: </Location>
                    454: 
                    455: <Location /adm/feedback>
                    456: PerlAccessHandler       Apache::lonacc
                    457: SetHandler perl-script
                    458: PerlHandler Apache::lonfeedback
1.10      www       459: ErrorDocument     403 /adm/login
                    460: ErrorDocument	  500 /adm/errorhandler
                    461: </Location>
                    462: 
                    463: <Location /adm/coursedocs>
                    464: PerlAccessHandler       Apache::lonacc
                    465: SetHandler perl-script
                    466: PerlHandler Apache::londocs
                    467: ErrorDocument     403 /adm/login
                    468: ErrorDocument	  500 /adm/errorhandler
                    469: </Location>
                    470: 
                    471: <Location /adm/announcements>
                    472: PerlAccessHandler       Apache::lonacc
                    473: SetHandler perl-script
                    474: PerlHandler Apache::lonannounce
                    475: ErrorDocument     403 /adm/login
                    476: ErrorDocument	  500 /adm/errorhandler
                    477: </Location>
                    478: 
                    479: <Location /adm/chat>
                    480: PerlAccessHandler       Apache::lonacc
                    481: SetHandler perl-script
                    482: PerlHandler Apache::lonchat
1.13      www       483: ErrorDocument	  500 /adm/errorhandler
                    484: </Location>
                    485: 
                    486: <Location /adm/chatfetch>
                    487: PerlAccessHandler       Apache::lonacc
                    488: SetHandler perl-script
                    489: PerlHandler Apache::lonchatfetch
1.20      www       490: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41  491: ErrorDocument	  500 /adm/errorhandler
                    492: </Location>
                    493: 
                    494: <Location /adm/evaluate>
                    495: PerlAccessHandler       Apache::lonacc
                    496: SetHandler perl-script
                    497: PerlHandler Apache::lonevaluate
                    498: ErrorDocument     403 /adm/login
                    499: ErrorDocument	  500 /adm/errorhandler
                    500: </Location>
                    501: 
                    502: <Location /adm/preferences>
                    503: PerlAccessHandler       Apache::lonacc
                    504: SetHandler perl-script
                    505: PerlHandler Apache::lonpreferences
                    506: ErrorDocument     403 /adm/login
                    507: ErrorDocument	  500 /adm/errorhandler
                    508: </Location>
                    509: 
                    510: <Location /adm/assignments>
                    511: PerlAccessHandler       Apache::lonacc
                    512: SetHandler perl-script
                    513: PerlHandler Apache::lonassignments
                    514: ErrorDocument     403 /adm/login
                    515: ErrorDocument     406 /adm/roles
                    516: ErrorDocument	  500 /adm/errorhandler
                    517: </Location>
                    518: 
                    519: <Location /adm/communicate>
                    520: PerlAccessHandler       Apache::lonacc
                    521: SetHandler perl-script
                    522: PerlHandler Apache::loncommunicate
                    523: ErrorDocument     403 /adm/login
                    524: ErrorDocument	  500 /adm/errorhandler
                    525: </Location>
                    526: 
                    527: <Location /adm/searchcat>
                    528: PerlAccessHandler       Apache::lonacc
                    529: SetHandler perl-script
                    530: PerlHandler Apache::lonsearchcat
1.28    ! www       531: PerlCleanupHandler Apache::lonsearchcat::cleanup
1.1       harris41  532: ErrorDocument     403 /adm/login
1.20      www       533: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41  534: ErrorDocument	  500 /adm/errorhandler
                    535: </Location>
                    536: 
                    537: <Location /adm/navmaps>
                    538: PerlAccessHandler       Apache::lonacc
                    539: SetHandler perl-script
                    540: PerlHandler Apache::lonnavmaps
                    541: ErrorDocument     403 /adm/login
                    542: ErrorDocument     406 /adm/roles
                    543: ErrorDocument	  500 /adm/errorhandler
1.26      bowersj2  544: </Location>
                    545: 
                    546: <Location /adm/quickgrades>
                    547: PerlAccessHandler       Apache::lonacc
                    548: SetHandler perl-script
                    549: PerlHandler Apache::lonquickgrades
                    550: ErrorDocument     403 /adm/login
                    551: ErrorDocument     406 /adm/roles
                    552: ErrorDocument     500 /adm/errorhandler
1.1       harris41  553: </Location>
                    554: 
                    555: <Location /adm/groupsort>
                    556: PerlAccessHandler	Apache::lonacc
                    557: SetHandler perl-script
                    558: PerlHandler Apache::groupsort
                    559: ErrorDocument     403 /adm/login
                    560: ErrorDocument	  500 /adm/errorhandler
                    561: </Location>
                    562: 
                    563: <Location /adm/errorhandler>
                    564: SetHandler perl-script
                    565: PerlHandler Apache::lonerrorhandler
                    566: </Location>
                    567: 
1.7       bowersj2  568: <LocationMatch "^/adm/help/.*\.hlp$">
                    569: SetHandler perl-script
                    570: PerlHandler Apache::lonhelp
                    571: </LocationMatch>
                    572: 
1.1       harris41  573: # ------------------------------------------------- Backdoor Adm Tests/Programs
                    574: 
                    575: <Location /cgi-bin/loncron.pl>
                    576: AuthName "LON-CAPA Network Administration"
                    577: AuthType Basic
                    578: AuthUserFile /home/httpd/lonTabs/htpasswd
                    579: require user lonadm
                    580: </Location>
                    581: 
                    582: <Location /cgi-bin/lonversions.pl>
                    583: AuthName "LON-CAPA Network Administration"
                    584: AuthType Basic
                    585: AuthUserFile /home/httpd/lonTabs/htpasswd
                    586: require user lonadm
                    587: </Location>
                    588: 
                    589: <Location /cgi-bin/clusterstatus.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/metadata_keywords.pl>
                    597: AuthName "LON-CAPA Network Administration"
                    598: AuthType Basic
                    599: AuthUserFile /home/httpd/lonTabs/htpasswd
                    600: require user lonadm
1.22      www       601: </Location>
                    602: 
                    603: <Location /cgi-bin/metadata_harvest.pl>
                    604: AuthName "harvest"
                    605: AuthType Basic
                    606: AuthUserFile /home/httpd/lonTabs/htpasswd
                    607: require user  reaper
1.1       harris41  608: </Location>
                    609: 
                    610: <Location /adm/test>
                    611: AuthName "LON-CAPA Network Administration"
                    612: AuthType Basic
                    613: AuthUserFile /home/httpd/lonTabs/htpasswd
                    614: require user lonadm
                    615: SetHandler perl-script
                    616: PerlAccessHandler Apache::lonacc
                    617: PerlHandler Apache::lontest
                    618: </Location>
                    619: 
                    620: # ------------------------------------------------------- Shutting down a child
                    621: 
                    622: PerlChildExitHandler Apache::lonnet::goodbye
                    623: 
                    624: #
                    625: # LON-CAPA Section (extensions to access.conf permission configuration)
                    626: #
                    627: # =========================================================== Directory Options
                    628: 
                    629: # Start out with "no"
                    630: 
                    631: <Directory />
                    632: Options None
                    633: AllowOverride None
                    634: </Directory>
                    635: 
                    636: # Yes to symbolic links and server-side includes
                    637: 
                    638: <Directory /home/httpd/html>
                    639: Options Includes FollowSymLinks
                    640: AllowOverride None
                    641: order allow,deny
                    642: allow from all
                    643: </Directory>
                    644: 
                    645: # If it is in cgi-bin, then it can be executed as a CGI script.
                    646: 
                    647: <Directory /home/httpd/cgi-bin>
                    648: AllowOverride None
                    649: Options ExecCGI
                    650: </Directory>
                    651: 
                    652: # ============================================================= Access Handlers
                    653: 
                    654: # ------------------------------------------------- Allow server-status reports
                    655: <Location /server-status>
                    656: SetHandler server-status
                    657: AuthName "LON-CAPA Network Administration"
                    658: AuthType Basic
                    659: AuthUserFile /home/httpd/lonTabs/htpasswd
                    660: require user lonadm
                    661: </Location>
                    662: 
                    663: # ------------------------ Allow LON-CAPA "low-level" connection status reports
                    664: <Location /lon-status>
                    665: AuthName "LON-CAPA Network Administration"
                    666: AuthType Basic
                    667: AuthUserFile /home/httpd/lonTabs/htpasswd
                    668: require user lonadm
                    669: </Location>
                    670: 
                    671: # ------------------- Allow access to local system documentation from localhost
                    672: Alias /doc /usr/doc
                    673: <Directory /usr/doc>
                    674: order deny,allow
                    675: deny from all
                    676: allow from localhost
                    677: Options Indexes FollowSymLinks
                    678: </Directory>
                    679: 
                    680: # ******** THESE "SHOULD" NEVER BE ALTERED BY THE USER ************************
                    681: # ====================================== Internal Settings / Perl Configuration
                    682: 
                    683: PerlSetVar       lonIDsDir    /home/httpd/lonIDs
                    684: PerlSetVar       lonTabDir    /home/httpd/lonTabs
                    685: PerlSetVar       lonUsersDir  /home/httpd/lonUsers
                    686: PerlSetVar       lonIconsURL  /adm/lonIcons
                    687: PerlSetVar       londPort     5663
                    688: PerlSetVar       lonSysEMail  korte@lite.msu.edu
                    689: PerlSetVar       lonDaemons   /home/httpd/perl
                    690: PerlSetVar       lonSockDir   /home/httpd/sockets
                    691: PerlSetVar       lonDocRoot   /home/httpd/html
                    692: PerlSetVar       lonIncludes  /home/httpd/html/res/adm/includes
1.25      albertel  693: 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  694: 
                    695: # -----------------------------------------------------------------------------
                    696: # NOTE: lonSqlAccess key is the password for the MySQL user
                    697: # www@localhost.  This value must always be "localhostkey".
                    698: # The only security risk occurs when somebody logs in as 'www' on your system
                    699: # (in which case you have much bigger problems than whether or not they
                    700: # can access the non-authoritative loncapa database on your machine).
                    701: 
                    702: PerlSetVar       lonSqlAccess   localhostkey
                    703: 
                    704: # -----------------------------------------------------------------------------
                    705: 
                    706: 
1.8       harris41  707: # ====================================== Include machine-specific configuration
1.2       harris41  708: 
                    709: Include conf/loncapa.conf
1.1       harris41  710: 
                    711: # ================================================== Initiate mod_perl starting
                    712: 
                    713: PerlRequire      conf/startup.pl
                    714: PerlFreshRestart On

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