File:  [LON-CAPA] / loncom / loncapa_apache.conf
Revision 1.41: download - view: text, annotated - select for diffs
Fri Mar 28 18:18:01 2003 UTC (21 years, 2 months ago) by bowersj2
Branches: MAIN
CVS tags: HEAD
Add helper handler (which is still not in loncapafiles.lpml so it's not
installed) and remove the cleanup handler from navmaps.

    1: ##
    2: ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
    3: ##
    4: ## $Id: loncapa_apache.conf,v 1.41 2003/03/28 18:18:01 bowersj2 Exp $
    5: ##
    6: 
    7: #
    8: # LON-CAPA Section (extensions to httpd.conf daemon configuration)
    9: #
   10: # ================================================================ DocumentRoot
   11: 
   12: DocumentRoot "/home/httpd/html"
   13: 
   14: # ======================================================================== User
   15: 
   16: User www
   17: Group www
   18: 
   19: # ======================================================= Shared Object Modules
   20: 
   21: LoadModule perl_module       modules/libperl.so
   22: AddModule mod_perl.c
   23: 
   24: # =============================================================== Miscellaneous
   25: 
   26: ServerAdmin korte@lite.msu.edu
   27: ExtendedStatus On
   28: 
   29: #
   30: # LON-CAPA Section (extensions to srm.conf name space servicing)
   31: #
   32: # ===================================================================== Aliases
   33: 
   34: Alias /prtspool/ /home/httpd/prtspool/
   35: ScriptAlias /cgi-bin/ "/home/httpd/cgi-bin/"
   36: 
   37: # ================================================================= Directories
   38: 
   39: # ------------------------------------------------------------- Access Handlers
   40: 
   41: PerlTransHandler	Apache::lontrans
   42: 
   43: <LocationMatch "^/+res.*">
   44: PerlAccessHandler       Apache::lonacc
   45: PerlHeaderParserHandler Apache::lonrep
   46: ErrorDocument     403 /adm/login
   47: ErrorDocument     404 /adm/notfound.html
   48: ErrorDocument     406 /adm/roles
   49: ErrorDocument	  500 /adm/errorhandler
   50: </LocationMatch>
   51: 
   52: <LocationMatch "^/+userfiles.*">
   53: PerlAccessHandler       Apache::lontokacc
   54: </LocationMatch>
   55: 
   56: <LocationMatch "^/+uploaded.*">
   57: PerlAccessHandler	Apache::lonuploadedacc
   58: ErrorDocument     404 /adm/notfound.html
   59: ErrorDocument	  500 /adm/errorhandler
   60: </LocationMatch>
   61: 
   62: <LocationMatch "^/+public/.*/syllabus">
   63: PerlAccessHandler	Apache::lonacc
   64: SetHandler              perl-script
   65: PerlHandler             Apache::lonsyllabus
   66: ErrorDocument     404 /adm/notfound.html
   67: ErrorDocument	  500 /adm/errorhandler
   68: </LocationMatch>
   69: 
   70: <LocationMatch "^/adm/.*/aboutme">
   71: PerlAccessHandler	Apache::lonacc
   72: SetHandler              perl-script
   73: PerlHandler             Apache::lonaboutme
   74: ErrorDocument     404 /adm/notfound.html
   75: ErrorDocument	  500 /adm/errorhandler
   76: </LocationMatch>
   77: 
   78: <LocationMatch "^/adm/.*/smppg">
   79: PerlAccessHandler	Apache::lonacc
   80: SetHandler              perl-script
   81: PerlHandler             Apache::lonsimplepage
   82: ErrorDocument     404 /adm/notfound.html
   83: ErrorDocument	  500 /adm/errorhandler
   84: </LocationMatch>
   85: 
   86: <LocationMatch "^/adm/.*/bulletinboard">
   87: PerlAccessHandler	Apache::lonacc
   88: SetHandler              perl-script
   89: PerlHandler             Apache::lonbulletin
   90: ErrorDocument     404 /adm/notfound.html
   91: ErrorDocument	  500 /adm/errorhandler
   92: </LocationMatch>
   93: 
   94: <LocationMatch "^/+priv.*">
   95: PerlAccessHandler Apache::loncacc
   96: SetHandler        perl-script
   97: PerlHandler       Apache::lonconstruct
   98: ErrorDocument     403 /adm/login
   99: ErrorDocument     404 /adm/notfound.html
  100: ErrorDocument     406 /adm/unauthorized
  101: ErrorDocument	  500 /adm/errorhandler
  102: </LocationMatch>
  103: 
  104: <LocationMatch "^/+raw.*">
  105: PerlAccessHandler Apache::lonracc
  106: </LocationMatch>
  107: 
  108: <LocationMatch "^/+\~.*">
  109: PerlAccessHandler Apache::loncacc
  110: ErrorDocument     403 /adm/login
  111: ErrorDocument     404 /adm/notfound.html
  112: ErrorDocument     406 /adm/unauthorized
  113: ErrorDocument	  500 /adm/errorhandler
  114: AllowOverride None
  115: </LocationMatch>
  116: 
  117: <LocationMatch "^/adm/helper/.*\.helper$">
  118: PerlAccessHandler Apache::lonacc
  119: SetHandler        perl-script
  120: PerlHandler       Apache::lonhelper
  121: ErrorDocument     403 /adm/login
  122: ErrorDocument     404 /adm/notfound.html
  123: ErrorDocument     406 /adm/unauthorized
  124: ErrorDocument     500 /adm/errorhandler
  125: </LocationMatch>
  126: 
  127: <LocationMatch "/prtspool">
  128: PerlAccessHandler Apache::lonacc
  129: ErrorDocument     403 /adm/login
  130: ErrorDocument     404 /adm/notfound.html
  131: ErrorDocument     406 /adm/roles
  132: ErrorDocument	  500 /adm/errorhandler
  133: </LocationMatch>
  134: # ------------------------------------------------------------------------- RAT
  135: 
  136: <LocationMatch "^/\~.*\.sequence$">
  137: SetHandler perl-script
  138: PerlHandler Apache::lonratedt
  139: </LocationMatch>
  140: 
  141: <LocationMatch "^/\~.*\.page$">
  142: SetHandler perl-script
  143: PerlHandler Apache::lonratedt
  144: </LocationMatch>
  145: 
  146: <LocationMatch "^/\~.*\/ratserver$">
  147: SetHandler perl-script
  148: PerlHandler Apache::lonratsrv
  149: </LocationMatch>
  150: 
  151: <Location /adm/ratparms>
  152: PerlAccessHandler       Apache::lonacc
  153: SetHandler perl-script
  154: PerlHandler Apache::lonratparms
  155: ErrorDocument     403 /adm/login
  156: ErrorDocument	  500 /adm/errorhandler
  157: </Location>
  158: 
  159: # --------------------------------------------- Resource Space Content Handlers
  160: 
  161: <LocationMatch "^/res.*/$">
  162: SetHandler perl-script
  163: PerlHandler Apache::lonindexer
  164: PerlCleanupHandler Apache::lonindexer::cleanup
  165: </LocationMatch>
  166: 
  167: <LocationMatch "^/(res|\~).*\.tex$">
  168: SetHandler perl-script
  169: PerlHandler Apache::lontex
  170: </LocationMatch>
  171: 
  172: <LocationMatch "^/res/.*\.page$>
  173: SetHandler perl-script
  174: PerlHandler Apache::lonpage
  175: </LocationMatch>
  176: 
  177: <LocationMatch "^/res/.*\.sequence$>
  178: SetHandler perl-script
  179: PerlHandler Apache::lonsequence
  180: </LocationMatch>
  181: 
  182: <LocationMatch "^/(res|\~).*\.meta$>
  183: SetHandler perl-script
  184: PerlHandler Apache::lonmeta
  185: </LocationMatch>
  186: 
  187: <LocationMatch "^/(res|\~).*\.rights$>
  188: SetHandler perl-script
  189: PerlHandler Apache::lonrights
  190: </LocationMatch>
  191: 
  192: <LocationMatch "^/(res|\~).*\.(xml|html|htm|xhtml|xhtm)$">
  193: SetHandler perl-script
  194: PerlHandler Apache::lonxml
  195: </LocationMatch>
  196: 
  197: <LocationMatch "^/(res|\~).*\.(problem|exam|quiz|assess|survey|form|library)$">
  198: SetHandler perl-script
  199: PerlHandler Apache::lonhomework
  200: </LocationMatch>
  201: 
  202: <LocationMatch "^/adm/wrapper/">
  203: PerlAccessHandler       Apache::lonacc
  204: SetHandler perl-script
  205: PerlHandler Apache::lonwrapper
  206: ErrorDocument     403 /adm/login
  207: ErrorDocument	  500 /adm/errorhandler
  208: </LocationMatch>
  209: 
  210: # -------------------------------------------------------------- Admin Programs
  211: 
  212: <Location /adm/randomlabel.png>
  213: PerlAccessHandler       Apache::lonacc
  214: SetHandler perl-script
  215: PerlHandler Apache::randomlylabel
  216: ErrorDocument     403 /adm/login
  217: ErrorDocument	  500 /adm/errorhandler
  218: </Location>
  219: 
  220: <Location /adm/statistics>
  221: PerlAccessHandler       Apache::lonacc
  222: SetHandler perl-script
  223: PerlHandler Apache::lonstatistics
  224: ErrorDocument     403 /adm/login
  225: ErrorDocument     413 /adm/overloaded.txt
  226: ErrorDocument	  500 /adm/errorhandler
  227: </Location>
  228: 
  229: <Location /adm/roles>
  230: PerlAccessHandler       Apache::lonacc
  231: SetHandler perl-script
  232: PerlHandler Apache::lonroles
  233: ErrorDocument     403 /adm/login
  234: ErrorDocument	  500 /adm/errorhandler
  235: </Location>
  236: 
  237: <Location /adm/menu>
  238: PerlAccessHandler       Apache::lonacc
  239: SetHandler perl-script
  240: PerlHandler Apache::lonmenu
  241: ErrorDocument     403 /adm/login
  242: ErrorDocument	  500 /adm/errorhandler
  243: </Location>
  244: 
  245: <Location /adm/pickstudent>
  246: PerlAccessHandler       Apache::lonacc
  247: SetHandler perl-script
  248: PerlHandler Apache::lonpickstudent
  249: ErrorDocument     403 /adm/login
  250: ErrorDocument	  500 /adm/errorhandler
  251: </Location>
  252: 
  253: <Location /adm/pickcourse>
  254: PerlAccessHandler       Apache::lonacc
  255: SetHandler perl-script
  256: PerlHandler Apache::lonpickcourse
  257: ErrorDocument     403 /adm/login
  258: ErrorDocument	  500 /adm/errorhandler
  259: </Location>
  260: 
  261: <Location /adm/login>
  262: SetHandler perl-script
  263: PerlHandler Apache::lonlogin
  264: </Location>
  265: 
  266: <Location /adm/logout>
  267: PerlAccessHandler       Apache::lonacc
  268: SetHandler perl-script
  269: PerlHandler Apache::lonlogout
  270: ErrorDocument     403 /adm/login
  271: </Location>
  272: 
  273: <Location /adm/authenticate>
  274: SetHandler perl-script
  275: PerlHandler Apache::lonauth
  276: </Location>
  277: 
  278: <Location /adm/annotations>
  279: PerlAccessHandler       Apache::lonacc
  280: SetHandler perl-script
  281: PerlHandler Apache::admannotations
  282: ErrorDocument     403 /adm/login
  283: ErrorDocument	  500 /adm/errorhandler
  284: </Location>
  285: 
  286: <Location /adm/bookmarks>
  287: PerlAccessHandler       Apache::lonacc
  288: SetHandler perl-script
  289: PerlHandler Apache::admbookmarks
  290: ErrorDocument     403 /adm/login
  291: ErrorDocument	  500 /adm/errorhandler
  292: </Location>
  293: 
  294: <Location /adm/flip>
  295: PerlAccessHandler       Apache::lonacc
  296: SetHandler perl-script
  297: PerlHandler Apache::lonpageflip
  298: PerlCleanupHandler Apache::lonpageflip::cleanup
  299: ErrorDocument     406 /adm/roles
  300: ErrorDocument     403 /adm/login
  301: ErrorDocument	  500 /adm/errorhandler
  302: </Location>
  303: 
  304: <Location /adm/ambiguous>
  305: PerlAccessHandler       Apache::lonacc
  306: SetHandler perl-script
  307: PerlHandler Apache::lonambiguous
  308: PerlCleanupHandler Apache::lonambiguous::cleanup
  309: ErrorDocument     403 /adm/login
  310: ErrorDocument	  500 /adm/errorhandler
  311: </Location>
  312: 
  313: <Location /adm/email>
  314: PerlAccessHandler       Apache::lonacc
  315: SetHandler perl-script
  316: PerlHandler Apache::lonmsg
  317: ErrorDocument     403 /adm/login
  318: ErrorDocument	  500 /adm/errorhandler
  319: </Location>
  320: 
  321: <Location /adm/parmset>
  322: PerlAccessHandler       Apache::lonacc
  323: SetHandler perl-script
  324: PerlHandler Apache::lonparmset
  325: ErrorDocument     403 /adm/login
  326: ErrorDocument     406 /adm/roles
  327: ErrorDocument	  500 /adm/errorhandler
  328: </Location>
  329: 
  330: <Location /adm/wizard>
  331: PerlAccessHandler       Apache::lonacc
  332: SetHandler perl-script
  333: PerlHandler Apache::lonwizard
  334: ErrorDocument     403 /adm/login
  335: ErrorDocument     406 /adm/roles
  336: ErrorDocument	  500 /adm/errorhandler
  337: </Location>
  338: 
  339: <Location /adm/grades>
  340: PerlAccessHandler       Apache::lonacc
  341: SetHandler perl-script
  342: PerlHandler Apache::grades
  343: ErrorDocument     403 /adm/login
  344: ErrorDocument     406 /adm/roles
  345: ErrorDocument	  500 /adm/errorhandler
  346: </Location>
  347: 
  348: <Location /adm/createcourse>
  349: PerlAccessHandler       Apache::lonacc
  350: SetHandler perl-script
  351: PerlHandler Apache::loncreatecourse
  352: ErrorDocument     403 /adm/login
  353: ErrorDocument     406 /adm/roles
  354: ErrorDocument	  500 /adm/errorhandler
  355: </Location>
  356: 
  357: <Location /adm/createuser>
  358: PerlAccessHandler       Apache::lonacc
  359: SetHandler perl-script
  360: PerlHandler Apache::loncreateuser
  361: ErrorDocument     403 /adm/login
  362: ErrorDocument     406 /adm/roles
  363: ErrorDocument	  500 /adm/errorhandler
  364: </Location>
  365: 
  366: <Location /adm/publish>
  367: PerlAccessHandler       Apache::lonacc
  368: SetHandler perl-script
  369: PerlHandler Apache::lonpublisher
  370: ErrorDocument     403 /adm/login
  371: ErrorDocument     404 /adm/notfound.html
  372: ErrorDocument     406 /adm/unauthorized
  373: ErrorDocument	  500 /adm/errorhandler
  374: </Location>
  375: 
  376: <LocationMatch "^/\~.*/$">
  377: PerlAccessHandler       Apache::loncacc
  378: SetHandler perl-script
  379: PerlHandler Apache::lonpubdir
  380: ErrorDocument     403 /adm/login
  381: ErrorDocument     404 /adm/notfound.html
  382: ErrorDocument     406 /adm/unauthorized
  383: ErrorDocument	  500 /adm/errorhandler
  384: </LocationMatch>
  385: 
  386: <Location /adm/pubdir>
  387: PerlAccessHandler       Apache::lonacc
  388: SetHandler perl-script
  389: PerlHandler Apache::lonpubdir
  390: ErrorDocument     403 /adm/login
  391: ErrorDocument     404 /adm/notfound.html
  392: ErrorDocument     406 /adm/unauthorized
  393: ErrorDocument	  500 /adm/errorhandler
  394: </Location>
  395: 
  396: <Location /adm/unauthorized>
  397: PerlAccessHandler       Apache::lonacc
  398: SetHandler perl-script
  399: PerlHandler Apache::lonunauthorized
  400: ErrorDocument     403 /adm/login
  401: ErrorDocument     404 /adm/notfound.html
  402: ErrorDocument	  500 /adm/errorhandler
  403: </Location>
  404: 
  405: <Location /adm/retrieve>
  406: PerlAccessHandler       Apache::lonacc
  407: SetHandler perl-script
  408: PerlHandler Apache::lonretrieve
  409: ErrorDocument     403 /adm/login
  410: ErrorDocument     404 /adm/notfound.html
  411: ErrorDocument     406 /adm/unauthorized
  412: ErrorDocument	  500 /adm/errorhandler
  413: </Location>
  414: 
  415: <Location /adm/cfile>
  416: PerlAccessHandler       Apache::lonacc
  417: SetHandler perl-script
  418: PerlHandler Apache::loncfile
  419: ErrorDocument     403 /adm/login
  420: ErrorDocument     404 /adm/notfound.html
  421: ErrorDocument     406 /adm/unauthorized
  422: ErrorDocument	  500 /adm/errorhandler
  423: </Location>
  424: 
  425: <Location /adm/diff>
  426: PerlAccessHandler       Apache::lonacc
  427: SetHandler perl-script
  428: PerlHandler Apache::londiff
  429: ErrorDocument     403 /adm/login
  430: ErrorDocument     404 /adm/notfound.html
  431: ErrorDocument     406 /adm/unauthorized
  432: ErrorDocument	  500 /adm/errorhandler
  433: </Location>
  434: 
  435: <Location /adm/upload>
  436: PerlAccessHandler       Apache::lonacc
  437: SetHandler perl-script
  438: PerlHandler Apache::lonupload
  439: ErrorDocument     403 /adm/login
  440: ErrorDocument     404 /adm/notfound.html
  441: ErrorDocument     406 /adm/unauthorized
  442: ErrorDocument	  500 /adm/errorhandler
  443: </Location>
  444: 
  445: <Location /adm/assesscalc>
  446: PerlAccessHandler       Apache::lonacc
  447: SetHandler perl-script
  448: PerlHandler Apache::lonspreadsheet
  449: ErrorDocument     403 /adm/login
  450: ErrorDocument     406 /adm/roles
  451: ErrorDocument     413 /adm/overloaded.txt
  452: ErrorDocument	  500 /adm/errorhandler
  453: </Location>
  454: 
  455: <Location /adm/studentcalc>
  456: PerlAccessHandler       Apache::lonacc
  457: SetHandler perl-script
  458: PerlHandler Apache::lonspreadsheet
  459: ErrorDocument     403 /adm/login
  460: ErrorDocument     406 /adm/roles
  461: ErrorDocument     413 /adm/overloaded.txt
  462: ErrorDocument	  500 /adm/errorhandler
  463: </Location>
  464: 
  465: <Location /adm/classcalc>
  466: PerlAccessHandler       Apache::lonacc
  467: SetHandler perl-script
  468: PerlHandler Apache::lonspreadsheet
  469: ErrorDocument     403 /adm/login
  470: ErrorDocument     406 /adm/roles
  471: ErrorDocument     413 /adm/overloaded.txt
  472: ErrorDocument	  500 /adm/errorhandler
  473: </Location>
  474: 
  475: <Location /adm/dropadd>
  476: PerlAccessHandler       Apache::lonacc
  477: SetHandler perl-script
  478: PerlHandler Apache::londropadd
  479: ErrorDocument     403 /adm/login
  480: ErrorDocument     406 /adm/roles
  481: ErrorDocument	  500 /adm/errorhandler
  482: </Location>
  483: 
  484: <Location /adm/printout>
  485: PerlAccessHandler       Apache::lonacc
  486: SetHandler perl-script
  487: PerlHandler Apache::lonprintout
  488: ErrorDocument     403 /adm/login
  489: ErrorDocument     413 /adm/overloaded.txt
  490: ErrorDocument	  500 /adm/errorhandler
  491: </Location>
  492: 
  493: <Location /adm/feedback>
  494: PerlAccessHandler       Apache::lonacc
  495: SetHandler perl-script
  496: PerlHandler Apache::lonfeedback
  497: ErrorDocument     403 /adm/login
  498: ErrorDocument	  500 /adm/errorhandler
  499: </Location>
  500: 
  501: <Location /adm/coursedocs>
  502: PerlAccessHandler       Apache::lonacc
  503: SetHandler perl-script
  504: PerlCleanupHandler Apache::coursedocs::untiehash
  505: PerlHandler Apache::londocs
  506: ErrorDocument     403 /adm/login
  507: ErrorDocument	  500 /adm/errorhandler
  508: </Location>
  509: 
  510: <Location /adm/announcements>
  511: PerlAccessHandler       Apache::lonacc
  512: SetHandler perl-script
  513: PerlHandler Apache::lonannounce
  514: ErrorDocument     403 /adm/login
  515: ErrorDocument	  500 /adm/errorhandler
  516: </Location>
  517: 
  518: <Location /adm/chat>
  519: PerlAccessHandler       Apache::lonacc
  520: SetHandler perl-script
  521: PerlHandler Apache::lonchat
  522: ErrorDocument	  500 /adm/errorhandler
  523: </Location>
  524: 
  525: <Location /adm/chatfetch>
  526: PerlAccessHandler       Apache::lonacc
  527: SetHandler perl-script
  528: PerlHandler Apache::lonchatfetch
  529: ErrorDocument     413 /adm/overloaded.txt
  530: ErrorDocument	  500 /adm/errorhandler
  531: </Location>
  532: 
  533: <Location /adm/evaluate>
  534: PerlAccessHandler       Apache::lonacc
  535: SetHandler perl-script
  536: PerlHandler Apache::lonevaluate
  537: ErrorDocument     403 /adm/login
  538: ErrorDocument	  500 /adm/errorhandler
  539: </Location>
  540: 
  541: <Location /adm/preferences>
  542: PerlAccessHandler       Apache::lonacc
  543: SetHandler perl-script
  544: PerlHandler Apache::lonpreferences
  545: ErrorDocument     403 /adm/login
  546: ErrorDocument	  500 /adm/errorhandler
  547: </Location>
  548: 
  549: <Location /adm/assignments>
  550: PerlAccessHandler       Apache::lonacc
  551: SetHandler perl-script
  552: PerlHandler Apache::lonassignments
  553: ErrorDocument     403 /adm/login
  554: ErrorDocument     406 /adm/roles
  555: ErrorDocument	  500 /adm/errorhandler
  556: </Location>
  557: 
  558: <Location /adm/communicate>
  559: PerlAccessHandler       Apache::lonacc
  560: SetHandler perl-script
  561: PerlHandler Apache::loncommunicate
  562: ErrorDocument     403 /adm/login
  563: ErrorDocument	  500 /adm/errorhandler
  564: </Location>
  565: 
  566: <Location /adm/searchcat>
  567: PerlAccessHandler       Apache::lonacc
  568: SetHandler perl-script
  569: PerlHandler Apache::lonsearchcat
  570: PerlCleanupHandler Apache::lonsearchcat::cleanup
  571: ErrorDocument     403 /adm/login
  572: ErrorDocument     413 /adm/overloaded.txt
  573: ErrorDocument	  500 /adm/errorhandler
  574: </Location>
  575: 
  576: <Location /adm/navmaps>
  577: PerlAccessHandler       Apache::lonacc
  578: SetHandler perl-script
  579: PerlHandler Apache::lonnavmaps
  580: ErrorDocument     403 /adm/login
  581: ErrorDocument     406 /adm/roles
  582: ErrorDocument	  500 /adm/errorhandler
  583: </Location>
  584: 
  585: <Location /adm/quickgrades>
  586: PerlAccessHandler       Apache::lonacc
  587: SetHandler perl-script
  588: PerlHandler Apache::lonquickgrades
  589: ErrorDocument     403 /adm/login
  590: ErrorDocument     406 /adm/roles
  591: ErrorDocument     500 /adm/errorhandler
  592: </Location>
  593: 
  594: <Location /adm/groupsort>
  595: PerlAccessHandler	Apache::lonacc
  596: SetHandler perl-script
  597: PerlHandler Apache::groupsort
  598: PerlCleanupHandler Apache::groupsort::cleanup
  599: ErrorDocument     403 /adm/login
  600: ErrorDocument	  500 /adm/errorhandler
  601: </Location>
  602: 
  603: <Location /adm/errorhandler>
  604: SetHandler perl-script
  605: PerlHandler Apache::lonerrorhandler
  606: </Location>
  607: 
  608: <LocationMatch "^/adm/help/.*\.hlp$">
  609: SetHandler perl-script
  610: PerlHandler Apache::lonhelp
  611: </LocationMatch>
  612: 
  613: # ------------------------------------------------- Backdoor Adm Tests/Programs
  614: 
  615: <Location /cgi-bin/loncron.pl>
  616: AuthName "LON-CAPA Network Administration"
  617: AuthType Basic
  618: AuthUserFile /home/httpd/lonTabs/htpasswd
  619: require user lonadm
  620: </Location>
  621: 
  622: <Location /cgi-bin/userstatus.pl>
  623: AuthName "LON-CAPA Network Administration"
  624: AuthType Basic
  625: AuthUserFile /home/httpd/lonTabs/htpasswd
  626: require user lonadm
  627: </Location>
  628: 
  629: <Location /cgi-bin/lonversions.pl>
  630: AuthName "LON-CAPA Network Administration"
  631: AuthType Basic
  632: AuthUserFile /home/httpd/lonTabs/htpasswd
  633: require user lonadm
  634: </Location>
  635: 
  636: <Location /cgi-bin/clusterstatus.pl>
  637: AuthName "LON-CAPA Network Administration"
  638: AuthType Basic
  639: AuthUserFile /home/httpd/lonTabs/htpasswd
  640: require user lonadm
  641: </Location>
  642: 
  643: <Location /cgi-bin/metadata_keywords.pl>
  644: AuthName "LON-CAPA Network Administration"
  645: AuthType Basic
  646: AuthUserFile /home/httpd/lonTabs/htpasswd
  647: require user lonadm
  648: </Location>
  649: 
  650: <Location /cgi-bin/metadata_harvest.pl>
  651: AuthName "harvest"
  652: AuthType Basic
  653: AuthUserFile /home/httpd/lonTabs/htpasswd
  654: require user  reaper
  655: </Location>
  656: 
  657: <Location /adm/test>
  658: AuthName "LON-CAPA Network Administration"
  659: AuthType Basic
  660: AuthUserFile /home/httpd/lonTabs/htpasswd
  661: require user lonadm
  662: SetHandler perl-script
  663: PerlAccessHandler Apache::lonacc
  664: PerlHandler Apache::lontest
  665: </Location>
  666: 
  667: # ------------------------------------------------------- Shutting down a child
  668: 
  669: PerlChildExitHandler Apache::lonnet::goodbye
  670: 
  671: #
  672: # LON-CAPA Section (extensions to access.conf permission configuration)
  673: #
  674: # =========================================================== Directory Options
  675: 
  676: # Start out with "no"
  677: 
  678: <Directory />
  679: Options None
  680: AllowOverride None
  681: </Directory>
  682: 
  683: # Yes to symbolic links and server-side includes
  684: 
  685: <Directory /home/httpd/html>
  686: Options Includes FollowSymLinks
  687: AllowOverride None
  688: order allow,deny
  689: allow from all
  690: </Directory>
  691: 
  692: # If it is in cgi-bin, then it can be executed as a CGI script.
  693: 
  694: <Directory /home/httpd/cgi-bin>
  695: AllowOverride None
  696: Options ExecCGI
  697: </Directory>
  698: 
  699: # ============================================================= Access Handlers
  700: 
  701: # ------------------------------------------------- Allow server-status reports
  702: <Location /server-status>
  703: SetHandler server-status
  704: AuthName "LON-CAPA Network Administration"
  705: AuthType Basic
  706: AuthUserFile /home/httpd/lonTabs/htpasswd
  707: require user lonadm
  708: </Location>
  709: 
  710: # ------------------------ Allow LON-CAPA "low-level" connection status reports
  711: <Location /lon-status>
  712: AuthName "LON-CAPA Network Administration"
  713: AuthType Basic
  714: AuthUserFile /home/httpd/lonTabs/htpasswd
  715: require user lonadm
  716: </Location>
  717: 
  718: # ------------------- Allow access to local system documentation from localhost
  719: Alias /doc /usr/doc
  720: <Directory /usr/doc>
  721: order deny,allow
  722: deny from all
  723: allow from localhost
  724: Options Indexes FollowSymLinks
  725: </Directory>
  726: 
  727: # ******** THESE "SHOULD" NEVER BE ALTERED BY THE USER ************************
  728: # ====================================== Internal Settings / Perl Configuration
  729: 
  730: PerlSetVar       lonIDsDir    /home/httpd/lonIDs
  731: PerlSetVar       lonTabDir    /home/httpd/lonTabs
  732: PerlSetVar       lonUsersDir  /home/httpd/lonUsers
  733: PerlSetVar       lonIconsURL  /adm/lonIcons
  734: PerlSetVar       londPort     5663
  735: PerlSetVar       lonSysEMail  korte@lite.msu.edu
  736: PerlSetVar       lonDaemons   /home/httpd/perl
  737: PerlSetVar       lonSockDir   /home/httpd/sockets
  738: PerlSetVar       lonDocRoot   /home/httpd/html
  739: PerlSetVar       lonIncludes  /home/httpd/html/res/adm/includes
  740: PerlSetVar       lonBrowsDet  netscape:mozilla:msie:mozilla\/(\d+\.\d+)\s:9999:9999&explorer:msie:netscape:msie\s(\d+\.\d+)\;:9999:9999&mozilla:mozilla\/[5-9]:msie:mozilla\/(\d+\.\d+)\s:9999:1&amaya:amaya:mozilla:V(\d+\.\d+)\s:1:1
  741: PerlSetVar       lonTextBrowsers opera:windows\s+ce:lynx
  742: 
  743: # -----------------------------------------------------------------------------
  744: # NOTE: lonSqlAccess key is the password for the MySQL user
  745: # www@localhost.  This value must always be "localhostkey".
  746: # The only security risk occurs when somebody logs in as 'www' on your system
  747: # (in which case you have much bigger problems than whether or not they
  748: # can access the non-authoritative loncapa database on your machine).
  749: 
  750: PerlSetVar       lonSqlAccess   localhostkey
  751: 
  752: # -----------------------------------------------------------------------------
  753: # lonttpdPort is the port used by the lightweight graphics httpd server
  754: # not the main Apache server
  755: PerlSetVar       lonhttpdPort  8080
  756: 
  757: 
  758: 
  759: # ====================================== Include machine-specific configuration
  760: 
  761: Include conf/loncapa.conf
  762: 
  763: # ================================================== Initiate mod_perl starting
  764: 
  765: PerlRequire      conf/startup.pl
  766: PerlFreshRestart On

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