Annotation of loncom/loncapa_apache.conf, revision 1.117

1.1       harris41    1: ##
                      2: ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
                      3: ##
1.117   ! albertel    4: ## $Id: loncapa_apache.conf,v 1.116 2005/10/10 15:38:18 raeburn Exp $
1.1       harris41    5: ##
                      6: 
                      7: #
                      8: # LON-CAPA Section (extensions to httpd.conf daemon configuration)
                      9: #
1.8       harris41   10: # ================================================================ DocumentRoot
1.1       harris41   11: 
                     12: DocumentRoot "/home/httpd/html"
                     13: 
                     14: # ======================================================================== User
                     15: 
                     16: User www
                     17: Group www
                     18: 
                     19: # ======================================================= Shared Object Modules
                     20: 
1.52      albertel   21: LoadModule perl_module       modules/libperl.so
1.47      albertel   22: <IfDefine !MODPERL2>
1.1       harris41   23: AddModule mod_perl.c
1.47      albertel   24: </IfDefine>
1.1       harris41   25: 
1.63      albertel   26: <IfDefine MODPERL2>
                     27: PerlSetVar	MODPERL2	1
                     28: </IfDefine>
1.1       harris41   29: # =============================================================== Miscellaneous
                     30: 
                     31: ServerAdmin korte@lite.msu.edu
                     32: ExtendedStatus On
                     33: #
                     34: # LON-CAPA Section (extensions to srm.conf name space servicing)
                     35: #
                     36: # ===================================================================== Aliases
                     37: 
                     38: Alias /prtspool/ /home/httpd/prtspool/
1.8       harris41   39: ScriptAlias /cgi-bin/ "/home/httpd/cgi-bin/"
1.1       harris41   40: 
                     41: # ================================================================= Directories
                     42: 
                     43: # ------------------------------------------------------------- Access Handlers
                     44: 
1.12      www        45: PerlTransHandler	Apache::lontrans
1.95      albertel   46: PerlCleanupHandler	Apache::lonnet::save_cache
1.12      www        47: 
1.45      albertel   48: #PerlWarn On
1.21      www        49: <LocationMatch "^/+res.*">
1.1       harris41   50: PerlAccessHandler       Apache::lonacc
                     51: PerlHeaderParserHandler Apache::lonrep
                     52: ErrorDocument     403 /adm/login
                     53: ErrorDocument     404 /adm/notfound.html
                     54: ErrorDocument     406 /adm/roles
1.74      www        55: ErrorDocument	  500 /adm/errorhandler
                     56: </LocationMatch>
                     57: 
                     58: <LocationMatch "^/+enc.*">
1.115     raeburn    59: SetHandler perl-script
                     60: PerlHandler       Apache::lonenc
1.74      www        61: ErrorDocument     403 /adm/login
1.80      albertel   62: ErrorDocument     404 /adm/notfound.html
                     63: ErrorDocument     406 /adm/roles
1.11      www        64: ErrorDocument	  500 /adm/errorhandler
                     65: </LocationMatch>
                     66: 
1.84      banghart   67: <Location /adm/portfolio>
                     68: PerlAccessHandler Apache::lonacc
                     69: SetHandler perl-script
                     70: PerlHandler Apache::portfolio
                     71: </Location>
                     72: 
1.21      www        73: <LocationMatch "^/+userfiles.*">
1.11      www        74: PerlAccessHandler       Apache::lontokacc
1.58      www        75: PerlCleanupHandler	Apache::lontokacc::removefile
1.108     albertel   76: PerlCleanupHandler	Apache::lonnet::save_cache
1.12      www        77: </LocationMatch>
                     78: 
1.76      albertel   79: <LocationMatch "^/+uploaded.*">
1.75      raeburn    80: PerlAccessHandler	Apache::lonacc
                     81: PerlHeaderParserHandler Apache::lonuploadrep
1.80      albertel   82: ErrorDocument     403 /adm/login
1.16      www        83: ErrorDocument     404 /adm/notfound.html
1.80      albertel   84: ErrorDocument     406 /adm/roles
1.16      www        85: ErrorDocument	  500 /adm/errorhandler
1.75      raeburn    86: </LocationMatch>
                     87: 
1.106     albertel   88: <LocationMatch "^/+editupload.*">
                     89: PerlAccessHandler	Apache::lonacc
                     90: ErrorDocument     403 /adm/login
                     91: ErrorDocument     406 /adm/roles
                     92: ErrorDocument	  500 /adm/errorhandler
                     93: </LocationMatch>
                     94: 
1.98      albertel   95: <LocationMatch "^/+uploaded/.*/.*/internal/.*">
                     96: PerlAccessHandler	Apache::lonuploadedacc
                     97: </LocationMatch>
                     98: 
                     99: 
1.76      albertel  100: <LocationMatch "^/+uploaded/.*\.page$">
1.75      raeburn   101: SetHandler perl-script
                    102: PerlHandler Apache::lonpage
                    103: </LocationMatch>
                    104: 
1.76      albertel  105: <LocationMatch "^/+uploaded/.*\.sequence$">
1.75      raeburn   106: SetHandler perl-script
                    107: PerlHandler Apache::lonsequence
1.16      www       108: </LocationMatch>
                    109: 
1.44      www       110: <LocationMatch "^/+public/.*/syllabus$">
1.17      www       111: PerlAccessHandler	Apache::lonacc
1.16      www       112: SetHandler              perl-script
                    113: PerlHandler             Apache::lonsyllabus
                    114: ErrorDocument     404 /adm/notfound.html
                    115: ErrorDocument	  500 /adm/errorhandler
                    116: </LocationMatch>
                    117: 
1.44      www       118: <LocationMatch "^/adm/.*/aboutme$">
1.17      www       119: PerlAccessHandler	Apache::lonacc
1.16      www       120: SetHandler              perl-script
                    121: PerlHandler             Apache::lonaboutme
1.19      www       122: ErrorDocument     404 /adm/notfound.html
1.54      www       123: ErrorDocument     406 /adm/notinit.html
1.19      www       124: ErrorDocument	  500 /adm/errorhandler
                    125: </LocationMatch>
                    126: 
1.44      www       127: <LocationMatch "^/adm/.*/smppg$">
1.19      www       128: PerlAccessHandler	Apache::lonacc
                    129: SetHandler              perl-script
                    130: PerlHandler             Apache::lonsimplepage
                    131: ErrorDocument     404 /adm/notfound.html
1.54      www       132: ErrorDocument     406 /adm/notinit.html
1.19      www       133: ErrorDocument	  500 /adm/errorhandler
                    134: </LocationMatch>
                    135: 
