Annotation of loncom/loncapa_apache.conf, revision 1.18

1.1       harris41    1: ##
                      2: ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
                      3: ##
1.18    ! www         4: ## $Id: loncapa_apache.conf,v 1.17 2002/08/27 13:23:01 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.1       harris41   48: <LocationMatch "^/res.*">
                     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: 
                     57: <LocationMatch "^/userfiles.*">
                     58: PerlAccessHandler       Apache::lontokacc
1.12      www        59: </LocationMatch>
                     60: 
1.13      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.17      www        67: <LocationMatch "^/public/.*/syllabus">
                     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.11      www        79: ErrorDocument     404 /adm/notfound.html
1.1       harris41   80: ErrorDocument	  500 /adm/errorhandler
                     81: </LocationMatch>
                     82: 
                     83: <LocationMatch "^/priv.*">
                     84: PerlAccessHandler Apache::loncacc
                     85: SetHandler        perl-script
                     86: PerlHandler       Apache::lonconstruct
                     87: ErrorDocument     403 /adm/login
                     88: ErrorDocument     404 /adm/notfound.html
1.18    ! www        89: ErrorDocument     406 /adm/unauthorized
1.1       harris41   90: ErrorDocument	  500 /adm/errorhandler
                     91: </LocationMatch>
                     92: 
                     93: <LocationMatch "^/raw.*">
                     94: PerlAccessHandler Apache::lonracc
                     95: </LocationMatch>
                     96: 
                     97: <LocationMatch "^/\~.*">
                     98: PerlAccessHandler Apache::loncacc
                     99: ErrorDocument     403 /adm/login
                    100: ErrorDocument     404 /adm/notfound.html
1.18    ! www       101: ErrorDocument     406 /adm/unauthorized
1.1       harris41  102: ErrorDocument	  500 /adm/errorhandler
                    103: AllowOverride None
                    104: </LocationMatch>
                    105: 
                    106: # ------------------------------------------------------------------------- RAT
                    107: 
                    108: <LocationMatch "^/\~.*\.sequence$">
                    109: SetHandler perl-script
                    110: PerlHandler Apache::lonratedt
                    111: </LocationMatch>
                    112: 
                    113: <LocationMatch "^/\~.*\.page$">
                    114: SetHandler perl-script
                    115: PerlHandler Apache::lonratedt
                    116: </LocationMatch>
                    117: 
                    118: <LocationMatch "^/\~.*\/ratserver$">
                    119: SetHandler perl-script
                    120: PerlHandler Apache::lonratsrv
                    121: </LocationMatch>
                    122: 
                    123: <Location /adm/ratparms>
                    124: PerlAccessHandler       Apache::lonacc
                    125: SetHandler perl-script
                    126: PerlHandler Apache::lonratparms
                    127: ErrorDocument     403 /adm/login
                    128: ErrorDocument	  500 /adm/errorhandler
                    129: </Location>
                    130: 
                    131: # --------------------------------------------- Resource Space Content Handlers
                    132: 
                    133: <LocationMatch "^/res.*/$">
                    134: SetHandler perl-script
                    135: PerlHandler Apache::lonindexer
                    136: </LocationMatch>
                    137: 
                    138: <LocationMatch "^/(res|\~).*\.tex$">
                    139: SetHandler perl-script
                    140: PerlHandler Apache::lontex
                    141: </LocationMatch>
                    142: 
                    143: <LocationMatch "^/res/.*\.page$>
                    144: SetHandler perl-script
                    145: PerlHandler Apache::lonpage
                    146: </LocationMatch>
                    147: 
                    148: <LocationMatch "^/res/.*\.sequence$>
                    149: SetHandler perl-script
                    150: PerlHandler Apache::lonsequence
                    151: </LocationMatch>
                    152: 
