Annotation of loncom/loncapa_apache.conf, revision 1.116

1.1       harris41    1: ##
                      2: ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
                      3: ##
1.116   ! raeburn     4: ## $Id: loncapa_apache.conf,v 1.115 2005/09/21 13:40:05 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: 
                    402: <Location /adm/authenticate>
                    403: SetHandler perl-script
                    404: PerlHandler Apache::lonauth
                    405: </Location>
                    406: 
                    407: <Location /adm/annotations>
                    408: PerlAccessHandler       Apache::lonacc
                    409: SetHandler perl-script
                    410: PerlHandler Apache::admannotations
                    411: ErrorDocument     403 /adm/login
                    412: ErrorDocument	  500 /adm/errorhandler
                    413: </Location>
                    414: 
1.91      www       415: <Location /adm/spellcheck>
                    416: PerlAccessHandler       Apache::lonacc
                    417: SetHandler perl-script
                    418: PerlHandler Apache::lonspeller
                    419: ErrorDocument     403 /adm/login
                    420: ErrorDocument	  500 /adm/errorhandler
                    421: </Location>
                    422: 
1.1       harris41  423: <Location /adm/bookmarks>
                    424: PerlAccessHandler       Apache::lonacc
                    425: SetHandler perl-script
                    426: PerlHandler Apache::admbookmarks
                    427: ErrorDocument     403 /adm/login
                    428: ErrorDocument	  500 /adm/errorhandler
                    429: </Location>
                    430: 
                    431: <Location /adm/flip>
                    432: PerlAccessHandler       Apache::lonacc
                    433: SetHandler perl-script
                    434: PerlHandler Apache::lonpageflip
1.30      www       435: PerlCleanupHandler Apache::lonpageflip::cleanup
1.108     albertel  436: PerlCleanupHandler	Apache::lonnet::save_cache
1.1       harris41  437: ErrorDocument     406 /adm/roles
                    438: ErrorDocument     403 /adm/login
                    439: ErrorDocument	  500 /adm/errorhandler
                    440: </Location>
                    441: 
                    442: <Location /adm/ambiguous>
                    443: PerlAccessHandler       Apache::lonacc
                    444: SetHandler perl-script
                    445: PerlHandler Apache::lonambiguous
1.30      www       446: PerlCleanupHandler Apache::lonambiguous::cleanup
1.108     albertel  447: PerlCleanupHandler	Apache::lonnet::save_cache
1.1       harris41  448: ErrorDocument     403 /adm/login
                    449: ErrorDocument	  500 /adm/errorhandler
                    450: </Location>
                    451: 
                    452: <Location /adm/email>
                    453: PerlAccessHandler       Apache::lonacc
                    454: SetHandler perl-script
                    455: PerlHandler Apache::lonmsg
                    456: ErrorDocument     403 /adm/login
                    457: ErrorDocument	  500 /adm/errorhandler
                    458: </Location>
                    459: 
1.116   ! raeburn   460: <Location /adm/notify>
        !           461: PerlAccessHandler       Apache::lonacc
        !           462: SetHandler perl-script
        !           463: PerlHandler Apache::lonnotify
        !           464: ErrorDocument     403 /adm/login
        !           465: ErrorDocument     500 /adm/errorhandler
        !           466: </Location>
        !           467: 
1.1       harris41  468: <Location /adm/parmset>
                    469: PerlAccessHandler       Apache::lonacc
                    470: SetHandler perl-script
                    471: PerlHandler Apache::lonparmset
1.31      bowersj2  472: ErrorDocument     403 /adm/login
                    473: ErrorDocument     406 /adm/roles
                    474: ErrorDocument	  500 /adm/errorhandler
                    475: </Location>
                    476: 
1.110     albertel  477: <Location /adm/slotrequest>
                    478: PerlAccessHandler       Apache::lonacc
                    479: SetHandler perl-script
                    480: PerlHandler Apache::slotrequest
                    481: ErrorDocument     403 /adm/login
                    482: ErrorDocument     406 /adm/roles
                    483: ErrorDocument	  500 /adm/errorhandler
                    484: </Location>
                    485: 