1.44      www       136: <LocationMatch "^/adm/.*/bulletinboard$">
1.19      www       137: PerlAccessHandler	Apache::lonacc
                    138: SetHandler              perl-script
1.94      albertel  139: PerlHandler             Apache::londatecheck
1.19      www       140: PerlHandler             Apache::lonbulletin
1.55      www       141: ErrorDocument     404 /adm/notfound.html
                    142: ErrorDocument     406 /adm/notinit.html
                    143: ErrorDocument	  500 /adm/errorhandler
                    144: </LocationMatch>
                    145: 
                    146: <LocationMatch "\.problem/smpedit$">
                    147: PerlAccessHandler	Apache::lonacc
                    148: SetHandler              perl-script
                    149: PerlHandler             Apache::lonsimpleproblemedit
1.11      www       150: ErrorDocument     404 /adm/notfound.html
1.54      www       151: ErrorDocument     406 /adm/notinit.html
1.1       harris41  152: ErrorDocument	  500 /adm/errorhandler
                    153: </LocationMatch>
                    154: 
1.21      www       155: <LocationMatch "^/+priv.*">
1.1       harris41  156: PerlAccessHandler Apache::loncacc
                    157: SetHandler        perl-script
                    158: PerlHandler       Apache::lonconstruct
                    159: ErrorDocument     403 /adm/login
                    160: ErrorDocument     404 /adm/notfound.html
1.18      www       161: ErrorDocument     406 /adm/unauthorized
1.1       harris41  162: ErrorDocument	  500 /adm/errorhandler
                    163: </LocationMatch>
                    164: 
1.21      www       165: <LocationMatch "^/+raw.*">
1.1       harris41  166: PerlAccessHandler Apache::lonracc
                    167: </LocationMatch>
                    168: 
1.21      www       169: <LocationMatch "^/+\~.*">
1.1       harris41  170: PerlAccessHandler Apache::loncacc
                    171: ErrorDocument     403 /adm/login
                    172: ErrorDocument     404 /adm/notfound.html
1.18      www       173: ErrorDocument     406 /adm/unauthorized
1.1       harris41  174: ErrorDocument	  500 /adm/errorhandler
                    175: AllowOverride None
                    176: </LocationMatch>
                    177: 
1.41      bowersj2  178: <LocationMatch "^/adm/helper/.*\.helper$">
                    179: PerlAccessHandler Apache::lonacc
                    180: SetHandler        perl-script
                    181: PerlHandler       Apache::lonhelper
                    182: ErrorDocument     403 /adm/login
                    183: ErrorDocument     404 /adm/notfound.html
                    184: ErrorDocument     406 /adm/unauthorized
                    185: ErrorDocument     500 /adm/errorhandler
                    186: </LocationMatch>
                    187: 
1.23      albertel  188: <LocationMatch "/prtspool">
                    189: PerlAccessHandler Apache::lonacc
                    190: ErrorDocument     403 /adm/login
                    191: ErrorDocument     404 /adm/notfound.html
                    192: ErrorDocument     406 /adm/roles
1.99      www       193: ErrorDocument     413 /adm/overloaded.txt
1.23      albertel  194: ErrorDocument	  500 /adm/errorhandler
                    195: </LocationMatch>
1.1       harris41  196: # ------------------------------------------------------------------------- RAT
                    197: 
                    198: <LocationMatch "^/\~.*\.sequence$">
                    199: SetHandler perl-script
                    200: PerlHandler Apache::lonratedt
                    201: </LocationMatch>
                    202: 
                    203: <LocationMatch "^/\~.*\.page$">
                    204: SetHandler perl-script
                    205: PerlHandler Apache::lonratedt
                    206: </LocationMatch>
                    207: 
                    208: <LocationMatch "^/\~.*\/ratserver$">
                    209: SetHandler perl-script
                    210: PerlHandler Apache::lonratsrv
                    211: </LocationMatch>
                    212: 
1.100     raeburn   213: <LocationMatch "^/\~.*\/adveditmenu$">
                    214: SetHandler perl-script
                    215: PerlHandler Apache::lonratmenu
                    216: </LocationMatch>
                    217: 
1.1       harris41  218: <Location /adm/ratparms>
                    219: PerlAccessHandler       Apache::lonacc
                    220: SetHandler perl-script
                    221: PerlHandler Apache::lonratparms
                    222: ErrorDocument     403 /adm/login
                    223: ErrorDocument	  500 /adm/errorhandler
                    224: </Location>
                    225: 
                    226: # --------------------------------------------- Resource Space Content Handlers
                    227: 
1.64      albertel  228: <LocationMatch "^/+res.*/$">
1.1       harris41  229: SetHandler perl-script
                    230: PerlHandler Apache::lonindexer
1.29      www       231: PerlCleanupHandler Apache::lonindexer::cleanup
1.108     albertel  232: PerlCleanupHandler	Apache::lonnet::save_cache
1.1       harris41  233: </LocationMatch>
                    234: 
1.64      albertel  235: <LocationMatch "^/+(res|\~).*\.tex$">
1.1       harris41  236: SetHandler perl-script
                    237: PerlHandler Apache::lontex
                    238: </LocationMatch>
                    239: 
1.71      www       240: <LocationMatch "^/+res/.*\.page$">
1.1       harris41  241: SetHandler perl-script
                    242: PerlHandler Apache::lonpage
                    243: </LocationMatch>
                    244: 
1.71      www       245: <LocationMatch "^/+res/.*\.sequence$">
1.1       harris41  246: SetHandler perl-script
                    247: PerlHandler Apache::lonsequence
                    248: </LocationMatch>
                    249: 
1.106     albertel  250: <LocationMatch "^/+(res|\~|public|uploaded|editupload|adm).*\.meta$">
1.1       harris41  251: SetHandler perl-script
                    252: PerlHandler Apache::lonmeta
1.99      www       253: ErrorDocument     413 /adm/overloaded.txt
1.39      www       254: </LocationMatch>
                    255: 
1.71      www       256: <LocationMatch "^/adm/bombs/">
                    257: SetHandler perl-script
                    258: PerlAccessHandler Apache::lonacc
                    259: PerlHandler Apache::lonmeta
                    260: </LocationMatch>
                    261: 
                    262: 
                    263: 
                    264: <LocationMatch "^/+(res|\~).*\.rights$">
1.39      www       265: SetHandler perl-script
                    266: PerlHandler Apache::lonrights
1.1       harris41  267: </LocationMatch>
                    268: 
