Annotation of doc/build/confexamples/loncapa_apache.conf, revision 1.2

1.1       harris41    1: ##
                      2: ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
                      3: ##
1.2     ! harris41    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: #
                     15: # ================================================================ DocumentRoot
                     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/
                     40: ScriptAlias /cgi-bin/ "/home/httpd/cgi-bin/"
                     41: 
                     42: # ================================================================= Directories
                     43: 
                     44: # ------------------------------------------------------------- Access Handlers
                     45: 
1.2     ! harris41   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
                     54: ErrorDocument	  500 /adm/errorhandler
                     55: </LocationMatch>
                     56: 
1.2     ! harris41   57: <LocationMatch "^/userfiles.*">
        !            58: PerlAccessHandler       Apache::lontokacc
        !            59: </LocationMatch>
        !            60: 
        !            61: <LocationMatch "^/uploaded.*">
        !            62: PerlAccessHandler	Apache::lonuploadedacc
        !            63: ErrorDocument     404 /adm/notfound.html
        !            64: ErrorDocument	  500 /adm/errorhandler
        !            65: </LocationMatch>
        !            66: 
        !            67: <LocationMatch "^/public/.*/syllabus">
        !            68: PerlAccessHandler	Apache::lonacc
        !            69: SetHandler              perl-script
        !            70: PerlHandler             Apache::lonsyllabus
        !            71: ErrorDocument     404 /adm/notfound.html
        !            72: ErrorDocument	  500 /adm/errorhandler
        !            73: </LocationMatch>
        !            74: 
        !            75: <LocationMatch "^/adm/.*/aboutme">
        !            76: PerlAccessHandler	Apache::lonacc
        !            77: SetHandler              perl-script
        !            78: PerlHandler             Apache::lonaboutme
        !            79: ErrorDocument     404 /adm/notfound.html
        !            80: ErrorDocument	  500 /adm/errorhandler
        !            81: </LocationMatch>
        !            82: 
1.1       harris41   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
                     89: ErrorDocument     406 /adm/unauthorized.html
                     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
                    101: ErrorDocument     406 /adm/unauthorized.html
                    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.2     ! 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
                    294: ErrorDocument     406 /adm/unauthorized.html
                    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
                    304: ErrorDocument     406 /adm/unauthorized.html
                    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
                    314: ErrorDocument     406 /adm/unauthorized.html
                    315: ErrorDocument	  500 /adm/errorhandler
                    316: </Location>
                    317: 
                    318: <Location /adm/retrieve>
                    319: PerlAccessHandler       Apache::lonacc
                    320: SetHandler perl-script
                    321: PerlHandler Apache::lonretrieve
                    322: ErrorDocument     403 /adm/login
                    323: ErrorDocument     404 /adm/notfound.html
                    324: ErrorDocument     406 /adm/unauthorized.html
                    325: ErrorDocument	  500 /adm/errorhandler
                    326: </Location>
                    327: 
                    328: <Location /adm/cfile>
                    329: PerlAccessHandler       Apache::lonacc
                    330: SetHandler perl-script
                    331: PerlHandler Apache::loncfile
                    332: ErrorDocument     403 /adm/login
                    333: ErrorDocument     404 /adm/notfound.html
                    334: ErrorDocument     406 /adm/unauthorized.html
                    335: ErrorDocument	  500 /adm/errorhandler
                    336: </Location>
                    337: 
                    338: <Location /adm/diff>
                    339: PerlAccessHandler       Apache::lonacc
                    340: SetHandler perl-script
                    341: PerlHandler Apache::londiff
                    342: ErrorDocument     403 /adm/login
                    343: ErrorDocument     404 /adm/notfound.html
                    344: ErrorDocument     406 /adm/unauthorized.html
                    345: ErrorDocument	  500 /adm/errorhandler
                    346: </Location>
                    347: 
                    348: <Location /adm/upload>
                    349: PerlAccessHandler       Apache::lonacc
                    350: SetHandler perl-script
                    351: PerlHandler Apache::lonupload
                    352: ErrorDocument     403 /adm/login
                    353: ErrorDocument     404 /adm/notfound.html
                    354: ErrorDocument     406 /adm/unauthorized.html
                    355: ErrorDocument	  500 /adm/errorhandler
                    356: </Location>
                    357: 
                    358: <Location /adm/assesscalc>
                    359: PerlAccessHandler       Apache::lonacc
                    360: SetHandler perl-script
                    361: PerlHandler Apache::lonspreadsheet
                    362: ErrorDocument     403 /adm/login
                    363: ErrorDocument     406 /adm/roles
                    364: ErrorDocument	  500 /adm/errorhandler
                    365: </Location>
                    366: 
                    367: <Location /adm/studentcalc>
                    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/classcalc>
                    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: 