1.31      bowersj2  486: <Location /adm/wizard>
                    487: PerlAccessHandler       Apache::lonacc
                    488: SetHandler perl-script
                    489: PerlHandler Apache::lonwizard
1.1       harris41  490: ErrorDocument     403 /adm/login
                    491: ErrorDocument     406 /adm/roles
                    492: ErrorDocument	  500 /adm/errorhandler
                    493: </Location>
                    494: 
                    495: <Location /adm/grades>
                    496: PerlAccessHandler       Apache::lonacc
                    497: SetHandler perl-script
                    498: PerlHandler Apache::grades
                    499: ErrorDocument     403 /adm/login
                    500: ErrorDocument     406 /adm/roles
                    501: ErrorDocument	  500 /adm/errorhandler
                    502: </Location>
                    503: 
                    504: <Location /adm/createcourse>
                    505: PerlAccessHandler       Apache::lonacc
                    506: SetHandler perl-script
                    507: PerlHandler Apache::loncreatecourse
                    508: ErrorDocument     403 /adm/login
                    509: ErrorDocument     406 /adm/roles
                    510: ErrorDocument	  500 /adm/errorhandler
1.67      raeburn   511: </Location>
                    512: 
                    513: <Location /adm/modifycourse>
                    514: PerlAccessHandler       Apache::lonacc
                    515: SetHandler perl-script
                    516: PerlHandler Apache::lonmodifycourse
                    517: ErrorDocument     403 /adm/login
                    518: ErrorDocument     406 /adm/roles
                    519: ErrorDocument     500 /adm/errorhandler
1.1       harris41  520: </Location>
                    521: 
                    522: <Location /adm/createuser>
                    523: PerlAccessHandler       Apache::lonacc
                    524: SetHandler perl-script
                    525: PerlHandler Apache::loncreateuser
                    526: ErrorDocument     403 /adm/login
                    527: ErrorDocument     406 /adm/roles
                    528: ErrorDocument	  500 /adm/errorhandler
                    529: </Location>
                    530: 
                    531: <Location /adm/publish>
                    532: PerlAccessHandler       Apache::lonacc
                    533: SetHandler perl-script
                    534: PerlHandler Apache::lonpublisher
                    535: ErrorDocument     403 /adm/login
                    536: ErrorDocument     404 /adm/notfound.html
1.18      www       537: ErrorDocument     406 /adm/unauthorized
1.1       harris41  538: ErrorDocument	  500 /adm/errorhandler
                    539: </Location>
                    540: 
1.64      albertel  541: <LocationMatch "^/+\~.*/$">
1.1       harris41  542: PerlAccessHandler       Apache::loncacc
                    543: SetHandler perl-script
                    544: PerlHandler Apache::lonpubdir
                    545: ErrorDocument     403 /adm/login
                    546: ErrorDocument     404 /adm/notfound.html
1.18      www       547: ErrorDocument     406 /adm/unauthorized
1.1       harris41  548: ErrorDocument	  500 /adm/errorhandler
                    549: </LocationMatch>
                    550: 
                    551: <Location /adm/pubdir>
                    552: PerlAccessHandler       Apache::lonacc
                    553: SetHandler perl-script
                    554: PerlHandler Apache::lonpubdir
                    555: ErrorDocument     403 /adm/login
                    556: ErrorDocument     404 /adm/notfound.html
1.18      www       557: ErrorDocument     406 /adm/unauthorized
                    558: ErrorDocument	  500 /adm/errorhandler
                    559: </Location>
                    560: 
                    561: <Location /adm/unauthorized>
                    562: PerlAccessHandler       Apache::lonacc
                    563: SetHandler perl-script
                    564: PerlHandler Apache::lonunauthorized
                    565: ErrorDocument     403 /adm/login
                    566: ErrorDocument     404 /adm/notfound.html
1.1       harris41  567: ErrorDocument	  500 /adm/errorhandler
                    568: </Location>
                    569: 
                    570: <Location /adm/retrieve>
                    571: PerlAccessHandler       Apache::lonacc
                    572: SetHandler perl-script
                    573: PerlHandler Apache::lonretrieve
                    574: ErrorDocument     403 /adm/login
                    575: ErrorDocument     404 /adm/notfound.html
