File:  [LON-CAPA] / loncom / Attic / srm.conf
Revision 1.27: download - view: text, annotated - select for diffs
Thu Dec 6 19:23:42 2001 UTC (22 years, 5 months ago) by www
Branches: MAIN
CVS tags: HEAD
PerlChildExitHandler flushes course logs

    1: ##
    2: ## srm.conf -- Apache HTTP server configuration file
    3: ##
    4: #
    5: # configured for LON-CAPA
    6: #
    7: # $Id: srm.conf,v 1.27 2001/12/06 19:23:42 www Exp $
    8: 
    9: # With this document, you define the name space that users see of your http
   10: # server.  This file also defines server settings which affect how requests are
   11: # serviced, and how results should be formatted. 
   12: 
   13: # See the tutorials at http://www.apache.org/ for
   14: # more information.
   15: 
   16: # Originally by Rob McCool; Adapted for Apache
   17: 
   18: 
   19: # DocumentRoot: The directory out of which you will serve your
   20: # documents. By default, all requests are taken from this directory, but
   21: # symbolic links and aliases may be used to point to other locations.
   22: 
   23: DocumentRoot /home/httpd/html
   24: 
   25: # UserDir: The name of the directory which is appended onto a user's home
   26: # directory if a ~user request is recieved.
   27: 
   28: UserDir public_html
   29: 
   30: # DirectoryIndex: Name of the file or files to use as a pre-written HTML
   31: # directory index.  Separate multiple entries with spaces.
   32: 
   33: DirectoryIndex index.html index.shtml index.cgi
   34: 
   35: # FancyIndexing is whether you want fancy directory indexing or standard
   36: 
   37: FancyIndexing on
   38: 
   39: # AddIcon tells the server which icon to show for different files or filename
   40: # extensions
   41: 
   42: AddIconByEncoding (CMP,/icons/compressed.gif) x-compress x-gzip
   43: 
   44: AddIconByType (TXT,/icons/text.gif) text/*
   45: AddIconByType (IMG,/icons/image2.gif) image/*
   46: AddIconByType (SND,/icons/sound2.gif) audio/*
   47: AddIconByType (VID,/icons/movie.gif) video/*
   48: 
   49: AddIcon /icons/binary.gif .bin .exe
   50: AddIcon /icons/binhex.gif .hqx
   51: AddIcon /icons/tar.gif .tar
   52: AddIcon /icons/world2.gif .wrl .wrl.gz .vrml .vrm .iv
   53: AddIcon /icons/compressed.gif .Z .z .tgz .gz .zip
   54: AddIcon /icons/a.gif .ps .ai .eps
   55: AddIcon /icons/layout.gif .html .shtml .htm .pdf
   56: AddIcon /icons/text.gif .txt
   57: AddIcon /icons/c.gif .c
   58: AddIcon /icons/p.gif .pl .py
   59: AddIcon /icons/f.gif .for
   60: AddIcon /icons/dvi.gif .dvi
   61: AddIcon /icons/uuencoded.gif .uu
   62: AddIcon /icons/script.gif .conf .sh .shar .csh .ksh .tcl
   63: AddIcon /icons/tex.gif .tex
   64: AddIcon /icons/bomb.gif core
   65: 
   66: AddIcon /icons/back.gif ..
   67: AddIcon /icons/hand.right.gif README
   68: AddIcon /icons/folder.gif ^^DIRECTORY^^
   69: AddIcon /icons/blank.gif ^^BLANKICON^^
   70: 
   71: # DefaultIcon is which icon to show for files which do not have an icon
   72: # explicitly set.
   73: 
   74: DefaultIcon /icons/unknown.gif
   75: 
   76: # AddDescription allows you to place a short description after a file in
   77: # server-generated indexes.
   78: # Format: AddDescription "description" filename
   79: 
   80: # ReadmeName is the name of the README file the server will look for by
   81: # default. Format: ReadmeName name
   82: #
   83: # The server will first look for name.html, include it if found, and it will
   84: # then look for name and include it as plaintext if found.
   85: #
   86: # HeaderName is the name of a file which should be prepended to
   87: # directory indexes. 
   88: 
   89: ReadmeName README
   90: HeaderName HEADER
   91: 
   92: # IndexIgnore is a set of filenames which directory indexing should ignore
   93: # Format: IndexIgnore name1 name2...
   94: 
   95: IndexIgnore .??* *~ *# HEADER* README* RCS
   96: 
   97: # AccessFileName: The name of the file to look for in each directory
   98: # for access control information.
   99: 
  100: AccessFileName .htaccess
  101: 
  102: # TypesConfig describes where the mime.types file (or equivalent) is
  103: # to be found.
  104: 
  105: TypesConfig /etc/mime.types
  106: 
  107: # DefaultType is the default MIME type for documents which the server
  108: # cannot find the type of from filename extensions.
  109: 
  110: DefaultType text/plain
  111: 
  112: # AddEncoding allows you to have certain browsers (Mosaic/X 2.1+) uncompress
  113: # information on the fly. Note: Not all browsers support this.
  114: 
  115: AddEncoding x-compress Z
  116: AddEncoding x-gzip gz
  117: 
  118: # AddLanguage allows you to specify the language of a document. You can
  119: # then use content negotiation to give a browser a file in a language
  120: # it can understand.  Note that the suffix does not have to be the same
  121: # as the language keyword --- those with documents in Polish (whose
  122: # net-standard language code is pl) may wish to use "AddLanguage pl .po" 
  123: # to avoid the ambiguity with the common suffix for perl scripts.
  124: 
  125: AddLanguage en .en
  126: AddLanguage fr .fr
  127: AddLanguage de .de
  128: AddLanguage da .da
  129: AddLanguage el .el
  130: AddLanguage it .it
  131: 
  132: # LanguagePriority allows you to give precedence to some languages
  133: # in case of a tie during content negotiation.
  134: # Just list the languages in decreasing order of preference.
  135: 
  136: LanguagePriority en fr de
  137: 
  138: # Redirect allows you to tell clients about documents which used to exist in
  139: # your server's namespace, but do not anymore. This allows you to tell the
  140: # clients where to look for the relocated document.
  141: # Format: Redirect fakename url
  142: 
  143: 
  144: # Aliases: Add here as many aliases as you need (with no limit). The format is 
  145: # Alias fakename realname
  146: 
  147: # Note that if you include a trailing / on fakename then the server will
  148: # require it to be present in the URL.  So "/icons" isn't aliased in this
  149: # example.
  150: 
  151: Alias /icons/ /home/httpd/icons/
  152: 
  153: # ScriptAlias: This controls which directories contain server scripts.
  154: # Format: ScriptAlias fakename realname
  155: 
  156: ScriptAlias /cgi-bin/ /home/httpd/cgi-bin/
  157: 
  158: # If you want to use server side includes, or CGI outside
  159: # ScriptAliased directories, uncomment the following lines.
  160: 
  161: # AddType allows you to tweak mime.types without actually editing it, or to
  162: # make certain files to be certain types.
  163: # Format: AddType type/subtype ext1
  164: 
  165: # For example, the PHP3 module (not part of the Apache distribution)
  166: # will typically use:
  167: #AddType application/x-httpd-php3 .php3
  168: #AddType application/x-httpd-php3-source .phps
  169: # The following is for PHP/FI (PHP2):
  170: #AddType application/x-httpd-php .phtml
  171: 
  172: # AddHandler allows you to map certain file extensions to "handlers",
  173: # actions unrelated to filetype. These can be either built into the server
  174: # or added with the Action command (see below)
  175: # Format: AddHandler action-name ext1
  176: 
  177: # To use CGI scripts:
  178: #AddHandler cgi-script .cgi
  179: 
  180: # To use server-parsed HTML files
  181: AddType text/html .shtml
  182: AddHandler server-parsed .shtml
  183: 
  184: # Uncomment the following line to enable Apache's send-asis HTTP file
  185: # feature
  186: #AddHandler send-as-is asis
  187: 
  188: # If you wish to use server-parsed imagemap files, use
  189: AddHandler imap-file map
  190: 
  191: # To enable type maps, you might want to use
  192: #AddHandler type-map var
  193: 
  194: # To enable the perl module (if you have it installed), uncomment
  195: # the following section 
  196: #
  197: #Alias /perl/ /home/httpd/perl/
  198: #<Location /perl>
  199: #SetHandler perl-script
  200: #PerlHandler Apache::Registry
  201: #Options +ExecCGI
  202: #</Location>
  203: 
  204: # Action lets you define media types that will execute a script whenever
  205: # a matching file is called. This eliminates the need for repeated URL
  206: # pathnames for oft-used CGI file processors.
  207: # Format: Action media/type /cgi-script/location
  208: # Format: Action handler-name /cgi-script/location
  209: 
  210: # MetaDir: specifies the name of the directory in which Apache can find
  211: # meta information files. These files contain additional HTTP headers
  212: # to include when sending the document
  213: 
  214: #MetaDir .web
  215: 
  216: # MetaSuffix: specifies the file name suffix for the file containing the
  217: # meta information.
  218: 
  219: #MetaSuffix .meta
  220: 
  221: # Customizable error response (Apache style)
  222: #  these come in three flavors
  223: #
  224: #    1) plain text
  225: #ErrorDocument 500 "The server made a boo boo.
  226: #  n.b.  the (") marks it as text, it does not get output
  227: #
  228: #    2) local redirects
  229: #ErrorDocument 404 /missing.html
  230: #  to redirect to local url /missing.html
  231: #ErrorDocument 404 /cgi-bin/missing_handler.pl
  232: #  n.b. can redirect to a script or a document using server-side-includes.
  233: #
  234: #    3) external redirects
  235: #ErrorDocument 402 http://some.other_server.com/subscription_info.html
  236: #
  237: 
  238: # mod_mime_magic allows the server to use various hints from the file itself
  239: # to determine its type.
  240: #MimeMagicFile /etc/httpd/conf/magic
  241: 
  242: # The following directives disable keepalives and HTTP header flushes.
  243: # The first directive disables it for Netscape 2.x and browsers which
  244: # spoof it. There are known problems with these.
  245: # The second directive is for Microsoft Internet Explorer 4.0b2
  246: # which has a broken HTTP/1.1 implementation and does not properly
  247: # support keepalive when it is used on 301 or 302 (redirect) responses.
  248: 
  249: BrowserMatch "Mozilla/2" nokeepalive
  250: BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
  251: 
  252: # The following directive disables HTTP/1.1 responses to browsers which
  253: # are in violation of the HTTP/1.0 spec by not being able to grok a
  254: # basic 1.1 response.
  255: 
  256: BrowserMatch "RealPlayer 4\.0" force-response-1.0
  257: BrowserMatch "Java/1\.0" force-response-1.0
  258: BrowserMatch "JDK/1\.0" force-response-1.0
  259: 
  260: #
  261: # LON-CAPA Section
  262: #
  263: # ================================================================= Directories
  264: 
  265: # ------------------------------------------------------------- Access Handlers
  266: 
  267: <LocationMatch "^/res.*">
  268: PerlAccessHandler       Apache::lonacc
  269: PerlHeaderParserHandler Apache::lonrep
  270: ErrorDocument     403 /adm/login
  271: ErrorDocument     404 /adm/notfound.html
  272: ErrorDocument     406 /adm/roles
  273: ErrorDocument	  500 /adm/errorhandler
  274: </LocationMatch>
  275: 
  276: <LocationMatch "^/priv.*">
  277: PerlAccessHandler Apache::loncacc
  278: SetHandler        perl-script
  279: PerlHandler       Apache::lonconstruct
  280: ErrorDocument     403 /adm/login
  281: ErrorDocument     404 /adm/notfound.html
  282: ErrorDocument     406 /adm/unauthorized.html
  283: ErrorDocument	  500 /adm/errorhandler
  284: </LocationMatch>
  285: 
  286: <LocationMatch "^/raw.*">
  287: PerlAccessHandler Apache::lonracc
  288: </LocationMatch>
  289: 
  290: <LocationMatch "^/\~.*">
  291: PerlAccessHandler Apache::loncacc
  292: ErrorDocument     403 /adm/login
  293: ErrorDocument     404 /adm/notfound.html
  294: ErrorDocument     406 /adm/unauthorized.html
  295: ErrorDocument	  500 /adm/errorhandler
  296: AllowOverride None
  297: </LocationMatch>
  298: 
  299: # ------------------------------------------------------------------------- RAT
  300: 
  301: <LocationMatch "^/\~.*\.sequence$">
  302: SetHandler perl-script
  303: PerlHandler Apache::lonratedt
  304: </LocationMatch>
  305: 
  306: <LocationMatch "^/\~.*\.page$">
  307: SetHandler perl-script
  308: PerlHandler Apache::lonratedt
  309: </LocationMatch>
  310: 
  311: <LocationMatch "^/\~.*\/ratserver$">
  312: SetHandler perl-script
  313: PerlHandler Apache::lonratsrv
  314: </LocationMatch>
  315: 
  316: <Location /adm/ratparms>
  317: PerlAccessHandler       Apache::lonacc
  318: SetHandler perl-script
  319: PerlHandler Apache::lonratparms
  320: ErrorDocument     403 /adm/login
  321: ErrorDocument	  500 /adm/errorhandler
  322: </Location>
  323: 
  324: # --------------------------------------------- Resource Space Content Handlers
  325: 
  326: <LocationMatch "^/res.*/$">
  327: SetHandler perl-script
  328: PerlHandler Apache::lonindexer
  329: </LocationMatch>
  330: 
  331: <LocationMatch "^/(res|\~).*\.tex$">
  332: SetHandler perl-script
  333: PerlHandler Apache::lontex
  334: </LocationMatch>
  335: 
  336: <LocationMatch "^/res/.*\.page$>
  337: SetHandler perl-script
  338: PerlHandler Apache::lonpage
  339: </LocationMatch>
  340: 
  341: <LocationMatch "^/res/.*\.sequence$>
  342: SetHandler perl-script
  343: PerlHandler Apache::lonsequence
  344: </LocationMatch>
  345: 
  346: <LocationMatch "^/res/.*\.meta$>
  347: SetHandler perl-script
  348: PerlHandler Apache::lonmeta
  349: </LocationMatch>
  350: 
  351: <LocationMatch "^/(res|\~).*\.(xml|html|htm|xhtml|xhtm)$">
  352: SetHandler perl-script
  353: PerlHandler Apache::lonxml
  354: </LocationMatch>
  355: 
  356: <LocationMatch "^/(res|\~).*\.(problem|exam|quiz|assess|survey|form|library)$">
  357: SetHandler perl-script
  358: PerlHandler Apache::lonhomework
  359: </LocationMatch>
  360: 
  361: <LocationMatch "^/adm/wrapper/">
  362: PerlAccessHandler       Apache::lonacc
  363: SetHandler perl-script
  364: PerlHandler Apache::lonwrapper
  365: ErrorDocument     403 /adm/login
  366: ErrorDocument	  500 /adm/errorhandler
  367: </LocationMatch>
  368: 
  369: # -------------------------------------------------------------- Admin Programs
  370: 
  371: <Location /adm/statistics>
  372: PerlAccessHandler       Apache::lonacc
  373: SetHandler perl-script
  374: PerlHandler Apache::lonstatistics
  375: ErrorDocument     403 /adm/login
  376: ErrorDocument	  500 /adm/errorhandler
  377: </Location>
  378: 
  379: <Location /adm/roles>
  380: PerlAccessHandler       Apache::lonacc
  381: SetHandler perl-script
  382: PerlHandler Apache::lonroles
  383: ErrorDocument     403 /adm/login
  384: ErrorDocument	  500 /adm/errorhandler
  385: </Location>
  386: 
  387: <Location /adm/login>
  388: SetHandler perl-script
  389: PerlHandler Apache::lonlogin
  390: </Location>
  391: 
  392: <Location /adm/logout>
  393: PerlAccessHandler       Apache::lonacc
  394: SetHandler perl-script
  395: PerlHandler Apache::lonlogout
  396: ErrorDocument     403 /adm/login
  397: </Location>
  398: 
  399: <Location /adm/authenticate>
  400: SetHandler perl-script
  401: PerlHandler Apache::lonauth
  402: </Location>
  403: 
  404: <Location /adm/annotations>
  405: PerlAccessHandler       Apache::lonacc
  406: SetHandler perl-script
  407: PerlHandler Apache::admannotations
  408: ErrorDocument     403 /adm/login
  409: ErrorDocument	  500 /adm/errorhandler
  410: </Location>
  411: 
  412: <Location /adm/bookmarks>
  413: PerlAccessHandler       Apache::lonacc
  414: SetHandler perl-script
  415: PerlHandler Apache::admbookmarks
  416: ErrorDocument     403 /adm/login
  417: ErrorDocument	  500 /adm/errorhandler
  418: </Location>
  419: 
  420: <Location /adm/flip>
  421: PerlAccessHandler       Apache::lonacc
  422: SetHandler perl-script
  423: PerlHandler Apache::lonpageflip
  424: ErrorDocument     406 /adm/roles
  425: ErrorDocument     403 /adm/login
  426: ErrorDocument	  500 /adm/errorhandler
  427: </Location>
  428: 
  429: <Location /adm/ambiguous>
  430: PerlAccessHandler       Apache::lonacc
  431: SetHandler perl-script
  432: PerlHandler Apache::lonambiguous
  433: ErrorDocument     403 /adm/login
  434: ErrorDocument	  500 /adm/errorhandler
  435: </Location>
  436: 
  437: <Location /adm/email>
  438: PerlAccessHandler       Apache::lonacc
  439: SetHandler perl-script
  440: PerlHandler Apache::lonmsg
  441: ErrorDocument     403 /adm/login
  442: ErrorDocument	  500 /adm/errorhandler
  443: </Location>
  444: 
  445: <Location /adm/parmset>
  446: PerlAccessHandler       Apache::lonacc
  447: SetHandler perl-script
  448: PerlHandler Apache::lonparmset
  449: ErrorDocument     403 /adm/login
  450: ErrorDocument     406 /adm/roles
  451: ErrorDocument	  500 /adm/errorhandler
  452: </Location>
  453: 
  454: <Location /adm/grades>
  455: PerlAccessHandler       Apache::lonacc
  456: SetHandler perl-script
  457: PerlHandler Apache::grades
  458: ErrorDocument     403 /adm/login
  459: ErrorDocument     406 /adm/roles
  460: ErrorDocument	  500 /adm/errorhandler
  461: </Location>
  462: 
  463: <Location /adm/createcourse>
  464: PerlAccessHandler       Apache::lonacc
  465: SetHandler perl-script
  466: PerlHandler Apache::loncreatecourse
  467: ErrorDocument     403 /adm/login
  468: ErrorDocument     406 /adm/roles
  469: ErrorDocument	  500 /adm/errorhandler
  470: </Location>
  471: 
  472: <Location /adm/createuser>
  473: PerlAccessHandler       Apache::lonacc
  474: SetHandler perl-script
  475: PerlHandler Apache::loncreateuser
  476: ErrorDocument     403 /adm/login
  477: ErrorDocument     406 /adm/roles
  478: ErrorDocument	  500 /adm/errorhandler
  479: </Location>
  480: 
  481: <Location /adm/publish>
  482: PerlAccessHandler       Apache::lonacc
  483: SetHandler perl-script
  484: PerlHandler Apache::lonpublisher
  485: ErrorDocument     403 /adm/login
  486: ErrorDocument     404 /adm/notfound.html
  487: ErrorDocument     406 /adm/unauthorized.html
  488: ErrorDocument	  500 /adm/errorhandler
  489: </Location>
  490: 
  491: <LocationMatch "^/\~.*/$">
  492: PerlAccessHandler       Apache::loncacc
  493: SetHandler perl-script
  494: PerlHandler Apache::lonpubdir
  495: ErrorDocument     403 /adm/login
  496: ErrorDocument     404 /adm/notfound.html
  497: ErrorDocument     406 /adm/unauthorized.html
  498: ErrorDocument	  500 /adm/errorhandler
  499: </LocationMatch>
  500: 
  501: <Location /adm/pubdir>
  502: PerlAccessHandler       Apache::lonacc
  503: SetHandler perl-script
  504: PerlHandler Apache::lonpubdir
  505: ErrorDocument     403 /adm/login
  506: ErrorDocument     404 /adm/notfound.html
  507: ErrorDocument     406 /adm/unauthorized.html
  508: ErrorDocument	  500 /adm/errorhandler
  509: </Location>
  510: 
  511: <Location /adm/retrieve>
  512: PerlAccessHandler       Apache::lonacc
  513: SetHandler perl-script
  514: PerlHandler Apache::lonretrieve
  515: ErrorDocument     403 /adm/login
  516: ErrorDocument     404 /adm/notfound.html
  517: ErrorDocument     406 /adm/unauthorized.html
  518: ErrorDocument	  500 /adm/errorhandler
  519: </Location>
  520: 
  521: <Location /adm/cfile>
  522: PerlAccessHandler       Apache::lonacc
  523: SetHandler perl-script
  524: PerlHandler Apache::loncfile
  525: ErrorDocument     403 /adm/login
  526: ErrorDocument     404 /adm/notfound.html
  527: ErrorDocument     406 /adm/unauthorized.html
  528: ErrorDocument	  500 /adm/errorhandler
  529: </Location>
  530: 
  531: <Location /adm/diff>
  532: PerlAccessHandler       Apache::lonacc
  533: SetHandler perl-script
  534: PerlHandler Apache::londiff
  535: ErrorDocument     403 /adm/login
  536: ErrorDocument     404 /adm/notfound.html
  537: ErrorDocument     406 /adm/unauthorized.html
  538: ErrorDocument	  500 /adm/errorhandler
  539: </Location>
  540: 
  541: <Location /adm/upload>
  542: PerlAccessHandler       Apache::lonacc
  543: SetHandler perl-script
  544: PerlHandler Apache::lonupload
  545: ErrorDocument     403 /adm/login
  546: ErrorDocument     404 /adm/notfound.html
  547: ErrorDocument     406 /adm/unauthorized.html
  548: ErrorDocument	  500 /adm/errorhandler
  549: </Location>
  550: 
  551: <Location /adm/assesscalc>
  552: PerlAccessHandler       Apache::lonacc
  553: SetHandler perl-script
  554: PerlHandler Apache::lonspreadsheet
  555: ErrorDocument     403 /adm/login
  556: ErrorDocument     406 /adm/roles
  557: ErrorDocument	  500 /adm/errorhandler
  558: </Location>
  559: 
  560: <Location /adm/studentcalc>
  561: PerlAccessHandler       Apache::lonacc
  562: SetHandler perl-script
  563: PerlHandler Apache::lonspreadsheet
  564: ErrorDocument     403 /adm/login
  565: ErrorDocument     406 /adm/roles
  566: ErrorDocument	  500 /adm/errorhandler
  567: </Location>
  568: 
  569: <Location /adm/classcalc>
  570: PerlAccessHandler       Apache::lonacc
  571: SetHandler perl-script
  572: PerlHandler Apache::lonspreadsheet
  573: ErrorDocument     403 /adm/login
  574: ErrorDocument     406 /adm/roles
  575: ErrorDocument	  500 /adm/errorhandler
  576: </Location>
  577: 
  578: <Location /adm/chart>
  579: PerlAccessHandler       Apache::lonacc
  580: SetHandler perl-script
  581: PerlHandler Apache::lonchart
  582: ErrorDocument     403 /adm/login
  583: ErrorDocument     406 /adm/roles
  584: ErrorDocument	  500 /adm/errorhandler
  585: </Location>
  586: 
  587: <Location /adm/dropadd>
  588: PerlAccessHandler       Apache::lonacc
  589: SetHandler perl-script
  590: PerlHandler Apache::londropadd
  591: ErrorDocument     403 /adm/login
  592: ErrorDocument     406 /adm/roles
  593: ErrorDocument	  500 /adm/errorhandler
  594: </Location>
  595: 
  596: <Location /adm/printout>
  597: PerlAccessHandler       Apache::lonacc
  598: SetHandler perl-script
  599: PerlHandler Apache::lonprintout
  600: ErrorDocument     403 /adm/login
  601: ErrorDocument	  500 /adm/errorhandler
  602: </Location>
  603: 
  604: <Location /adm/feedback>
  605: PerlAccessHandler       Apache::lonacc
  606: SetHandler perl-script
  607: PerlHandler Apache::lonfeedback
  608: ErrorDocument     403 /adm/login
  609: ErrorDocument	  500 /adm/errorhandler
  610: </Location>
  611: 
  612: <Location /adm/evaluate>
  613: PerlAccessHandler       Apache::lonacc
  614: SetHandler perl-script
  615: PerlHandler Apache::lonevaluate
  616: ErrorDocument     403 /adm/login
  617: ErrorDocument	  500 /adm/errorhandler
  618: </Location>
  619: 
  620: <Location /adm/preferences>
  621: PerlAccessHandler       Apache::lonacc
  622: SetHandler perl-script
  623: PerlHandler Apache::lonpreferences
  624: ErrorDocument     403 /adm/login
  625: ErrorDocument	  500 /adm/errorhandler
  626: </Location>
  627: 
  628: <Location /adm/assignments>
  629: PerlAccessHandler       Apache::lonacc
  630: SetHandler perl-script
  631: PerlHandler Apache::lonassignments
  632: ErrorDocument     403 /adm/login
  633: ErrorDocument     406 /adm/roles
  634: ErrorDocument	  500 /adm/errorhandler
  635: </Location>
  636: 
  637: <Location /adm/communicate>
  638: PerlAccessHandler       Apache::lonacc
  639: SetHandler perl-script
  640: PerlHandler Apache::loncommunicate
  641: ErrorDocument     403 /adm/login
  642: ErrorDocument	  500 /adm/errorhandler
  643: </Location>
  644: 
  645: <Location /adm/searchcat>
  646: PerlAccessHandler       Apache::lonacc
  647: SetHandler perl-script
  648: PerlHandler Apache::lonsearchcat
  649: ErrorDocument     403 /adm/login
  650: ErrorDocument	  500 /adm/errorhandler
  651: </Location>
  652: 
  653: <Location /adm/navmaps>
  654: PerlAccessHandler       Apache::lonacc
  655: SetHandler perl-script
  656: PerlHandler Apache::lonnavmaps
  657: ErrorDocument     403 /adm/login
  658: ErrorDocument     406 /adm/roles
  659: ErrorDocument	  500 /adm/errorhandler
  660: </Location>
  661: 
  662: <Location /adm/groupsort>
  663: PerlAccessHandler	Apache::lonacc
  664: SetHandler perl-script
  665: PerlHandler Apache::groupsort
  666: ErrorDocument     403 /adm/login
  667: ErrorDocument	  500 /adm/errorhandler
  668: </Location>
  669: 
  670: <Location /adm/errorhandler>
  671: SetHandler perl-script
  672: PerlHandler Apache::lonerrorhandler
  673: </Location>
  674: 
  675: # ------------------------------------------------- Backdoor Adm Tests/Programs
  676: 
  677: <Location /cgi-bin/loncron.pl>
  678: AuthName "LON Network Synchronization Handler"
  679: AuthType Basic
  680: AuthUserFile /home/httpd/lonTabs/htpasswd
  681: require user lonadm
  682: </Location>
  683: 
  684: <Location /cgi-bin/metadata_keywords.pl>
  685: AuthName "LON Keyword Handler"
  686: AuthType Basic
  687: AuthUserFile /home/httpd/lonTabs/htpasswd
  688: require user lonadm
  689: </Location>
  690: 
  691: <Location /adm/test>
  692: AuthName "LON Test Handler"
  693: AuthType Basic
  694: AuthUserFile /home/httpd/lonTabs/htpasswd
  695: require user lonadm
  696: SetHandler perl-script
  697: PerlAccessHandler Apache::lonacc
  698: PerlHandler Apache::lontest
  699: </Location>
  700: 
  701: # ------------------------------------------------------- Shutting down a child
  702: 
  703: PerlChildExitHandler Apache::lonnet::goodbye

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