1.78      albertel  269: <LocationMatch "^/+(uploaded|res|\~).*\.(xml|html|htm|xhtml|xhtm|sty)$">
1.1       harris41  270: SetHandler perl-script
1.81      albertel  271: PerlHandler Apache::londatecheck
1.1       harris41  272: PerlHandler Apache::lonxml
                    273: </LocationMatch>
                    274: 
1.107     albertel  275: <LocationMatch "^/+(res|\~).*\.(task|problem|exam|quiz|assess|survey|form|library)$">
1.1       harris41  276: SetHandler perl-script
                    277: PerlHandler Apache::lonhomework
                    278: </LocationMatch>
                    279: 
                    280: <LocationMatch "^/adm/wrapper/">
                    281: PerlAccessHandler       Apache::lonacc
                    282: SetHandler perl-script
                    283: PerlHandler Apache::lonwrapper
1.66      www       284: ErrorDocument     403 /adm/login
                    285: ErrorDocument	  500 /adm/errorhandler
                    286: </LocationMatch>
                    287: 
1.113     www       288: <LocationMatch "^/adm/source">
1.83      taceyjo1  289: PerlAccessHandler       Apache::lonacc
                    290: SetHandler perl-script
                    291: PerlHandler Apache::lonsource
                    292: ErrorDocument     403 /adm/login
1.85      www       293: ErrorDocument     406 /adm/roles
1.83      taceyjo1  294: ErrorDocument	  500 /adm/errorhandler
                    295: </LocationMatch>
                    296: 
                    297: 
1.66      www       298: <LocationMatch "^/adm/localize/">
                    299: PerlAccessHandler       Apache::lonacc
                    300: SetHandler perl-script
                    301: PerlHandler Apache::lonlocal
1.1       harris41  302: ErrorDocument     403 /adm/login
                    303: ErrorDocument	  500 /adm/errorhandler
                    304: </LocationMatch>
                    305: 
                    306: # -------------------------------------------------------------- Admin Programs
1.24      albertel  307: 
                    308: <Location /adm/randomlabel.png>
                    309: PerlAccessHandler       Apache::lonacc
                    310: SetHandler perl-script
                    311: PerlHandler Apache::randomlylabel
1.69      albertel  312: ErrorDocument     403 /adm/login
                    313: ErrorDocument	  500 /adm/errorhandler
                    314: </Location>
                    315: 
                    316: <Location /adm/imagechoice>
                    317: PerlAccessHandler       Apache::lonacc
                    318: SetHandler perl-script
                    319: PerlHandler Apache::imagechoice
1.24      albertel  320: ErrorDocument     403 /adm/login
                    321: ErrorDocument	  500 /adm/errorhandler
                    322: </Location>
1.1       harris41  323: 
                    324: <Location /adm/statistics>
                    325: PerlAccessHandler       Apache::lonacc
                    326: SetHandler perl-script
                    327: PerlHandler Apache::lonstatistics
                    328: ErrorDocument     403 /adm/login
1.20      www       329: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41  330: ErrorDocument	  500 /adm/errorhandler
                    331: </Location>
                    332: 
1.92      matthew   333: <Location /adm/trackstudent>
                    334: PerlAccessHandler       Apache::lonacc
                    335: SetHandler perl-script
                    336: PerlHandler Apache::lontrackstudent
                    337: ErrorDocument     403 /adm/login
                    338: ErrorDocument     413 /adm/overloaded.txt
                    339: ErrorDocument	  500 /adm/errorhandler
                    340: </Location>
                    341: 
1.1       harris41  342: <Location /adm/roles>
                    343: PerlAccessHandler       Apache::lonacc
                    344: SetHandler perl-script
                    345: PerlHandler Apache::lonroles
1.33      www       346: ErrorDocument     403 /adm/login
                    347: ErrorDocument	  500 /adm/errorhandler
                    348: </Location>
                    349: 
                    350: <Location /adm/menu>
                    351: PerlAccessHandler       Apache::lonacc
                    352: SetHandler perl-script
                    353: PerlHandler Apache::lonmenu
1.42      www       354: ErrorDocument     403 /adm/login
                    355: ErrorDocument	  500 /adm/errorhandler
                    356: </Location>
                    357: 
                    358: <Location /adm/remote>
                    359: PerlAccessHandler       Apache::lonacc
                    360: SetHandler perl-script
                    361: PerlHandler Apache::lonremote
1.27      www       362: ErrorDocument     403 /adm/login
                    363: ErrorDocument	  500 /adm/errorhandler
                    364: </Location>
                    365: 
                    366: <Location /adm/pickstudent>
                    367: PerlAccessHandler       Apache::lonacc
                    368: SetHandler perl-script
                    369: PerlHandler Apache::lonpickstudent
1.40      www       370: ErrorDocument     403 /adm/login
                    371: ErrorDocument	  500 /adm/errorhandler
                    372: </Location>
                    373: 
                    374: <Location /adm/pickcourse>
                    375: PerlAccessHandler       Apache::lonacc
                    376: SetHandler perl-script
                    377: PerlHandler Apache::lonpickcourse
1.77      albertel  378: ErrorDocument     403 /adm/login
                    379: ErrorDocument	  500 /adm/errorhandler
                    380: </Location>
                    381: 
                    382: <Location /adm/pickcode>
                    383: PerlAccessHandler       Apache::lonacc
                    384: SetHandler perl-script
                    385: PerlHandler Apache::lonpickcode
1.1       harris41  386: ErrorDocument     403 /adm/login
                    387: ErrorDocument	  500 /adm/errorhandler
                    388: </Location>
                    389: 
                    390: <Location /adm/login>
                    391: SetHandler perl-script
                    392: PerlHandler Apache::lonlogin
                    393: </Location>
                    394: 
                    395: <Location /adm/logout>
                    396: PerlAccessHandler       Apache::lonacc
                    397: SetHandler perl-script
                    398: PerlHandler Apache::lonlogout
                    399: ErrorDocument     403 /adm/login
                    400: </Location>
                    401: 
1.117   ! albertel  402: <Location /adm/switchserver>
        !           403: PerlAccessHandler       Apache::lonacc
        !           404: SetHandler perl-script
        !           405: PerlHandler Apache::switchserver
        !           406: ErrorDocument     403 /adm/login
        !           407: </Location>
        !           408: 
1.1       harris41  409: <Location /adm/authenticate>
                    410: SetHandler perl-script
                    411: PerlHandler Apache::lonauth
                    412: </Location>
                    413: 
1.117   ! albertel  414: <Location /adm/migrateuser>
        !           415: SetHandler perl-script
        !           416: PerlHandler Apache::migrateuser
        !           417: </Location>
        !           418: 