1.8       harris41  153: <LocationMatch "^/(res|\~).*\.meta$>
1.1       harris41  154: SetHandler perl-script
                    155: PerlHandler Apache::lonmeta
                    156: </LocationMatch>
                    157: 
                    158: <LocationMatch "^/(res|\~).*\.(xml|html|htm|xhtml|xhtm)$">
                    159: SetHandler perl-script
                    160: PerlHandler Apache::lonxml
                    161: </LocationMatch>
                    162: 
                    163: <LocationMatch "^/(res|\~).*\.(problem|exam|quiz|assess|survey|form|library)$">
                    164: SetHandler perl-script
                    165: PerlHandler Apache::lonhomework
                    166: </LocationMatch>
                    167: 
                    168: <LocationMatch "^/adm/wrapper/">
                    169: PerlAccessHandler       Apache::lonacc
                    170: SetHandler perl-script
                    171: PerlHandler Apache::lonwrapper
                    172: ErrorDocument     403 /adm/login
                    173: ErrorDocument	  500 /adm/errorhandler
                    174: </LocationMatch>
                    175: 
                    176: # -------------------------------------------------------------- Admin Programs
                    177: 
                    178: <Location /adm/statistics>
                    179: PerlAccessHandler       Apache::lonacc
                    180: SetHandler perl-script
                    181: PerlHandler Apache::lonstatistics
                    182: ErrorDocument     403 /adm/login
                    183: ErrorDocument	  500 /adm/errorhandler
                    184: </Location>
                    185: 
                    186: <Location /adm/roles>
                    187: PerlAccessHandler       Apache::lonacc
                    188: SetHandler perl-script
                    189: PerlHandler Apache::lonroles
                    190: ErrorDocument     403 /adm/login
                    191: ErrorDocument	  500 /adm/errorhandler
                    192: </Location>
                    193: 
                    194: <Location /adm/login>
                    195: SetHandler perl-script
                    196: PerlHandler Apache::lonlogin
                    197: </Location>
                    198: 
                    199: <Location /adm/logout>
                    200: PerlAccessHandler       Apache::lonacc
                    201: SetHandler perl-script
                    202: PerlHandler Apache::lonlogout
                    203: ErrorDocument     403 /adm/login
                    204: </Location>
                    205: 
                    206: <Location /adm/authenticate>
                    207: SetHandler perl-script
                    208: PerlHandler Apache::lonauth
                    209: </Location>
                    210: 
                    211: <Location /adm/annotations>
                    212: PerlAccessHandler       Apache::lonacc
                    213: SetHandler perl-script
                    214: PerlHandler Apache::admannotations
                    215: ErrorDocument     403 /adm/login
                    216: ErrorDocument	  500 /adm/errorhandler
                    217: </Location>
                    218: 
                    219: <Location /adm/bookmarks>
                    220: PerlAccessHandler       Apache::lonacc
                    221: SetHandler perl-script
                    222: PerlHandler Apache::admbookmarks
                    223: ErrorDocument     403 /adm/login
                    224: ErrorDocument	  500 /adm/errorhandler
                    225: </Location>
                    226: 
                    227: <Location /adm/flip>
                    228: PerlAccessHandler       Apache::lonacc
                    229: SetHandler perl-script
                    230: PerlHandler Apache::lonpageflip
                    231: ErrorDocument     406 /adm/roles
                    232: ErrorDocument     403 /adm/login
                    233: ErrorDocument	  500 /adm/errorhandler
                    234: </Location>
                    235: 
                    236: <Location /adm/ambiguous>
                    237: PerlAccessHandler       Apache::lonacc
                    238: SetHandler perl-script
                    239: PerlHandler Apache::lonambiguous
                    240: ErrorDocument     403 /adm/login
                    241: ErrorDocument	  500 /adm/errorhandler
                    242: </Location>
                    243: 
                    244: <Location /adm/email>
                    245: PerlAccessHandler       Apache::lonacc
                    246: SetHandler perl-script
                    247: PerlHandler Apache::lonmsg
                    248: ErrorDocument     403 /adm/login
                    249: ErrorDocument	  500 /adm/errorhandler
                    250: </Location>
                    251: 
                    252: <Location /adm/parmset>
                    253: PerlAccessHandler       Apache::lonacc
                    254: SetHandler perl-script
                    255: PerlHandler Apache::lonparmset
                    256: ErrorDocument     403 /adm/login
                    257: ErrorDocument     406 /adm/roles
                    258: ErrorDocument	  500 /adm/errorhandler
                    259: </Location>
                    260: 
                    261: <Location /adm/grades>
                    262: PerlAccessHandler       Apache::lonacc
                    263: SetHandler perl-script
                    264: PerlHandler Apache::grades
                    265: ErrorDocument     403 /adm/login
                    266: ErrorDocument     406 /adm/roles
                    267: ErrorDocument	  500 /adm/errorhandler
                    268: </Location>
                    269: 
                    270: <Location /adm/createcourse>
                    271: PerlAccessHandler       Apache::lonacc
                    272: SetHandler perl-script
                    273: PerlHandler Apache::loncreatecourse
                    274: ErrorDocument     403 /adm/login
                    275: ErrorDocument     406 /adm/roles
                    276: ErrorDocument	  500 /adm/errorhandler
                    277: </Location>
                    278: 
                    279: <Location /adm/createuser>
                    280: PerlAccessHandler       Apache::lonacc
                    281: SetHandler perl-script
                    282: PerlHandler Apache::loncreateuser
                    283: ErrorDocument     403 /adm/login
                    284: ErrorDocument     406 /adm/roles
                    285: ErrorDocument	  500 /adm/errorhandler
                    286: </Location>
                    287: 
                    288: <Location /adm/publish>
                    289: PerlAccessHandler       Apache::lonacc
                    290: SetHandler perl-script
                    291: PerlHandler Apache::lonpublisher
                    292: ErrorDocument     403 /adm/login
                    293: ErrorDocument     404 /adm/notfound.html