1.18      www       576: ErrorDocument     406 /adm/unauthorized
1.1       harris41  577: ErrorDocument	  500 /adm/errorhandler
                    578: </Location>
                    579: 
1.109     www       580: <Location /adm/cleanup>
                    581: PerlAccessHandler       Apache::lonacc
                    582: SetHandler perl-script
                    583: PerlHandler Apache::loncleanup
                    584: ErrorDocument     403 /adm/login
                    585: ErrorDocument     404 /adm/notfound.html
                    586: ErrorDocument     406 /adm/unauthorized
                    587: ErrorDocument	  500 /adm/errorhandler
                    588: </Location>
                    589: 
1.1       harris41  590: <Location /adm/cfile>
                    591: PerlAccessHandler       Apache::lonacc
                    592: SetHandler perl-script
                    593: PerlHandler Apache::loncfile
                    594: ErrorDocument     403 /adm/login
                    595: ErrorDocument     404 /adm/notfound.html
1.18      www       596: ErrorDocument     406 /adm/unauthorized
1.1       harris41  597: ErrorDocument	  500 /adm/errorhandler
                    598: </Location>
                    599: 
                    600: <Location /adm/diff>
                    601: PerlAccessHandler       Apache::lonacc
                    602: SetHandler perl-script
                    603: PerlHandler Apache::londiff
                    604: ErrorDocument     403 /adm/login
                    605: ErrorDocument     404 /adm/notfound.html
1.18      www       606: ErrorDocument     406 /adm/unauthorized
1.1       harris41  607: ErrorDocument	  500 /adm/errorhandler
                    608: </Location>
                    609: 
                    610: <Location /adm/upload>
                    611: PerlAccessHandler       Apache::lonacc
                    612: SetHandler perl-script
                    613: PerlHandler Apache::lonupload
                    614: ErrorDocument     403 /adm/login
                    615: ErrorDocument     404 /adm/notfound.html
1.18      www       616: ErrorDocument     406 /adm/unauthorized
1.1       harris41  617: ErrorDocument	  500 /adm/errorhandler
1.72      raeburn   618: </Location>
                    619: 
1.73      raeburn   620: <Location /adm/imsimport>
                    621: PerlAccessHandler       Apache::lonacc
                    622: SetHandler perl-script
                    623: PerlHandler Apache::imsimport
                    624: ErrorDocument     403 /adm/login
                    625: ErrorDocument     404 /adm/notfound.html
                    626: ErrorDocument     406 /adm/unauthorized
                    627: ErrorDocument     500 /adm/errorhandler
                    628: </Location>
                    629: 
1.72      raeburn   630: <Location /adm/testbank>
                    631: PerlAccessHandler       Apache::lonacc
                    632: SetHandler perl-script
                    633: PerlHandler Apache::testbankimport
                    634: ErrorDocument     403 /adm/login
                    635: ErrorDocument     404 /adm/notfound.html
                    636: ErrorDocument     406 /adm/unauthorized
                    637: ErrorDocument     500 /adm/errorhandler
1.1       harris41  638: </Location>
                    639: 
                    640: <Location /adm/assesscalc>
                    641: PerlAccessHandler       Apache::lonacc
                    642: SetHandler perl-script
                    643: PerlHandler Apache::lonspreadsheet
                    644: ErrorDocument     403 /adm/login
                    645: ErrorDocument     406 /adm/roles
1.20      www       646: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41  647: ErrorDocument	  500 /adm/errorhandler
                    648: </Location>
                    649: 
                    650: <Location /adm/studentcalc>
                    651: PerlAccessHandler       Apache::lonacc
                    652: SetHandler perl-script
                    653: PerlHandler Apache::lonspreadsheet
                    654: ErrorDocument     403 /adm/login
                    655: ErrorDocument     406 /adm/roles
1.20      www       656: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41  657: ErrorDocument	  500 /adm/errorhandler
                    658: </Location>
                    659: 
                    660: <Location /adm/classcalc>
                    661: PerlAccessHandler       Apache::lonacc
                    662: SetHandler perl-script
                    663: PerlHandler Apache::lonspreadsheet
                    664: ErrorDocument     403 /adm/login
                    665: ErrorDocument     406 /adm/roles
