Annotation of loncom/loncapa_apache.conf, revision 1.23

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

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