Annotation of loncom/loncapa_apache.conf, revision 1.115

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

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