1.20      www       666: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41  667: ErrorDocument	  500 /adm/errorhandler
                    668: </Location>
                    669: 
                    670: <Location /adm/dropadd>
                    671: PerlAccessHandler       Apache::lonacc
                    672: SetHandler perl-script
                    673: PerlHandler Apache::londropadd
1.44      www       674: ErrorDocument     403 /adm/login
                    675: ErrorDocument     406 /adm/roles
                    676: ErrorDocument	  500 /adm/errorhandler
1.65      raeburn   677: </Location>
                    678: 
1.92      matthew   679: <Location /adm/viewclasslist>
                    680: PerlAccessHandler       Apache::lonacc
                    681: SetHandler perl-script
                    682: PerlHandler Apache::lonviewclasslist
                    683: ErrorDocument     403 /adm/login
                    684: ErrorDocument     406 /adm/roles
                    685: ErrorDocument	  500 /adm/errorhandler
                    686: </Location>
                    687: 
1.112     raeburn   688: <Location /adm/whatsnew>
                    689: PerlAccessHandler       Apache::lonacc
                    690: SetHandler perl-script
                    691: PerlHandler Apache::lonwhatsnew
                    692: ErrorDocument     403 /adm/login
                    693: ErrorDocument     406 /adm/roles
                    694: ErrorDocument     500 /adm/errorhandler
                    695: </Location>
                    696: 
1.65      raeburn   697: <Location /adm/populate>
                    698: PerlAccessHandler       Apache::lonacc
                    699: SetHandler perl-script
                    700: PerlHandler Apache::lonpopulate
                    701: ErrorDocument     403 /adm/login
                    702: ErrorDocument     406 /adm/roles
                    703: ErrorDocument     500 /adm/errorhandler
1.44      www       704: </Location>
                    705: 
                    706: <Location /adm/managekeys>
                    707: PerlAccessHandler       Apache::lonacc
                    708: SetHandler perl-script
                    709: PerlHandler Apache::lonmanagekeys
1.1       harris41  710: ErrorDocument     403 /adm/login
                    711: ErrorDocument     406 /adm/roles
                    712: ErrorDocument	  500 /adm/errorhandler
                    713: </Location>
                    714: 
                    715: <Location /adm/printout>
                    716: PerlAccessHandler       Apache::lonacc
                    717: SetHandler perl-script
                    718: PerlHandler Apache::lonprintout
                    719: ErrorDocument     403 /adm/login
1.20      www       720: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41  721: ErrorDocument	  500 /adm/errorhandler
                    722: </Location>
                    723: 
                    724: <Location /adm/feedback>
                    725: PerlAccessHandler       Apache::lonacc
                    726: SetHandler perl-script
                    727: PerlHandler Apache::lonfeedback
1.10      www       728: ErrorDocument     403 /adm/login
                    729: ErrorDocument	  500 /adm/errorhandler
                    730: </Location>
                    731: 
                    732: <Location /adm/coursedocs>
                    733: PerlAccessHandler       Apache::lonacc
                    734: SetHandler perl-script
                    735: PerlHandler Apache::londocs
1.108     albertel  736: PerlCleanupHandler Apache::londocs::untiehash
                    737: PerlCleanupHandler	Apache::lonnet::save_cache
1.10      www       738: ErrorDocument     403 /adm/login
                    739: ErrorDocument	  500 /adm/errorhandler
1.73      raeburn   740: </Location>
                    741: 
                    742: <Location /adm/imsimportdocs>
                    743: PerlAccessHandler       Apache::lonacc
                    744: SetHandler perl-script
                    745: PerlHandler Apache::imsimportdocs
                    746: ErrorDocument     403 /adm/login
                    747: ErrorDocument     500 /adm/errorhandler
1.10      www       748: </Location>
                    749: 
                    750: <Location /adm/announcements>
                    751: PerlAccessHandler       Apache::lonacc
                    752: SetHandler perl-script
                    753: PerlHandler Apache::lonannounce
                    754: ErrorDocument     403 /adm/login
                    755: ErrorDocument	  500 /adm/errorhandler
                    756: </Location>
                    757: 
                    758: <Location /adm/chat>
                    759: PerlAccessHandler       Apache::lonacc
                    760: SetHandler perl-script
                    761: PerlHandler Apache::lonchat