1.1       harris41  419: <Location /adm/annotations>
                    420: PerlAccessHandler       Apache::lonacc
                    421: SetHandler perl-script
                    422: PerlHandler Apache::admannotations
                    423: ErrorDocument     403 /adm/login
                    424: ErrorDocument	  500 /adm/errorhandler
                    425: </Location>
                    426: 
1.91      www       427: <Location /adm/spellcheck>
                    428: PerlAccessHandler       Apache::lonacc
                    429: SetHandler perl-script
                    430: PerlHandler Apache::lonspeller
                    431: ErrorDocument     403 /adm/login
                    432: ErrorDocument	  500 /adm/errorhandler
                    433: </Location>
                    434: 
1.1       harris41  435: <Location /adm/bookmarks>
                    436: PerlAccessHandler       Apache::lonacc
                    437: SetHandler perl-script
                    438: PerlHandler Apache::admbookmarks
                    439: ErrorDocument     403 /adm/login
                    440: ErrorDocument	  500 /adm/errorhandler
                    441: </Location>
                    442: 
                    443: <Location /adm/flip>
                    444: PerlAccessHandler       Apache::lonacc
                    445: SetHandler perl-script
                    446: PerlHandler Apache::lonpageflip
1.30      www       447: PerlCleanupHandler Apache::lonpageflip::cleanup
1.108     albertel  448: PerlCleanupHandler	Apache::lonnet::save_cache
1.1       harris41  449: ErrorDocument     406 /adm/roles
                    450: ErrorDocument     403 /adm/login
                    451: ErrorDocument	  500 /adm/errorhandler
                    452: </Location>
                    453: 
                    454: <Location /adm/ambiguous>
                    455: PerlAccessHandler       Apache::lonacc
                    456: SetHandler perl-script
                    457: PerlHandler Apache::lonambiguous
1.30      www       458: PerlCleanupHandler Apache::lonambiguous::cleanup
1.108     albertel  459: PerlCleanupHandler	Apache::lonnet::save_cache
1.1       harris41  460: ErrorDocument     403 /adm/login
                    461: ErrorDocument	  500 /adm/errorhandler
                    462: </Location>
                    463: 
                    464: <Location /adm/email>
                    465: PerlAccessHandler       Apache::lonacc
                    466: SetHandler perl-script
                    467: PerlHandler Apache::lonmsg
                    468: ErrorDocument     403 /adm/login
                    469: ErrorDocument	  500 /adm/errorhandler
                    470: </Location>
                    471: 
1.116     raeburn   472: <Location /adm/notify>
                    473: PerlAccessHandler       Apache::lonacc
                    474: SetHandler perl-script
                    475: PerlHandler Apache::lonnotify
                    476: ErrorDocument     403 /adm/login
                    477: ErrorDocument     500 /adm/errorhandler
                    478: </Location>
                    479: 
1.1       harris41  480: <Location /adm/parmset>
                    481: PerlAccessHandler       Apache::lonacc
                    482: SetHandler perl-script
                    483: PerlHandler Apache::lonparmset
1.31      bowersj2  484: ErrorDocument     403 /adm/login
                    485: ErrorDocument     406 /adm/roles
                    486: ErrorDocument	  500 /adm/errorhandler
                    487: </Location>
                    488: 
1.110     albertel  489: <Location /adm/slotrequest>
                    490: PerlAccessHandler       Apache::lonacc
                    491: SetHandler perl-script
                    492: PerlHandler Apache::slotrequest
                    493: ErrorDocument     403 /adm/login
                    494: ErrorDocument     406 /adm/roles
                    495: ErrorDocument	  500 /adm/errorhandler
                    496: </Location>
                    497: 
1.31      bowersj2  498: <Location /adm/wizard>
                    499: PerlAccessHandler       Apache::lonacc
                    500: SetHandler perl-script
                    501: PerlHandler Apache::lonwizard
1.1       harris41  502: ErrorDocument     403 /adm/login
                    503: ErrorDocument     406 /adm/roles
                    504: ErrorDocument	  500 /adm/errorhandler
                    505: </Location>
                    506: 
                    507: <Location /adm/grades>
                    508: PerlAccessHandler       Apache::lonacc
                    509: SetHandler perl-script
                    510: PerlHandler Apache::grades
                    511: ErrorDocument     403 /adm/login
                    512: ErrorDocument     406 /adm/roles
                    513: ErrorDocument	  500 /adm/errorhandler
                    514: </Location>
                    515: 
                    516: <Location /adm/createcourse>
                    517: PerlAccessHandler       Apache::lonacc
                    518: SetHandler perl-script
                    519: PerlHandler Apache::loncreatecourse
                    520: ErrorDocument     403 /adm/login
                    521: ErrorDocument     406 /adm/roles
                    522: ErrorDocument	  500 /adm/errorhandler
1.67      raeburn   523: </Location>
                    524: 
                    525: <Location /adm/modifycourse>
                    526: PerlAccessHandler       Apache::lonacc
                    527: SetHandler perl-script
                    528: PerlHandler Apache::lonmodifycourse
                    529: ErrorDocument     403 /adm/login
                    530: ErrorDocument     406 /adm/roles
                    531: ErrorDocument     500 /adm/errorhandler
1.1       harris41  532: </Location>
                    533: 
                    534: <Location /adm/createuser>
                    535: PerlAccessHandler       Apache::lonacc
                    536: SetHandler perl-script
                    537: PerlHandler Apache::loncreateuser
                    538: ErrorDocument     403 /adm/login
                    539: ErrorDocument     406 /adm/roles
                    540: ErrorDocument	  500 /adm/errorhandler
                    541: </Location>
                    542: 
                    543: <Location /adm/publish>
                    544: PerlAccessHandler       Apache::lonacc
                    545: SetHandler perl-script
                    546: PerlHandler Apache::lonpublisher
                    547: ErrorDocument     403 /adm/login
                    548: ErrorDocument     404 /adm/notfound.html
1.18      www       549: ErrorDocument     406 /adm/unauthorized
1.1       harris41  550: ErrorDocument	  500 /adm/errorhandler
                    551: </Location>
                    552: 
1.64      albertel  553: <LocationMatch "^/+\~.*/$">
1.1       harris41  554: PerlAccessHandler       Apache::loncacc
                    555: SetHandler perl-script
                    556: PerlHandler Apache::lonpubdir
                    557: ErrorDocument     403 /adm/login
                    558: ErrorDocument     404 /adm/notfound.html