1.18    ! www       294: ErrorDocument     406 /adm/unauthorized
1.1       harris41  295: ErrorDocument	  500 /adm/errorhandler
                    296: </Location>
                    297: 
                    298: <LocationMatch "^/\~.*/$">
                    299: PerlAccessHandler       Apache::loncacc
                    300: SetHandler perl-script
                    301: PerlHandler Apache::lonpubdir
                    302: ErrorDocument     403 /adm/login
                    303: ErrorDocument     404 /adm/notfound.html
1.18    ! www       304: ErrorDocument     406 /adm/unauthorized
1.1       harris41  305: ErrorDocument	  500 /adm/errorhandler
                    306: </LocationMatch>
                    307: 
                    308: <Location /adm/pubdir>
                    309: PerlAccessHandler       Apache::lonacc
                    310: SetHandler perl-script
                    311: PerlHandler Apache::lonpubdir
                    312: ErrorDocument     403 /adm/login
                    313: ErrorDocument     404 /adm/notfound.html
1.18    ! www       314: ErrorDocument     406 /adm/unauthorized
        !           315: ErrorDocument	  500 /adm/errorhandler
        !           316: </Location>
        !           317: 
        !           318: <Location /adm/unauthorized>
        !           319: PerlAccessHandler       Apache::lonacc
        !           320: SetHandler perl-script
        !           321: PerlHandler Apache::lonunauthorized
        !           322: ErrorDocument     403 /adm/login
        !           323: ErrorDocument     404 /adm/notfound.html
1.1       harris41  324: ErrorDocument	  500 /adm/errorhandler
                    325: </Location>
                    326: 
                    327: <Location /adm/retrieve>
                    328: PerlAccessHandler       Apache::lonacc
                    329: SetHandler perl-script
                    330: PerlHandler Apache::lonretrieve
                    331: ErrorDocument     403 /adm/login
                    332: ErrorDocument     404 /adm/notfound.html
1.18    ! www       333: ErrorDocument     406 /adm/unauthorized
1.1       harris41  334: ErrorDocument	  500 /adm/errorhandler
                    335: </Location>
                    336: 
                    337: <Location /adm/cfile>
                    338: PerlAccessHandler       Apache::lonacc
                    339: SetHandler perl-script
                    340: PerlHandler Apache::loncfile
                    341: ErrorDocument     403 /adm/login
                    342: ErrorDocument     404 /adm/notfound.html
1.18    ! www       343: ErrorDocument     406 /adm/unauthorized
1.1       harris41  344: ErrorDocument	  500 /adm/errorhandler
                    345: </Location>
                    346: 
                    347: <Location /adm/diff>
                    348: PerlAccessHandler       Apache::lonacc
                    349: SetHandler perl-script
                    350: PerlHandler Apache::londiff
                    351: ErrorDocument     403 /adm/login
                    352: ErrorDocument     404 /adm/notfound.html