1.13      www       762: ErrorDocument	  500 /adm/errorhandler
                    763: </Location>
                    764: 
                    765: <Location /adm/chatfetch>
                    766: PerlAccessHandler       Apache::lonacc
                    767: SetHandler perl-script
                    768: PerlHandler Apache::lonchatfetch
1.20      www       769: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41  770: ErrorDocument	  500 /adm/errorhandler
                    771: </Location>
                    772: 
                    773: <Location /adm/evaluate>
                    774: PerlAccessHandler       Apache::lonacc
                    775: SetHandler perl-script
                    776: PerlHandler Apache::lonevaluate
                    777: ErrorDocument     403 /adm/login
                    778: ErrorDocument	  500 /adm/errorhandler
                    779: </Location>
                    780: 
                    781: <Location /adm/preferences>
                    782: PerlAccessHandler       Apache::lonacc
                    783: SetHandler perl-script
                    784: PerlHandler Apache::lonpreferences
                    785: ErrorDocument     403 /adm/login
                    786: ErrorDocument	  500 /adm/errorhandler
                    787: </Location>
                    788: 
                    789: <Location /adm/communicate>
                    790: PerlAccessHandler       Apache::lonacc
                    791: SetHandler perl-script
                    792: PerlHandler Apache::loncommunicate
                    793: ErrorDocument     403 /adm/login
                    794: ErrorDocument	  500 /adm/errorhandler
                    795: </Location>
                    796: 
                    797: <Location /adm/searchcat>
                    798: PerlAccessHandler       Apache::lonacc
                    799: SetHandler perl-script
                    800: PerlHandler Apache::lonsearchcat
1.28      www       801: PerlCleanupHandler Apache::lonsearchcat::cleanup
1.108     albertel  802: PerlCleanupHandler	Apache::lonnet::save_cache
1.1       harris41  803: ErrorDocument     403 /adm/login
1.20      www       804: ErrorDocument     413 /adm/overloaded.txt
1.1       harris41  805: ErrorDocument	  500 /adm/errorhandler
                    806: </Location>
                    807: 
                    808: <Location /adm/navmaps>
                    809: PerlAccessHandler       Apache::lonacc
                    810: SetHandler perl-script
                    811: PerlHandler Apache::lonnavmaps
                    812: ErrorDocument     403 /adm/login
                    813: ErrorDocument     406 /adm/roles
                    814: ErrorDocument	  500 /adm/errorhandler
1.26      bowersj2  815: </Location>
                    816: 
                    817: <Location /adm/quickgrades>
                    818: PerlAccessHandler       Apache::lonacc
                    819: SetHandler perl-script
                    820: PerlHandler Apache::lonquickgrades
                    821: ErrorDocument     403 /adm/login
                    822: ErrorDocument     406 /adm/roles
                    823: ErrorDocument     500 /adm/errorhandler
1.1       harris41  824: </Location>
                    825: 
                    826: <Location /adm/groupsort>
                    827: PerlAccessHandler	Apache::lonacc
                    828: SetHandler perl-script
                    829: PerlHandler Apache::groupsort
1.29      www       830: PerlCleanupHandler Apache::groupsort::cleanup
1.108     albertel  831: PerlCleanupHandler	Apache::lonnet::save_cache
1.1       harris41  832: ErrorDocument     403 /adm/login
                    833: ErrorDocument	  500 /adm/errorhandler
                    834: </Location>
                    835: 
                    836: <Location /adm/errorhandler>
                    837: SetHandler perl-script
                    838: PerlHandler Apache::lonerrorhandler
                    839: </Location>
                    840: 
1.7       bowersj2  841: <LocationMatch "^/adm/help/.*\.hlp$">
1.114     albertel  842: PerlAccessHandler	Apache::lonacc
1.7       bowersj2  843: SetHandler perl-script
                    844: PerlHandler Apache::lonhelp
                    845: </LocationMatch>
                    846: 
