Annotation of loncom/loncapa_apache.conf, revision 1.27

1.1       harris41    1: ##
                      2: ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
                      3: ##
1.27    ! www         4: ## $Id: loncapa_apache.conf,v 1.26 2002/11/14 21:36:23 bowersj2 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
                    531: ErrorDocument     403 /adm/login
1.20      www       532: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41  533: ErrorDocument	  500 /adm/errorhandler
                    534: </Location>
                    535: 
                    536: <Location /adm/navmaps>
                    537: PerlAccessHandler       Apache::lonacc
                    538: SetHandler perl-script
                    539: PerlHandler Apache::lonnavmaps
                    540: ErrorDocument     403 /adm/login
                    541: ErrorDocument     406 /adm/roles
                    542: ErrorDocument	  500 /adm/errorhandler
1.26      bowersj2  543: </Location>
                    544: 
                    545: <Location /adm/quickgrades>
                    546: PerlAccessHandler       Apache::lonacc
                    547: SetHandler perl-script
                    548: PerlHandler Apache::lonquickgrades
                    549: ErrorDocument     403 /adm/login
                    550: ErrorDocument     406 /adm/roles
                    551: ErrorDocument     500 /adm/errorhandler
1.1       harris41  552: </Location>
                    553: 
                    554: <Location /adm/groupsort>
                    555: PerlAccessHandler	Apache::lonacc
                    556: SetHandler perl-script
                    557: PerlHandler Apache::groupsort
                    558: ErrorDocument     403 /adm/login
                    559: ErrorDocument	  500 /adm/errorhandler
                    560: </Location>
                    561: 
                    562: <Location /adm/errorhandler>
                    563: SetHandler perl-script
                    564: PerlHandler Apache::lonerrorhandler
                    565: </Location>
                    566: 
1.7       bowersj2  567: <LocationMatch "^/adm/help/.*\.hlp$">
                    568: SetHandler perl-script
                    569: PerlHandler Apache::lonhelp
                    570: </LocationMatch>
                    571: 
1.1       harris41  572: # ------------------------------------------------- Backdoor Adm Tests/Programs
                    573: 
                    574: <Location /cgi-bin/loncron.pl>
                    575: AuthName "LON-CAPA Network Administration"
                    576: AuthType Basic
                    577: AuthUserFile /home/httpd/lonTabs/htpasswd
                    578: require user lonadm
                    579: </Location>
                    580: 
                    581: <Location /cgi-bin/lonversions.pl>
                    582: AuthName "LON-CAPA Network Administration"
                    583: AuthType Basic
                    584: AuthUserFile /home/httpd/lonTabs/htpasswd
                    585: require user lonadm
                    586: </Location>
                    587: 
                    588: <Location /cgi-bin/clusterstatus.pl>
                    589: AuthName "LON-CAPA Network Administration"
                    590: AuthType Basic
                    591: AuthUserFile /home/httpd/lonTabs/htpasswd
                    592: require user lonadm
                    593: </Location>
                    594: 
                    595: <Location /cgi-bin/metadata_keywords.pl>
                    596: AuthName "LON-CAPA Network Administration"
                    597: AuthType Basic
                    598: AuthUserFile /home/httpd/lonTabs/htpasswd
                    599: require user lonadm
1.22      www       600: </Location>
                    601: 
                    602: <Location /cgi-bin/metadata_harvest.pl>
                    603: AuthName "harvest"
                    604: AuthType Basic
                    605: AuthUserFile /home/httpd/lonTabs/htpasswd
                    606: require user  reaper