1.18    ! www       353: ErrorDocument     406 /adm/unauthorized
1.1       harris41  354: ErrorDocument	  500 /adm/errorhandler
                    355: </Location>
                    356: 
                    357: <Location /adm/upload>
                    358: PerlAccessHandler       Apache::lonacc
                    359: SetHandler perl-script
                    360: PerlHandler Apache::lonupload
                    361: ErrorDocument     403 /adm/login
                    362: ErrorDocument     404 /adm/notfound.html
1.18    ! www       363: ErrorDocument     406 /adm/unauthorized
1.1       harris41  364: ErrorDocument	  500 /adm/errorhandler
                    365: </Location>
                    366: 
                    367: <Location /adm/assesscalc>
                    368: PerlAccessHandler       Apache::lonacc
                    369: SetHandler perl-script
                    370: PerlHandler Apache::lonspreadsheet
                    371: ErrorDocument     403 /adm/login
                    372: ErrorDocument     406 /adm/roles
                    373: ErrorDocument	  500 /adm/errorhandler
                    374: </Location>
                    375: 
                    376: <Location /adm/studentcalc>
                    377: PerlAccessHandler       Apache::lonacc
                    378: SetHandler perl-script
                    379: PerlHandler Apache::lonspreadsheet
                    380: ErrorDocument     403 /adm/login
                    381: ErrorDocument     406 /adm/roles
                    382: ErrorDocument	  500 /adm/errorhandler
                    383: </Location>
                    384: 
                    385: <Location /adm/classcalc>
                    386: PerlAccessHandler       Apache::lonacc
                    387: SetHandler perl-script
                    388: PerlHandler Apache::lonspreadsheet
                    389: ErrorDocument     403 /adm/login
                    390: ErrorDocument     406 /adm/roles
                    391: ErrorDocument	  500 /adm/errorhandler
                    392: </Location>
                    393: 
                    394: <Location /adm/dropadd>
                    395: PerlAccessHandler       Apache::lonacc
                    396: SetHandler perl-script
                    397: PerlHandler Apache::londropadd
                    398: ErrorDocument     403 /adm/login
                    399: ErrorDocument     406 /adm/roles
                    400: ErrorDocument	  500 /adm/errorhandler
                    401: </Location>
                    402: 
                    403: <Location /adm/printout>
                    404: PerlAccessHandler       Apache::lonacc
                    405: SetHandler perl-script
                    406: PerlHandler Apache::lonprintout
                    407: ErrorDocument     403 /adm/login
                    408: ErrorDocument	  500 /adm/errorhandler
                    409: </Location>
                    410: 
                    411: <Location /adm/feedback>
                    412: PerlAccessHandler       Apache::lonacc
                    413: SetHandler perl-script
                    414: PerlHandler Apache::lonfeedback
1.10      www       415: ErrorDocument     403 /adm/login
                    416: ErrorDocument	  500 /adm/errorhandler
                    417: </Location>
                    418: 
                    419: <Location /adm/coursedocs>
                    420: PerlAccessHandler       Apache::lonacc
                    421: SetHandler perl-script
                    422: PerlHandler Apache::londocs
                    423: ErrorDocument     403 /adm/login
                    424: ErrorDocument	  500 /adm/errorhandler
                    425: </Location>
                    426: 
                    427: <Location /adm/announcements>
                    428: PerlAccessHandler       Apache::lonacc
                    429: SetHandler perl-script
                    430: PerlHandler Apache::lonannounce
                    431: ErrorDocument     403 /adm/login
                    432: ErrorDocument	  500 /adm/errorhandler
                    433: </Location>
                    434: 
                    435: <Location /adm/chat>
                    436: PerlAccessHandler       Apache::lonacc
                    437: SetHandler perl-script
                    438: PerlHandler Apache::lonchat
1.13      www       439: ErrorDocument	  500 /adm/errorhandler
                    440: </Location>
                    441: 
                    442: <Location /adm/chatfetch>
                    443: PerlAccessHandler       Apache::lonacc
                    444: SetHandler perl-script
                    445: PerlHandler Apache::lonchatfetch