1.18      www       559: ErrorDocument     406 /adm/unauthorized
1.1       harris41  560: ErrorDocument	  500 /adm/errorhandler
                    561: </LocationMatch>
                    562: 
                    563: <Location /adm/pubdir>
                    564: PerlAccessHandler       Apache::lonacc
                    565: SetHandler perl-script
                    566: PerlHandler Apache::lonpubdir
                    567: ErrorDocument     403 /adm/login
                    568: ErrorDocument     404 /adm/notfound.html
1.18      www       569: ErrorDocument     406 /adm/unauthorized
                    570: ErrorDocument	  500 /adm/errorhandler
                    571: </Location>
                    572: 
                    573: <Location /adm/unauthorized>
                    574: PerlAccessHandler       Apache::lonacc
                    575: SetHandler perl-script
                    576: PerlHandler Apache::lonunauthorized
                    577: ErrorDocument     403 /adm/login
                    578: ErrorDocument     404 /adm/notfound.html
1.1       harris41  579: ErrorDocument	  500 /adm/errorhandler
                    580: </Location>
                    581: 
                    582: <Location /adm/retrieve>
                    583: PerlAccessHandler       Apache::lonacc
                    584: SetHandler perl-script
                    585: PerlHandler Apache::lonretrieve
                    586: ErrorDocument     403 /adm/login
                    587: ErrorDocument     404 /adm/notfound.html
1.18      www       588: ErrorDocument     406 /adm/unauthorized
1.1       harris41  589: ErrorDocument	  500 /adm/errorhandler
                    590: </Location>
                    591: 
1.109     www       592: <Location /adm/cleanup>
                    593: PerlAccessHandler       Apache::lonacc
                    594: SetHandler perl-script
                    595: PerlHandler Apache::loncleanup
                    596: ErrorDocument     403 /adm/login
                    597: ErrorDocument     404 /adm/notfound.html
                    598: ErrorDocument     406 /adm/unauthorized
                    599: ErrorDocument	  500 /adm/errorhandler
                    600: </Location>
                    601: 
1.1       harris41  602: <Location /adm/cfile>
                    603: PerlAccessHandler       Apache::lonacc
                    604: SetHandler perl-script
                    605: PerlHandler Apache::loncfile
                    606: ErrorDocument     403 /adm/login
                    607: ErrorDocument     404 /adm/notfound.html
1.18      www       608: ErrorDocument     406 /adm/unauthorized
1.1       harris41  609: ErrorDocument	  500 /adm/errorhandler
                    610: </Location>
                    611: 
                    612: <Location /adm/diff>
                    613: PerlAccessHandler       Apache::lonacc
                    614: SetHandler perl-script
                    615: PerlHandler Apache::londiff
                    616: ErrorDocument     403 /adm/login
                    617: ErrorDocument     404 /adm/notfound.html
1.18      www       618: ErrorDocument     406 /adm/unauthorized
1.1       harris41  619: ErrorDocument	  500 /adm/errorhandler
                    620: </Location>
                    621: 
                    622: <Location /adm/upload>
                    623: PerlAccessHandler       Apache::lonacc
                    624: SetHandler perl-script
                    625: PerlHandler Apache::lonupload
                    626: ErrorDocument     403 /adm/login
                    627: ErrorDocument     404 /adm/notfound.html
1.18      www       628: ErrorDocument     406 /adm/unauthorized
1.1       harris41  629: ErrorDocument	  500 /adm/errorhandler
1.72      raeburn   630: </Location>
                    631: 
1.73      raeburn   632: <Location /adm/imsimport>
                    633: PerlAccessHandler       Apache::lonacc
                    634: SetHandler perl-script
                    635: PerlHandler Apache::imsimport
                    636: ErrorDocument     403 /adm/login
                    637: ErrorDocument     404 /adm/notfound.html
                    638: ErrorDocument     406 /adm/unauthorized
                    639: ErrorDocument     500 /adm/errorhandler
                    640: </Location>
                    641: 
1.72      raeburn   642: <Location /adm/testbank>
                    643: PerlAccessHandler       Apache::lonacc
                    644: SetHandler perl-script
                    645: PerlHandler Apache::testbankimport
                    646: ErrorDocument     403 /adm/login
                    647: ErrorDocument     404 /adm/notfound.html
                    648: ErrorDocument     406 /adm/unauthorized
                    649: ErrorDocument     500 /adm/errorhandler
1.1       harris41  650: </Location>
                    651: 
                    652: <Location /adm/assesscalc>
                    653: PerlAccessHandler       Apache::lonacc
                    654: SetHandler perl-script
                    655: PerlHandler Apache::lonspreadsheet
                    656: ErrorDocument     403 /adm/login
                    657: ErrorDocument     406 /adm/roles
1.20      www       658: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41  659: ErrorDocument	  500 /adm/errorhandler
                    660: </Location>
                    661: 
                    662: <Location /adm/studentcalc>
                    663: PerlAccessHandler       Apache::lonacc
                    664: SetHandler perl-script
                    665: PerlHandler Apache::lonspreadsheet
                    666: ErrorDocument     403 /adm/login
                    667: ErrorDocument     406 /adm/roles
1.20      www       668: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41  669: ErrorDocument	  500 /adm/errorhandler
                    670: </Location>
                    671: 
                    672: <Location /adm/classcalc>
                    673: PerlAccessHandler       Apache::lonacc
                    674: SetHandler perl-script
                    675: PerlHandler Apache::lonspreadsheet
                    676: ErrorDocument     403 /adm/login
                    677: ErrorDocument     406 /adm/roles
1.20      www       678: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41  679: ErrorDocument	  500 /adm/errorhandler
                    680: </Location>
                    681: 
                    682: <Location /adm/dropadd>
                    683: PerlAccessHandler       Apache::lonacc
                    684: SetHandler perl-script
                    685: PerlHandler Apache::londropadd
1.44      www       686: ErrorDocument     403 /adm/login
                    687: ErrorDocument     406 /adm/roles
                    688: ErrorDocument	  500 /adm/errorhandler
1.65      raeburn   689: </Location>
                    690: 
1.92      matthew   691: <Location /adm/viewclasslist>
                    692: PerlAccessHandler       Apache::lonacc
                    693: SetHandler perl-script
                    694: PerlHandler Apache::lonviewclasslist
                    695: ErrorDocument     403 /adm/login
                    696: ErrorDocument     406 /adm/roles
                    697: ErrorDocument	  500 /adm/errorhandler
                    698: </Location>
                    699: 
1.112     raeburn   700: <Location /adm/whatsnew>
                    701: PerlAccessHandler       Apache::lonacc
                    702: SetHandler perl-script
                    703: PerlHandler Apache::lonwhatsnew
                    704: ErrorDocument     403 /adm/login
                    705: ErrorDocument     406 /adm/roles
                    706: ErrorDocument     500 /adm/errorhandler
                    707: </Location>
                    708: 