1.90      raeburn   847: <LocationMatch "^/adm/helpmenu">
                    848: PerlAccessHandler       Apache::lonacc
                    849: SetHandler perl-script
                    850: PerlHandler Apache::lonhelpmenu
                    851: </LocationMatch>
                    852: 
                    853: <LocationMatch "^/adm/support">
                    854: PerlAccessHandler       Apache::lonacc
                    855: SetHandler perl-script
                    856: PerlHandler Apache::lonsupportreq
                    857: </LocationMatch>
                    858: 
1.100     raeburn   859: <LocationMatch "^/adm/helpdesk">
                    860: SetHandler perl-script
                    861: PerlHandler Apache::lonsupportreq
                    862: </LocationMatch>
                    863: 
1.1       harris41  864: # ------------------------------------------------- Backdoor Adm Tests/Programs
                    865: 
                    866: <Location /cgi-bin/loncron.pl>
1.37      www       867: AuthName "LON-CAPA Network Administration"
                    868: AuthType Basic
                    869: AuthUserFile /home/httpd/lonTabs/htpasswd
                    870: require user lonadm
                    871: </Location>
                    872: 
                    873: <Location /cgi-bin/userstatus.pl>
1.1       harris41  874: AuthName "LON-CAPA Network Administration"
                    875: AuthType Basic
                    876: AuthUserFile /home/httpd/lonTabs/htpasswd
                    877: require user lonadm
                    878: </Location>
                    879: 
                    880: <Location /cgi-bin/lonversions.pl>
                    881: AuthName "LON-CAPA Network Administration"
                    882: AuthType Basic
                    883: AuthUserFile /home/httpd/lonTabs/htpasswd
                    884: require user lonadm
                    885: </Location>
                    886: 
                    887: <Location /cgi-bin/clusterstatus.pl>
                    888: AuthName "LON-CAPA Network Administration"
                    889: AuthType Basic
                    890: AuthUserFile /home/httpd/lonTabs/htpasswd
                    891: require user lonadm
                    892: </Location>
                    893: 
                    894: <Location /cgi-bin/metadata_keywords.pl>
                    895: AuthName "LON-CAPA Network Administration"
                    896: AuthType Basic
                    897: AuthUserFile /home/httpd/lonTabs/htpasswd
                    898: require user lonadm
1.22      www       899: </Location>
                    900: 
                    901: <Location /cgi-bin/metadata_harvest.pl>
                    902: AuthName "harvest"
                    903: AuthType Basic
                    904: AuthUserFile /home/httpd/lonTabs/htpasswd
                    905: require user  reaper
1.62      www       906: </Location>
                    907: 
                    908: <Location /cgi-bin/takeoffline.pl>
                    909: AuthName "Offline"
                    910: AuthType Basic
                    911: AuthUserFile /home/httpd/lonTabs/htpasswd
                    912: require user  offline
                    913: </Location>
                    914: 
                    915: <Location /cgi-bin/takeonline.pl>
                    916: AuthName "Offline"
                    917: AuthType Basic
                    918: AuthUserFile /home/httpd/lonTabs/htpasswd
                    919: require user  offline