1.1       harris41  607: </Location>
                    608: 
                    609: <Location /adm/test>
                    610: AuthName "LON-CAPA Network Administration"
                    611: AuthType Basic
                    612: AuthUserFile /home/httpd/lonTabs/htpasswd
                    613: require user lonadm
                    614: SetHandler perl-script
                    615: PerlAccessHandler Apache::lonacc
                    616: PerlHandler Apache::lontest
                    617: </Location>
                    618: 
                    619: # ------------------------------------------------------- Shutting down a child
                    620: 
                    621: PerlChildExitHandler Apache::lonnet::goodbye
                    622: 
                    623: #
                    624: # LON-CAPA Section (extensions to access.conf permission configuration)
                    625: #
                    626: # =========================================================== Directory Options
                    627: 
                    628: # Start out with "no"
                    629: 
                    630: <Directory />
                    631: Options None
                    632: AllowOverride None
                    633: </Directory>
                    634: 
                    635: # Yes to symbolic links and server-side includes
                    636: 
                    637: <Directory /home/httpd/html>
                    638: Options Includes FollowSymLinks
                    639: AllowOverride None
                    640: order allow,deny
                    641: allow from all
                    642: </Directory>
                    643: 
                    644: # If it is in cgi-bin, then it can be executed as a CGI script.
                    645: 
                    646: <Directory /home/httpd/cgi-bin>
                    647: AllowOverride None
                    648: Options ExecCGI
                    649: </Directory>
                    650: 
                    651: # ============================================================= Access Handlers
                    652: 
                    653: # ------------------------------------------------- Allow server-status reports
                    654: <Location /server-status>
                    655: SetHandler server-status
                    656: AuthName "LON-CAPA Network Administration"
                    657: AuthType Basic
                    658: AuthUserFile /home/httpd/lonTabs/htpasswd
                    659: require user lonadm
                    660: </Location>
                    661: 
                    662: # ------------------------ Allow LON-CAPA "low-level" connection status reports
                    663: <Location /lon-status>
                    664: AuthName "LON-CAPA Network Administration"
                    665: AuthType Basic
                    666: AuthUserFile /home/httpd/lonTabs/htpasswd
                    667: require user lonadm
                    668: </Location>
                    669: 
                    670: # ------------------- Allow access to local system documentation from localhost
                    671: Alias /doc /usr/doc
                    672: <Directory /usr/doc>
                    673: order deny,allow
                    674: deny from all
                    675: allow from localhost
                    676: Options Indexes FollowSymLinks
                    677: </Directory>
                    678: 
                    679: # ******** THESE "SHOULD" NEVER BE ALTERED BY THE USER ************************
                    680: # ====================================== Internal Settings / Perl Configuration
                    681: 
                    682: PerlSetVar       lonIDsDir    /home/httpd/lonIDs
                    683: PerlSetVar       lonTabDir    /home/httpd/lonTabs
                    684: PerlSetVar       lonUsersDir  /home/httpd/lonUsers
                    685: PerlSetVar       lonIconsURL  /adm/lonIcons
                    686: PerlSetVar       londPort     5663
                    687: PerlSetVar       lonSysEMail  korte@lite.msu.edu
                    688: PerlSetVar       lonDaemons   /home/httpd/perl
                    689: PerlSetVar       lonSockDir   /home/httpd/sockets
                    690: PerlSetVar       lonDocRoot   /home/httpd/html
                    691: PerlSetVar       lonIncludes  /home/httpd/html/res/adm/includes
1.25      albertel  692: 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  693: 
                    694: # -----------------------------------------------------------------------------
                    695: # NOTE: lonSqlAccess key is the password for the MySQL user
                    696: # www@localhost.  This value must always be "localhostkey".
                    697: # The only security risk occurs when somebody logs in as 'www' on your system
                    698: # (in which case you have much bigger problems than whether or not they
                    699: # can access the non-authoritative loncapa database on your machine).
                    700: 
                    701: PerlSetVar       lonSqlAccess   localhostkey
                    702: 
                    703: # -----------------------------------------------------------------------------
                    704: 
                    705: 
1.8       harris41  706: # ====================================== Include machine-specific configuration
1.2       harris41  707: 
                    708: Include conf/loncapa.conf
1.1       harris41  709: 
                    710: # ================================================== Initiate mod_perl starting
                    711: 
                    712: PerlRequire      conf/startup.pl
                    713: PerlFreshRestart On

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