1.65      raeburn   709: <Location /adm/populate>
                    710: PerlAccessHandler       Apache::lonacc
                    711: SetHandler perl-script
                    712: PerlHandler Apache::lonpopulate
                    713: ErrorDocument     403 /adm/login
                    714: ErrorDocument     406 /adm/roles
                    715: ErrorDocument     500 /adm/errorhandler
1.44      www       716: </Location>
                    717: 
                    718: <Location /adm/managekeys>
                    719: PerlAccessHandler       Apache::lonacc
                    720: SetHandler perl-script
                    721: PerlHandler Apache::lonmanagekeys
1.1       harris41  722: ErrorDocument     403 /adm/login
                    723: ErrorDocument     406 /adm/roles
                    724: ErrorDocument	  500 /adm/errorhandler
                    725: </Location>
                    726: 
                    727: <Location /adm/printout>
                    728: PerlAccessHandler       Apache::lonacc
                    729: SetHandler perl-script
                    730: PerlHandler Apache::lonprintout
                    731: ErrorDocument     403 /adm/login
1.20      www       732: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41  733: ErrorDocument	  500 /adm/errorhandler
                    734: </Location>
                    735: 
                    736: <Location /adm/feedback>
                    737: PerlAccessHandler       Apache::lonacc
                    738: SetHandler perl-script
                    739: PerlHandler Apache::lonfeedback
1.10      www       740: ErrorDocument     403 /adm/login
                    741: ErrorDocument	  500 /adm/errorhandler
                    742: </Location>
                    743: 
                    744: <Location /adm/coursedocs>
                    745: PerlAccessHandler       Apache::lonacc
                    746: SetHandler perl-script
                    747: PerlHandler Apache::londocs
1.108     albertel  748: PerlCleanupHandler Apache::londocs::untiehash
                    749: PerlCleanupHandler	Apache::lonnet::save_cache
1.10      www       750: ErrorDocument     403 /adm/login
                    751: ErrorDocument	  500 /adm/errorhandler
1.73      raeburn   752: </Location>
                    753: 
                    754: <Location /adm/imsimportdocs>
                    755: PerlAccessHandler       Apache::lonacc
                    756: SetHandler perl-script
                    757: PerlHandler Apache::imsimportdocs
                    758: ErrorDocument     403 /adm/login
                    759: ErrorDocument     500 /adm/errorhandler
1.10      www       760: </Location>
                    761: 
                    762: <Location /adm/announcements>
                    763: PerlAccessHandler       Apache::lonacc
                    764: SetHandler perl-script
                    765: PerlHandler Apache::lonannounce
                    766: ErrorDocument     403 /adm/login
                    767: ErrorDocument	  500 /adm/errorhandler
                    768: </Location>
                    769: 
                    770: <Location /adm/chat>
                    771: PerlAccessHandler       Apache::lonacc
                    772: SetHandler perl-script
                    773: PerlHandler Apache::lonchat
1.13      www       774: ErrorDocument	  500 /adm/errorhandler
                    775: </Location>
                    776: 
                    777: <Location /adm/chatfetch>
                    778: PerlAccessHandler       Apache::lonacc
                    779: SetHandler perl-script
                    780: PerlHandler Apache::lonchatfetch
1.20      www       781: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41  782: ErrorDocument	  500 /adm/errorhandler
                    783: </Location>
                    784: 
                    785: <Location /adm/evaluate>
                    786: PerlAccessHandler       Apache::lonacc
                    787: SetHandler perl-script
                    788: PerlHandler Apache::lonevaluate
                    789: ErrorDocument     403 /adm/login
                    790: ErrorDocument	  500 /adm/errorhandler
                    791: </Location>
                    792: 
                    793: <Location /adm/preferences>
                    794: PerlAccessHandler       Apache::lonacc
                    795: SetHandler perl-script
                    796: PerlHandler Apache::lonpreferences
                    797: ErrorDocument     403 /adm/login
                    798: ErrorDocument	  500 /adm/errorhandler
                    799: </Location>
                    800: 
                    801: <Location /adm/communicate>
                    802: PerlAccessHandler       Apache::lonacc
                    803: SetHandler perl-script
                    804: PerlHandler Apache::loncommunicate
                    805: ErrorDocument     403 /adm/login
                    806: ErrorDocument	  500 /adm/errorhandler
                    807: </Location>
                    808: 
                    809: <Location /adm/searchcat>
                    810: PerlAccessHandler       Apache::lonacc
                    811: SetHandler perl-script
                    812: PerlHandler Apache::lonsearchcat
1.28      www       813: PerlCleanupHandler Apache::lonsearchcat::cleanup
1.108     albertel  814: PerlCleanupHandler	Apache::lonnet::save_cache
1.1       harris41  815: ErrorDocument     403 /adm/login
1.20      www       816: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41  817: ErrorDocument	  500 /adm/errorhandler
                    818: </Location>
                    819: 
                    820: <Location /adm/navmaps>
                    821: PerlAccessHandler       Apache::lonacc
                    822: SetHandler perl-script
                    823: PerlHandler Apache::lonnavmaps
                    824: ErrorDocument     403 /adm/login
                    825: ErrorDocument     406 /adm/roles
                    826: ErrorDocument	  500 /adm/errorhandler
1.26      bowersj2  827: </Location>
                    828: 
                    829: <Location /adm/quickgrades>
                    830: PerlAccessHandler       Apache::lonacc
                    831: SetHandler perl-script
                    832: PerlHandler Apache::lonquickgrades
                    833: ErrorDocument     403 /adm/login
                    834: ErrorDocument     406 /adm/roles
                    835: ErrorDocument     500 /adm/errorhandler
1.1       harris41  836: </Location>
                    837: 
                    838: <Location /adm/groupsort>
                    839: PerlAccessHandler	Apache::lonacc
                    840: SetHandler perl-script
                    841: PerlHandler Apache::groupsort
1.29      www       842: PerlCleanupHandler Apache::groupsort::cleanup
1.108     albertel  843: PerlCleanupHandler	Apache::lonnet::save_cache
1.1       harris41  844: ErrorDocument     403 /adm/login
                    845: ErrorDocument	  500 /adm/errorhandler
                    846: </Location>
                    847: 
                    848: <Location /adm/errorhandler>
                    849: SetHandler perl-script
                    850: PerlHandler Apache::lonerrorhandler
                    851: </Location>
                    852: 