1.2     ! harris41  385: <Location /adm/dropadd>
1.1       harris41  386: PerlAccessHandler       Apache::lonacc
                    387: SetHandler perl-script
1.2     ! harris41  388: PerlHandler Apache::londropadd
1.1       harris41  389: ErrorDocument     403 /adm/login
                    390: ErrorDocument     406 /adm/roles
                    391: ErrorDocument	  500 /adm/errorhandler
                    392: </Location>
                    393: 
1.2     ! harris41  394: <Location /adm/printout>
        !           395: PerlAccessHandler       Apache::lonacc
        !           396: SetHandler perl-script
        !           397: PerlHandler Apache::lonprintout
        !           398: ErrorDocument     403 /adm/login
        !           399: ErrorDocument	  500 /adm/errorhandler
        !           400: </Location>
        !           401: 
        !           402: <Location /adm/feedback>
1.1       harris41  403: PerlAccessHandler       Apache::lonacc
                    404: SetHandler perl-script
1.2     ! harris41  405: PerlHandler Apache::lonfeedback
1.1       harris41  406: ErrorDocument     403 /adm/login
                    407: ErrorDocument	  500 /adm/errorhandler
                    408: </Location>
                    409: 
1.2     ! harris41  410: <Location /adm/coursedocs>
1.1       harris41  411: PerlAccessHandler       Apache::lonacc
                    412: SetHandler perl-script
1.2     ! harris41  413: PerlHandler Apache::londocs
1.1       harris41  414: ErrorDocument     403 /adm/login
                    415: ErrorDocument	  500 /adm/errorhandler
                    416: </Location>
                    417: 
1.2     ! harris41  418: <Location /adm/announcements>
1.1       harris41  419: PerlAccessHandler       Apache::lonacc
                    420: SetHandler perl-script
1.2     ! harris41  421: PerlHandler Apache::lonannounce
1.1       harris41  422: ErrorDocument     403 /adm/login
                    423: ErrorDocument	  500 /adm/errorhandler
                    424: </Location>
                    425: 
1.2     ! harris41  426: <Location /adm/chat>
        !           427: PerlAccessHandler       Apache::lonacc
        !           428: SetHandler perl-script
        !           429: PerlHandler Apache::lonchat
        !           430: ErrorDocument	  500 /adm/errorhandler
        !           431: </Location>
        !           432: 
        !           433: <Location /adm/chatfetch>
        !           434: PerlAccessHandler       Apache::lonacc
        !           435: SetHandler perl-script
        !           436: PerlHandler Apache::lonchatfetch
        !           437: ErrorDocument	  500 /adm/errorhandler
        !           438: </Location>
        !           439: 