1.1       harris41  920: </Location>
                    921: 
                    922: <Location /adm/test>
                    923: AuthName "LON-CAPA Network Administration"
                    924: AuthType Basic
                    925: AuthUserFile /home/httpd/lonTabs/htpasswd
                    926: require user lonadm
                    927: SetHandler perl-script
                    928: PerlAccessHandler Apache::lonacc
                    929: PerlHandler Apache::lontest
                    930: </Location>
                    931: 
                    932: # ------------------------------------------------------- Shutting down a child
                    933: 
                    934: PerlChildExitHandler Apache::lonnet::goodbye
                    935: 
                    936: #
                    937: # LON-CAPA Section (extensions to access.conf permission configuration)
                    938: #
                    939: # =========================================================== Directory Options
                    940: 
                    941: # Start out with "no"
                    942: 
                    943: <Directory />
                    944: Options None
                    945: AllowOverride None
                    946: </Directory>
                    947: 
                    948: # Yes to symbolic links and server-side includes
                    949: 
                    950: <Directory /home/httpd/html>
                    951: Options Includes FollowSymLinks
                    952: AllowOverride None
                    953: order allow,deny
                    954: allow from all
                    955: </Directory>
                    956: 
                    957: # If it is in cgi-bin, then it can be executed as a CGI script.
                    958: 
                    959: <Directory /home/httpd/cgi-bin>
                    960: AllowOverride None
                    961: Options ExecCGI
                    962: </Directory>
                    963: 
                    964: # ============================================================= Access Handlers
                    965: 
                    966: # ------------------------------------------------- Allow server-status reports
                    967: <Location /server-status>
                    968: SetHandler server-status
                    969: AuthName "LON-CAPA Network Administration"
                    970: AuthType Basic
                    971: AuthUserFile /home/httpd/lonTabs/htpasswd
                    972: require user lonadm
                    973: </Location>
                    974: 
                    975: # ------------------------ Allow LON-CAPA "low-level" connection status reports
                    976: <Location /lon-status>
                    977: AuthName "LON-CAPA Network Administration"
                    978: AuthType Basic
                    979: AuthUserFile /home/httpd/lonTabs/htpasswd
                    980: require user lonadm
                    981: </Location>
                    982: 
                    983: # ------------------- Allow access to local system documentation from localhost
                    984: Alias /doc /usr/doc
                    985: <Directory /usr/doc>
                    986: order deny,allow
                    987: deny from all
                    988: allow from localhost
                    989: Options Indexes FollowSymLinks
                    990: </Directory>
                    991: 
                    992: # ******** THESE "SHOULD" NEVER BE ALTERED BY THE USER ************************
                    993: # ====================================== Internal Settings / Perl Configuration
                    994: 
1.59      www       995: PerlSetVar	 lonVersion   '<!-- VERSION -->'
1.1       harris41  996: PerlSetVar       lonIDsDir    /home/httpd/lonIDs
                    997: PerlSetVar       lonTabDir    /home/httpd/lonTabs
                    998: PerlSetVar       lonUsersDir  /home/httpd/lonUsers
                    999: PerlSetVar       lonIconsURL  /adm/lonIcons
                   1000: PerlSetVar       londPort     5663
                   1001: PerlSetVar       lonSysEMail  korte@lite.msu.edu
                   1002: PerlSetVar       lonDaemons   /home/httpd/perl
                   1003: PerlSetVar       lonSockDir   /home/httpd/sockets
                   1004: PerlSetVar       lonDocRoot   /home/httpd/html
1.98      albertel 1005: PerlSetVar       lonPrtDir    /home/httpd/prtspool
1.1       harris41 1006: PerlSetVar       lonIncludes  /home/httpd/html/res/adm/includes
1.103     albertel 1007: 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 1008: PerlSetVar       lonTextBrowsers windows\s+ce:lynx
1.43      albertel 1009: PerlSetVar       lonScansDir  /home/httpd/scantron
                   1010: PerlSetVar       lonScriptTimeout 10
1.70      www      1011: PerlSetVar	 BugzillaHost	http://bugs.lon-capa.org/
                   1012: PerlSetVar	 FAQHost	http://help.lon-capa.org/
1.2       harris41 1013: # -----------------------------------------------------------------------------
                   1014: # NOTE: lonSqlAccess key is the password for the MySQL user
                   1015: # www@localhost.  This value must always be "localhostkey".
                   1016: # The only security risk occurs when somebody logs in as 'www' on your system
                   1017: # (in which case you have much bigger problems than whether or not they
                   1018: # can access the non-authoritative loncapa database on your machine).
                   1019: 
                   1020: PerlSetVar       lonSqlAccess   localhostkey
                   1021: 
                   1022: # -----------------------------------------------------------------------------
1.36      albertel 1023: # lonttpdPort is the port used by the lightweight graphics httpd server
                   1024: # not the main Apache server
1.96      albertel 1025: PerlSetVar       lonhttpdPort  8080
1.36      albertel 1026: 
1.2       harris41 1027: 
1.86      foxr     1028: #----------------------------------------------------------------------------
                   1029: #