1.7       bowersj2  853: <LocationMatch "^/adm/help/.*\.hlp$">
1.114     albertel  854: PerlAccessHandler	Apache::lonacc
1.7       bowersj2  855: SetHandler perl-script
                    856: PerlHandler Apache::lonhelp
                    857: </LocationMatch>
                    858: 
1.90      raeburn   859: <LocationMatch "^/adm/helpmenu">
                    860: PerlAccessHandler       Apache::lonacc
                    861: SetHandler perl-script
                    862: PerlHandler Apache::lonhelpmenu
                    863: </LocationMatch>
                    864: 
                    865: <LocationMatch "^/adm/support">
                    866: PerlAccessHandler       Apache::lonacc
                    867: SetHandler perl-script
                    868: PerlHandler Apache::lonsupportreq
                    869: </LocationMatch>
                    870: 
1.100     raeburn   871: <LocationMatch "^/adm/helpdesk">
                    872: SetHandler perl-script
                    873: PerlHandler Apache::lonsupportreq
                    874: </LocationMatch>
                    875: 
1.1       harris41  876: # ------------------------------------------------- Backdoor Adm Tests/Programs
                    877: 
                    878: <Location /cgi-bin/loncron.pl>
1.37      www       879: AuthName "LON-CAPA Network Administration"
                    880: AuthType Basic
                    881: AuthUserFile /home/httpd/lonTabs/htpasswd
                    882: require user lonadm
                    883: </Location>
                    884: 
                    885: <Location /cgi-bin/userstatus.pl>
1.1       harris41  886: AuthName "LON-CAPA Network Administration"
                    887: AuthType Basic
                    888: AuthUserFile /home/httpd/lonTabs/htpasswd
                    889: require user lonadm
                    890: </Location>
                    891: 
                    892: <Location /cgi-bin/lonversions.pl>
                    893: AuthName "LON-CAPA Network Administration"
                    894: AuthType Basic
                    895: AuthUserFile /home/httpd/lonTabs/htpasswd
                    896: require user lonadm
                    897: </Location>
                    898: 
                    899: <Location /cgi-bin/clusterstatus.pl>
                    900: AuthName "LON-CAPA Network Administration"
                    901: AuthType Basic
                    902: AuthUserFile /home/httpd/lonTabs/htpasswd
                    903: require user lonadm
                    904: </Location>
                    905: 
                    906: <Location /cgi-bin/metadata_keywords.pl>
                    907: AuthName "LON-CAPA Network Administration"
                    908: AuthType Basic
                    909: AuthUserFile /home/httpd/lonTabs/htpasswd
                    910: require user lonadm
1.22      www       911: </Location>
                    912: 
                    913: <Location /cgi-bin/metadata_harvest.pl>
                    914: AuthName "harvest"
                    915: AuthType Basic
                    916: AuthUserFile /home/httpd/lonTabs/htpasswd
                    917: require user  reaper
1.62      www       918: </Location>
                    919: 
                    920: <Location /cgi-bin/takeoffline.pl>
                    921: AuthName "Offline"
                    922: AuthType Basic
                    923: AuthUserFile /home/httpd/lonTabs/htpasswd
                    924: require user  offline
                    925: </Location>
                    926: 
                    927: <Location /cgi-bin/takeonline.pl>
                    928: AuthName "Offline"
                    929: AuthType Basic
                    930: AuthUserFile /home/httpd/lonTabs/htpasswd
                    931: require user  offline
1.1       harris41  932: </Location>
                    933: 
                    934: <Location /adm/test>
                    935: AuthName "LON-CAPA Network Administration"
                    936: AuthType Basic
                    937: AuthUserFile /home/httpd/lonTabs/htpasswd
                    938: require user lonadm
                    939: SetHandler perl-script
                    940: PerlAccessHandler Apache::lonacc
                    941: PerlHandler Apache::lontest
                    942: </Location>
                    943: 
                    944: # ------------------------------------------------------- Shutting down a child
                    945: 
                    946: PerlChildExitHandler Apache::lonnet::goodbye
                    947: 
                    948: #
                    949: # LON-CAPA Section (extensions to access.conf permission configuration)
                    950: #
                    951: # =========================================================== Directory Options
                    952: 
                    953: # Start out with "no"
                    954: 
                    955: <Directory />
                    956: Options None
                    957: AllowOverride None
                    958: </Directory>
                    959: 
                    960: # Yes to symbolic links and server-side includes
                    961: 
                    962: <Directory /home/httpd/html>
                    963: Options Includes FollowSymLinks
                    964: AllowOverride None
                    965: order allow,deny
                    966: allow from all
                    967: </Directory>
                    968: 
                    969: # If it is in cgi-bin, then it can be executed as a CGI script.
                    970: 
                    971: <Directory /home/httpd/cgi-bin>
                    972: AllowOverride None
                    973: Options ExecCGI
                    974: </Directory>
                    975: 
                    976: # ============================================================= Access Handlers
                    977: 
                    978: # ------------------------------------------------- Allow server-status reports
                    979: <Location /server-status>
                    980: SetHandler server-status
                    981: AuthName "LON-CAPA Network Administration"
                    982: AuthType Basic
                    983: AuthUserFile /home/httpd/lonTabs/htpasswd
                    984: require user lonadm
                    985: </Location>
                    986: 
                    987: # ------------------------ Allow LON-CAPA "low-level" connection status reports
                    988: <Location /lon-status>
                    989: AuthName "LON-CAPA Network Administration"
                    990: AuthType Basic
                    991: AuthUserFile /home/httpd/lonTabs/htpasswd
                    992: require user lonadm
                    993: </Location>
                    994: 
                    995: # ------------------- Allow access to local system documentation from localhost
                    996: Alias /doc /usr/doc
                    997: <Directory /usr/doc>
                    998: order deny,allow
                    999: deny from all
                   1000: allow from localhost
                   1001: Options Indexes FollowSymLinks
                   1002: </Directory>
                   1003: 
                   1004: # ******** THESE "SHOULD" NEVER BE ALTERED BY THE USER ************************
                   1005: # ====================================== Internal Settings / Perl Configuration
                   1006: 
1.59      www      1007: PerlSetVar	 lonVersion   '<!-- VERSION -->'
1.1       harris41 1008: PerlSetVar       lonIDsDir    /home/httpd/lonIDs
                   1009: PerlSetVar       lonTabDir    /home/httpd/lonTabs
                   1010: PerlSetVar       lonUsersDir  /home/httpd/lonUsers
                   1011: PerlSetVar       lonIconsURL  /adm/lonIcons
                   1012: PerlSetVar       londPort     5663
                   1013: PerlSetVar       lonSysEMail  korte@lite.msu.edu
                   1014: PerlSetVar       lonDaemons   /home/httpd/perl
                   1015: PerlSetVar       lonSockDir   /home/httpd/sockets
                   1016: PerlSetVar       lonDocRoot   /home/httpd/html