1.1       harris41  446: ErrorDocument	  500 /adm/errorhandler
                    447: </Location>
                    448: 
                    449: <Location /adm/evaluate>
                    450: PerlAccessHandler       Apache::lonacc
                    451: SetHandler perl-script
                    452: PerlHandler Apache::lonevaluate
                    453: ErrorDocument     403 /adm/login
                    454: ErrorDocument	  500 /adm/errorhandler
                    455: </Location>
                    456: 
                    457: <Location /adm/preferences>
                    458: PerlAccessHandler       Apache::lonacc
                    459: SetHandler perl-script
                    460: PerlHandler Apache::lonpreferences
                    461: ErrorDocument     403 /adm/login
                    462: ErrorDocument	  500 /adm/errorhandler
                    463: </Location>
                    464: 
                    465: <Location /adm/assignments>
                    466: PerlAccessHandler       Apache::lonacc
                    467: SetHandler perl-script
                    468: PerlHandler Apache::lonassignments
                    469: ErrorDocument     403 /adm/login
                    470: ErrorDocument     406 /adm/roles
                    471: ErrorDocument	  500 /adm/errorhandler
                    472: </Location>
                    473: 
                    474: <Location /adm/communicate>
                    475: PerlAccessHandler       Apache::lonacc
                    476: SetHandler perl-script
                    477: PerlHandler Apache::loncommunicate
                    478: ErrorDocument     403 /adm/login
                    479: ErrorDocument	  500 /adm/errorhandler
                    480: </Location>
                    481: 
                    482: <Location /adm/searchcat>
                    483: PerlAccessHandler       Apache::lonacc
                    484: SetHandler perl-script
                    485: PerlHandler Apache::lonsearchcat
                    486: ErrorDocument     403 /adm/login
                    487: ErrorDocument	  500 /adm/errorhandler
                    488: </Location>
                    489: 
                    490: <Location /adm/navmaps>
                    491: PerlAccessHandler       Apache::lonacc
                    492: SetHandler perl-script
                    493: PerlHandler Apache::lonnavmaps
                    494: ErrorDocument     403 /adm/login
                    495: ErrorDocument     406 /adm/roles
                    496: ErrorDocument	  500 /adm/errorhandler
                    497: </Location>
                    498: 
                    499: <Location /adm/groupsort>
                    500: PerlAccessHandler	Apache::lonacc
                    501: SetHandler perl-script
                    502: PerlHandler Apache::groupsort
                    503: ErrorDocument     403 /adm/login
                    504: ErrorDocument	  500 /adm/errorhandler
                    505: </Location>
                    506: 
                    507: <Location /adm/errorhandler>
                    508: SetHandler perl-script
                    509: PerlHandler Apache::lonerrorhandler
                    510: </Location>
                    511: 
1.7       bowersj2  512: <LocationMatch "^/adm/help/.*\.hlp$">
                    513: SetHandler perl-script
                    514: PerlHandler Apache::lonhelp
                    515: </LocationMatch>
                    516: 
