Annotation of loncom/loncapa_apache.conf, revision 1.19

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

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