1.98      albertel 1017: PerlSetVar       lonPrtDir    /home/httpd/prtspool
1.1       harris41 1018: PerlSetVar       lonIncludes  /home/httpd/html/res/adm/includes
1.103     albertel 1019: PerlSetVar       lonBrowsDet  explorer:msie:netscape:msie\s(\d+\.\d+)\;:9999:9999&mozilla:mozilla\/[5-9]:msie:mozilla\/(\d+\.\d+)\s:9999:1&netscape:netscape:msie:netscape\/(\d+\.\d+):9999:7&amaya:amaya:mozilla:V(\d+\.\d+)\s:1:1&safari:safari:msie:safari\/([\d\.]+):9999:84
1.105     albertel 1020: PerlSetVar       lonTextBrowsers windows\s+ce:lynx
1.43      albertel 1021: PerlSetVar       lonScansDir  /home/httpd/scantron
                   1022: PerlSetVar       lonScriptTimeout 10
1.70      www      1023: PerlSetVar	 BugzillaHost	http://bugs.lon-capa.org/
                   1024: PerlSetVar	 FAQHost	http://help.lon-capa.org/
1.2       harris41 1025: # -----------------------------------------------------------------------------
                   1026: # NOTE: lonSqlAccess key is the password for the MySQL user
                   1027: # www@localhost.  This value must always be "localhostkey".
                   1028: # The only security risk occurs when somebody logs in as 'www' on your system
                   1029: # (in which case you have much bigger problems than whether or not they
                   1030: # can access the non-authoritative loncapa database on your machine).
                   1031: 
                   1032: PerlSetVar       lonSqlAccess   localhostkey
                   1033: 
                   1034: # -----------------------------------------------------------------------------
1.36      albertel 1035: # lonttpdPort is the port used by the lightweight graphics httpd server
                   1036: # not the main Apache server
1.96      albertel 1037: PerlSetVar       lonhttpdPort  8080
1.36      albertel 1038: 
1.2       harris41 1039: 
1.86      foxr     1040: #----------------------------------------------------------------------------
                   1041: #
1.79      foxr     1042: #   Parameters used by secure lond/lonc
                   1043: 
                   1044: #
                   1045: #   Secure lond/lonc require ssl certificate and private
                   1046: #   key files to function correctly.  The certificate
                   1047: #   files need not be terribly secure, but the private key files
                   1048: #   should be set up so that only www (the lonc/lond effective user)
                   1049: #   can read them.
                   1050: # 
                   1051: #   The definition below is the full path to the directory that
                   1052: #   contains the certificate and key files:
1.82      foxr     1053: 
1.79      foxr     1054: PerlSetVar lonCertificateDirectory /home/httpd/lonCerts
                   1055: 
                   1056: #
                   1057: #  Secure lond/lonc require two certificates and a private host key.
                   1058: #  The certificates required are that of the lonCAPA certificate authority
                   1059: #  and the certificate that authority issued to this host.
                   1060: #  lonnetCertificateAuthority is the name of the file that contains the
                   1061: #                            lonCAPA certificate authority's certificate.
                   1062: #  lonnetCertificate is the name of the file that contains the certificate
                   1063: #                    issued to the host by the certificate authority.
                   1064: #  Both of these variables are names of files assumed to be in 
                   1065: #  lonCertificateDirectory:
                   1066: 
                   1067: PerlSetVar lonnetCertificateAuthority loncapaCA.pem
                   1068: PerlSetVar lonnetCertificate          lonhostcert.pem
                   1069: 
                   1070: #
                   1071: #  To generate the request for a certificate, and to negotiate the
                   1072: #  initial ssl connection, the host requires a private key.  This key
                   1073: #  is created at lonCAPA install time.  Did we mention above that it
                   1074: #  should be set so that only www can read it?  The variale below
                   1075: #  is the name of the file relative to lonnetCertificateDirectory
                   1076: #  that has the host's private key.  Did we remember to tell you to
                   1077: #  keep the permissions on that file set to rw-------  (0600)?
                   1078: #  
                   1079: 
                   1080: PerlSetVar lonnetPrivateKey         lonKey.pem
                   1081: 
                   1082: # Did we mention that the file described above must have
                   1083: # permissions really locked down so that it can't be stolen?
                   1084: 
1.86      foxr     1085: #-------------------------------------------------------------------------
                   1086: 
                   1087: #   Parameters that define where all the ssl stuff is that's needed
                   1088: #   to generate certificate requests and, on a system that's a CA
                   1089: #   the certificate authority.
                   1090: #    
                   1091: #    SSLProgram    -> Path to the openssl command
                   1092: #    SSLDirectory  -> Directory containing ssl configuration files etc.
                   1093: #    SSLCAConfig   -> Name of the SSL config file for the certificate 
                   1094: #                     Authority.
1.87      foxr     1095: #    SSLCAFile     -> Full path to the Certificate authority file 
                   1096: #                    (on the cert manager system).
                   1097: #    SSLEmail      -> E-mail address of loncapa certificate manager.
1.86      foxr     1098: #    The following are good for the loncapa redhat installs and
                   1099: #    the loncapa certificate authority system:
                   1100: #
                   1101: PerlSetVar SSLProgram	/usr/bin/openssl
                   1102: PerlSetVar SSLDirectory /usr/share/ssl
                   1103: PerlSetVar SSLCAConfig  loncapaca
1.87      foxr     1104: PerlSetVar SSLCAFile    /usr/share/ssl/loncapaca/cacert.pem
1.93      albertel 1105: PerlSetVar SSLEmail     certificate@lon-capa.org
1.86      foxr     1106: 
                   1107: #-------------------------------------------------------------------------
                   1108: 
1.79      foxr     1109: 
                   1110: 
1.2       harris41 1111: 
1.8       harris41 1112: # ====================================== Include machine-specific configuration
1.2       harris41 1113: 
                   1114: Include conf/loncapa.conf
1.61      albertel 1115: 
                   1116: # ================================================= Include local configuration
                   1117: 
                   1118: Include conf/loncapa_apache_local*.conf
1.1       harris41 1119: 
                   1120: # ================================================== Initiate mod_perl starting
                   1121: 
                   1122: PerlRequire      conf/startup.pl
1.47      albertel 1123: <IfDefine !MODPERL2>
1.1       harris41 1124: PerlFreshRestart On
1.47      albertel 1125: </IfDefine>

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