1.1       harris41  517: # ------------------------------------------------- Backdoor Adm Tests/Programs
                    518: 
                    519: <Location /cgi-bin/loncron.pl>
                    520: AuthName "LON-CAPA Network Administration"
                    521: AuthType Basic
                    522: AuthUserFile /home/httpd/lonTabs/htpasswd
                    523: require user lonadm
                    524: </Location>
                    525: 
                    526: <Location /cgi-bin/lonversions.pl>
                    527: AuthName "LON-CAPA Network Administration"
                    528: AuthType Basic
                    529: AuthUserFile /home/httpd/lonTabs/htpasswd
                    530: require user lonadm
                    531: </Location>
                    532: 
                    533: <Location /cgi-bin/clusterstatus.pl>
                    534: AuthName "LON-CAPA Network Administration"
                    535: AuthType Basic
                    536: AuthUserFile /home/httpd/lonTabs/htpasswd
                    537: require user lonadm
                    538: </Location>
                    539: 
                    540: <Location /cgi-bin/metadata_keywords.pl>
                    541: AuthName "LON-CAPA Network Administration"
                    542: AuthType Basic
                    543: AuthUserFile /home/httpd/lonTabs/htpasswd
                    544: require user lonadm
                    545: </Location>
                    546: 
                    547: <Location /adm/test>
                    548: AuthName "LON-CAPA Network Administration"
                    549: AuthType Basic
                    550: AuthUserFile /home/httpd/lonTabs/htpasswd
                    551: require user lonadm
                    552: SetHandler perl-script
                    553: PerlAccessHandler Apache::lonacc
                    554: PerlHandler Apache::lontest
                    555: </Location>
                    556: 
                    557: # ------------------------------------------------------- Shutting down a child
                    558: 
                    559: PerlChildExitHandler Apache::lonnet::goodbye
                    560: 
                    561: #
                    562: # LON-CAPA Section (extensions to access.conf permission configuration)
                    563: #
                    564: # =========================================================== Directory Options
                    565: 
                    566: # Start out with "no"
                    567: 
                    568: <Directory />
                    569: Options None
                    570: AllowOverride None
                    571: </Directory>
                    572: 
                    573: # Yes to symbolic links and server-side includes
                    574: 
                    575: <Directory /home/httpd/html>
                    576: Options Includes FollowSymLinks
                    577: AllowOverride None
                    578: order allow,deny
                    579: allow from all
                    580: </Directory>
                    581: 
                    582: # If it is in cgi-bin, then it can be executed as a CGI script.
                    583: 
                    584: <Directory /home/httpd/cgi-bin>
                    585: AllowOverride None
                    586: Options ExecCGI
                    587: </Directory>
                    588: 
                    589: # ============================================================= Access Handlers
                    590: 
                    591: # ------------------------------------------------- Allow server-status reports
                    592: <Location /server-status>
                    593: SetHandler server-status
                    594: AuthName "LON-CAPA Network Administration"
                    595: AuthType Basic
                    596: AuthUserFile /home/httpd/lonTabs/htpasswd
                    597: require user lonadm
                    598: </Location>
                    599: 
                    600: # ------------------------ Allow LON-CAPA "low-level" connection status reports
                    601: <Location /lon-status>
                    602: AuthName "LON-CAPA Network Administration"
                    603: AuthType Basic
                    604: AuthUserFile /home/httpd/lonTabs/htpasswd
                    605: require user lonadm
                    606: </Location>
                    607: 
                    608: # ------------------- Allow access to local system documentation from localhost
                    609: Alias /doc /usr/doc
                    610: <Directory /usr/doc>
                    611: order deny,allow
                    612: deny from all
                    613: allow from localhost
                    614: Options Indexes FollowSymLinks
                    615: </Directory>
                    616: 
                    617: # ******** THESE "SHOULD" NEVER BE ALTERED BY THE USER ************************
                    618: # ====================================== Internal Settings / Perl Configuration
                    619: 
                    620: PerlSetVar       lonIDsDir    /home/httpd/lonIDs
                    621: PerlSetVar       lonTabDir    /home/httpd/lonTabs
                    622: PerlSetVar       lonUsersDir  /home/httpd/lonUsers
                    623: PerlSetVar       lonIconsURL  /adm/lonIcons
                    624: PerlSetVar       londPort     5663
                    625: PerlSetVar       lonSysEMail  korte@lite.msu.edu
                    626: PerlSetVar       lonDaemons   /home/httpd/perl
                    627: PerlSetVar       lonSockDir   /home/httpd/sockets
                    628: PerlSetVar       lonDocRoot   /home/httpd/html
                    629: PerlSetVar       lonIncludes  /home/httpd/html/res/adm/includes
                    630: 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  631: 
                    632: # -----------------------------------------------------------------------------
                    633: # NOTE: lonSqlAccess key is the password for the MySQL user
                    634: # www@localhost.  This value must always be "localhostkey".
                    635: # The only security risk occurs when somebody logs in as 'www' on your system
                    636: # (in which case you have much bigger problems than whether or not they
                    637: # can access the non-authoritative loncapa database on your machine).
                    638: 
                    639: PerlSetVar       lonSqlAccess   localhostkey
                    640: 
                    641: # -----------------------------------------------------------------------------
                    642: 
                    643: 
1.8       harris41  644: # ====================================== Include machine-specific configuration
1.2       harris41  645: 
                    646: Include conf/loncapa.conf
1.1       harris41  647: 
                    648: # ================================================== Initiate mod_perl starting
                    649: 
                    650: PerlRequire      conf/startup.pl
                    651: PerlFreshRestart On

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