Annotation of loncom/loncapa_apache.conf, revision 1.26

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

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