1.79      foxr     1030: #   Parameters used by secure lond/lonc
                   1031: 
                   1032: #
                   1033: #   Secure lond/lonc require ssl certificate and private
                   1034: #   key files to function correctly.  The certificate
                   1035: #   files need not be terribly secure, but the private key files
                   1036: #   should be set up so that only www (the lonc/lond effective user)
                   1037: #   can read them.
                   1038: # 
                   1039: #   The definition below is the full path to the directory that
                   1040: #   contains the certificate and key files:
1.82      foxr     1041: 
1.79      foxr     1042: PerlSetVar lonCertificateDirectory /home/httpd/lonCerts
                   1043: 
                   1044: #
                   1045: #  Secure lond/lonc require two certificates and a private host key.
                   1046: #  The certificates required are that of the lonCAPA certificate authority
                   1047: #  and the certificate that authority issued to this host.
                   1048: #  lonnetCertificateAuthority is the name of the file that contains the
                   1049: #                            lonCAPA certificate authority's certificate.
                   1050: #  lonnetCertificate is the name of the file that contains the certificate
                   1051: #                    issued to the host by the certificate authority.
                   1052: #  Both of these variables are names of files assumed to be in 
                   1053: #  lonCertificateDirectory:
                   1054: 
                   1055: PerlSetVar lonnetCertificateAuthority loncapaCA.pem
                   1056: PerlSetVar lonnetCertificate          lonhostcert.pem
                   1057: 
                   1058: #
                   1059: #  To generate the request for a certificate, and to negotiate the
                   1060: #  initial ssl connection, the host requires a private key.  This key
                   1061: #  is created at lonCAPA install time.  Did we mention above that it
                   1062: #  should be set so that only www can read it?  The variale below
                   1063: #  is the name of the file relative to lonnetCertificateDirectory
                   1064: #  that has the host's private key.  Did we remember to tell you to
                   1065: #  keep the permissions on that file set to rw-------  (0600)?
                   1066: #  
                   1067: 
                   1068: PerlSetVar lonnetPrivateKey         lonKey.pem
                   1069: 
                   1070: # Did we mention that the file described above must have
                   1071: # permissions really locked down so that it can't be stolen?
                   1072: 
1.86      foxr     1073: #-------------------------------------------------------------------------
                   1074: 
                   1075: #   Parameters that define where all the ssl stuff is that's needed
                   1076: #   to generate certificate requests and, on a system that's a CA
                   1077: #   the certificate authority.
                   1078: #    
                   1079: #    SSLProgram    -> Path to the openssl command
                   1080: #    SSLDirectory  -> Directory containing ssl configuration files etc.
                   1081: #    SSLCAConfig   -> Name of the SSL config file for the certificate 
                   1082: #                     Authority.
1.87      foxr     1083: #    SSLCAFile     -> Full path to the Certificate authority file 
                   1084: #                    (on the cert manager system).
                   1085: #    SSLEmail      -> E-mail address of loncapa certificate manager.
1.86      foxr     1086: #    The following are good for the loncapa redhat installs and
                   1087: #    the loncapa certificate authority system:
                   1088: #
                   1089: PerlSetVar SSLProgram	/usr/bin/openssl
                   1090: PerlSetVar SSLDirectory /usr/share/ssl
                   1091: PerlSetVar SSLCAConfig  loncapaca
1.87      foxr     1092: PerlSetVar SSLCAFile    /usr/share/ssl/loncapaca/cacert.pem
1.93      albertel 1093: PerlSetVar SSLEmail     certificate@lon-capa.org
1.86      foxr     1094: 
                   1095: #-------------------------------------------------------------------------
                   1096: 
1.79      foxr     1097: 
                   1098: 
1.2       harris41 1099: 
1.8       harris41 1100: # ====================================== Include machine-specific configuration
1.2       harris41 1101: 
                   1102: Include conf/loncapa.conf
1.61      albertel 1103: 
                   1104: # ================================================= Include local configuration
                   1105: 
                   1106: Include conf/loncapa_apache_local*.conf
1.1       harris41 1107: 
                   1108: # ================================================== Initiate mod_perl starting
                   1109: 
                   1110: PerlRequire      conf/startup.pl
1.47      albertel 1111: <IfDefine !MODPERL2>
1.1       harris41 1112: PerlFreshRestart On
1.47      albertel 1113: </IfDefine>

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