File:  [LON-CAPA] / loncom / loncapa_apache.conf
Revision 1.25: download - view: text, annotated - select for diffs
Sat Nov 9 22:11:17 2002 UTC (21 years, 5 months ago) by albertel
Branches: MAIN
CVS tags: HEAD
- adding code for setting the browser.unicode ENV
- extended lonBrowseDet, adding a new field, which is the version of the
  browser wihch needs -u1 rather than -u0

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

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