1.1       harris41  440: <Location /adm/evaluate>
                    441: PerlAccessHandler       Apache::lonacc
                    442: SetHandler perl-script
                    443: PerlHandler Apache::lonevaluate
                    444: ErrorDocument     403 /adm/login
                    445: ErrorDocument	  500 /adm/errorhandler
                    446: </Location>
                    447: 
                    448: <Location /adm/preferences>
                    449: PerlAccessHandler       Apache::lonacc
                    450: SetHandler perl-script
                    451: PerlHandler Apache::lonpreferences
                    452: ErrorDocument     403 /adm/login
                    453: ErrorDocument	  500 /adm/errorhandler
                    454: </Location>
                    455: 
                    456: <Location /adm/assignments>
                    457: PerlAccessHandler       Apache::lonacc
                    458: SetHandler perl-script
                    459: PerlHandler Apache::lonassignments
                    460: ErrorDocument     403 /adm/login
                    461: ErrorDocument     406 /adm/roles
                    462: ErrorDocument	  500 /adm/errorhandler
                    463: </Location>
                    464: 
                    465: <Location /adm/communicate>
                    466: PerlAccessHandler       Apache::lonacc
                    467: SetHandler perl-script
                    468: PerlHandler Apache::loncommunicate
                    469: ErrorDocument     403 /adm/login
                    470: ErrorDocument	  500 /adm/errorhandler
                    471: </Location>
                    472: 
                    473: <Location /adm/searchcat>
                    474: PerlAccessHandler       Apache::lonacc
                    475: SetHandler perl-script
                    476: PerlHandler Apache::lonsearchcat
                    477: ErrorDocument     403 /adm/login
                    478: ErrorDocument	  500 /adm/errorhandler
                    479: </Location>
                    480: 
                    481: <Location /adm/navmaps>
                    482: PerlAccessHandler       Apache::lonacc
                    483: SetHandler perl-script
                    484: PerlHandler Apache::lonnavmaps
                    485: ErrorDocument     403 /adm/login
                    486: ErrorDocument     406 /adm/roles
                    487: ErrorDocument	  500 /adm/errorhandler
                    488: </Location>
                    489: 
                    490: <Location /adm/groupsort>
                    491: PerlAccessHandler	Apache::lonacc
                    492: SetHandler perl-script
                    493: PerlHandler Apache::groupsort
                    494: ErrorDocument     403 /adm/login
                    495: ErrorDocument	  500 /adm/errorhandler
                    496: </Location>
                    497: 
                    498: <Location /adm/errorhandler>
                    499: SetHandler perl-script
                    500: PerlHandler Apache::lonerrorhandler
                    501: </Location>
1.2     ! harris41  502: 
        !           503: <LocationMatch "^/adm/help/.*\.hlp$">
        !           504: SetHandler perl-script
        !           505: PerlHandler Apache::lonhelp
        !           506: </LocationMatch>
1.1       harris41  507: 
                    508: # ------------------------------------------------- Backdoor Adm Tests/Programs
                    509: 
                    510: <Location /cgi-bin/loncron.pl>
                    511: AuthName "LON-CAPA Network Administration"
                    512: AuthType Basic
                    513: AuthUserFile /home/httpd/lonTabs/htpasswd
                    514: require user lonadm
                    515: </Location>
                    516: 
                    517: <Location /cgi-bin/lonversions.pl>
                    518: AuthName "LON-CAPA Network Administration"
                    519: AuthType Basic
                    520: AuthUserFile /home/httpd/lonTabs/htpasswd
                    521: require user lonadm
                    522: </Location>
                    523: 
                    524: <Location /cgi-bin/clusterstatus.pl>
                    525: AuthName "LON-CAPA Network Administration"
                    526: AuthType Basic
                    527: AuthUserFile /home/httpd/lonTabs/htpasswd
                    528: require user lonadm
                    529: </Location>
                    530: 
                    531: <Location /cgi-bin/metadata_keywords.pl>
                    532: AuthName "LON-CAPA Network Administration"
                    533: AuthType Basic
                    534: AuthUserFile /home/httpd/lonTabs/htpasswd
                    535: require user lonadm
                    536: </Location>
                    537: 
                    538: <Location /adm/test>
                    539: AuthName "LON-CAPA Network Administration"
                    540: AuthType Basic
                    541: AuthUserFile /home/httpd/lonTabs/htpasswd
                    542: require user lonadm
                    543: SetHandler perl-script
                    544: PerlAccessHandler Apache::lonacc
                    545: PerlHandler Apache::lontest
                    546: </Location>
                    547: 
                    548: # ------------------------------------------------------- Shutting down a child
                    549: 
                    550: PerlChildExitHandler Apache::lonnet::goodbye
                    551: 
                    552: #
                    553: # LON-CAPA Section (extensions to access.conf permission configuration)
                    554: #
                    555: # =========================================================== Directory Options
                    556: 
                    557: # Start out with "no"
                    558: 
                    559: <Directory />
                    560: Options None
                    561: AllowOverride None
                    562: </Directory>
                    563: 
                    564: # Yes to symbolic links and server-side includes
                    565: 
                    566: <Directory /home/httpd/html>
                    567: Options Includes FollowSymLinks
                    568: AllowOverride None
                    569: order allow,deny
                    570: allow from all
                    571: </Directory>
                    572: 
                    573: # If it is in cgi-bin, then it can be executed as a CGI script.
                    574: 
                    575: <Directory /home/httpd/cgi-bin>
                    576: AllowOverride None
                    577: Options ExecCGI
                    578: </Directory>
                    579: 
                    580: # ============================================================= Access Handlers
                    581: 
                    582: # ------------------------------------------------- Allow server-status reports
                    583: <Location /server-status>
                    584: SetHandler server-status
                    585: AuthName "LON-CAPA Network Administration"
                    586: AuthType Basic
                    587: AuthUserFile /home/httpd/lonTabs/htpasswd
                    588: require user lonadm
                    589: </Location>
                    590: 
                    591: # ------------------------ Allow LON-CAPA "low-level" connection status reports
                    592: <Location /lon-status>
                    593: AuthName "LON-CAPA Network Administration"
                    594: AuthType Basic
                    595: AuthUserFile /home/httpd/lonTabs/htpasswd
                    596: require user lonadm
                    597: </Location>
                    598: 
                    599: # ------------------- Allow access to local system documentation from localhost
                    600: Alias /doc /usr/doc
                    601: <Directory /usr/doc>
                    602: order deny,allow
                    603: deny from all
                    604: allow from localhost
                    605: Options Indexes FollowSymLinks
                    606: </Directory>
                    607: 
                    608: # ******** THESE "SHOULD" NEVER BE ALTERED BY THE USER ************************
                    609: # ====================================== Internal Settings / Perl Configuration
                    610: 
                    611: PerlSetVar       lonIDsDir    /home/httpd/lonIDs
                    612: PerlSetVar       lonTabDir    /home/httpd/lonTabs
                    613: PerlSetVar       lonUsersDir  /home/httpd/lonUsers
                    614: PerlSetVar       lonIconsURL  /adm/lonIcons
                    615: PerlSetVar       londPort     5663
                    616: PerlSetVar       lonSysEMail  korte@lite.msu.edu
                    617: PerlSetVar       lonDaemons   /home/httpd/perl
                    618: PerlSetVar       lonSockDir   /home/httpd/sockets
                    619: PerlSetVar       lonDocRoot   /home/httpd/html
                    620: PerlSetVar       lonIncludes  /home/httpd/html/res/adm/includes
                    621: 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
                    622: 
                    623: # -----------------------------------------------------------------------------
                    624: # NOTE: lonSqlAccess key is the password for the MySQL user
                    625: # www@localhost.  This value must always be "localhostkey".
                    626: # The only security risk occurs when somebody logs in as 'www' on your system
                    627: # (in which case you have much bigger problems than whether or not they
                    628: # can access the non-authoritative loncapa database on your machine).
                    629: 
                    630: PerlSetVar       lonSqlAccess   localhostkey
                    631: 
                    632: # -----------------------------------------------------------------------------
                    633: 
                    634: 
                    635: # ====================================== Include machine-specific configuration
                    636: 
                    637: Include conf/loncapa.conf
                    638: 
                    639: # ================================================== Initiate mod_perl starting
                    640: 
                    641: PerlRequire      conf/startup.pl
                    642: PerlFreshRestart On

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