File:  [LON-CAPA] / loncom / Attic / srm.conf
Revision 1.28: download - view: text, annotated - select for diffs
Fri Dec 7 21:53:53 2001 UTC (22 years, 5 months ago) by harris41
Branches: MAIN
CVS tags: HEAD
needed for output of lonprintout.pm (change suggested by Alex) -Scott Harrison

    1: ##
    2: ## srm.conf -- Apache HTTP server configuration file
    3: ##
    4: #
    5: # configured for LON-CAPA
    6: #
    7: # $Id: srm.conf,v 1.28 2001/12/07 21:53:53 harris41 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: # needed for lonprintout.pm
  154: Alias /prtspool/ /home/httpd/prtspool/
  155: 
  156: # ScriptAlias: This controls which directories contain server scripts.
  157: # Format: ScriptAlias fakename realname
  158: 
  159: ScriptAlias /cgi-bin/ /home/httpd/cgi-bin/
  160: 
  161: # If you want to use server side includes, or CGI outside
  162: # ScriptAliased directories, uncomment the following lines.
  163: 
  164: # AddType allows you to tweak mime.types without actually editing it, or to
  165: # make certain files to be certain types.
  166: # Format: AddType type/subtype ext1
  167: 
  168: # For example, the PHP3 module (not part of the Apache distribution)
  169: # will typically use:
  170: #AddType application/x-httpd-php3 .php3
  171: #AddType application/x-httpd-php3-source .phps
  172: # The following is for PHP/FI (PHP2):
  173: #AddType application/x-httpd-php .phtml
  174: 
  175: # AddHandler allows you to map certain file extensions to "handlers",
  176: # actions unrelated to filetype. These can be either built into the server
  177: # or added with the Action command (see below)
  178: # Format: AddHandler action-name ext1
  179: 
  180: # To use CGI scripts:
  181: #AddHandler cgi-script .cgi
  182: 
  183: # To use server-parsed HTML files
  184: AddType text/html .shtml
  185: AddHandler server-parsed .shtml
  186: 
  187: # Uncomment the following line to enable Apache's send-asis HTTP file
  188: # feature
  189: #AddHandler send-as-is asis
  190: 
  191: # If you wish to use server-parsed imagemap files, use
  192: AddHandler imap-file map
  193: 
  194: # To enable type maps, you might want to use
  195: #AddHandler type-map var
  196: 
  197: # To enable the perl module (if you have it installed), uncomment
  198: # the following section 
  199: #
  200: #Alias /perl/ /home/httpd/perl/
  201: #<Location /perl>
  202: #SetHandler perl-script
  203: #PerlHandler Apache::Registry
  204: #Options +ExecCGI
  205: #</Location>
  206: 
  207: # Action lets you define media types that will execute a script whenever
  208: # a matching file is called. This eliminates the need for repeated URL
  209: # pathnames for oft-used CGI file processors.
  210: # Format: Action media/type /cgi-script/location
  211: # Format: Action handler-name /cgi-script/location
  212: 
  213: # MetaDir: specifies the name of the directory in which Apache can find
  214: # meta information files. These files contain additional HTTP headers
  215: # to include when sending the document
  216: 
  217: #MetaDir .web
  218: 
  219: # MetaSuffix: specifies the file name suffix for the file containing the
  220: # meta information.
  221: 
  222: #MetaSuffix .meta
  223: 
  224: # Customizable error response (Apache style)
  225: #  these come in three flavors
  226: #
  227: #    1) plain text
  228: #ErrorDocument 500 "The server made a boo boo.
  229: #  n.b.  the (") marks it as text, it does not get output
  230: #
  231: #    2) local redirects
  232: #ErrorDocument 404 /missing.html
  233: #  to redirect to local url /missing.html
  234: #ErrorDocument 404 /cgi-bin/missing_handler.pl
  235: #  n.b. can redirect to a script or a document using server-side-includes.
  236: #
  237: #    3) external redirects
  238: #ErrorDocument 402 http://some.other_server.com/subscription_info.html
  239: #
  240: 
  241: # mod_mime_magic allows the server to use various hints from the file itself
  242: # to determine its type.
  243: #MimeMagicFile /etc/httpd/conf/magic
  244: 
  245: # The following directives disable keepalives and HTTP header flushes.
  246: # The first directive disables it for Netscape 2.x and browsers which
  247: # spoof it. There are known problems with these.
  248: # The second directive is for Microsoft Internet Explorer 4.0b2
  249: # which has a broken HTTP/1.1 implementation and does not properly
  250: # support keepalive when it is used on 301 or 302 (redirect) responses.
  251: 
  252: BrowserMatch "Mozilla/2" nokeepalive
  253: BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
  254: 
  255: # The following directive disables HTTP/1.1 responses to browsers which
  256: # are in violation of the HTTP/1.0 spec by not being able to grok a
  257: # basic 1.1 response.
  258: 
  259: BrowserMatch "RealPlayer 4\.0" force-response-1.0
  260: BrowserMatch "Java/1\.0" force-response-1.0
  261: BrowserMatch "JDK/1\.0" force-response-1.0
  262: 
  263: #
  264: # LON-CAPA Section
  265: #
  266: # ================================================================= Directories
  267: 
  268: # ------------------------------------------------------------- Access Handlers
  269: 
  270: <LocationMatch "^/res.*">
  271: PerlAccessHandler       Apache::lonacc
  272: PerlHeaderParserHandler Apache::lonrep
  273: ErrorDocument     403 /adm/login
  274: ErrorDocument     404 /adm/notfound.html
  275: ErrorDocument     406 /adm/roles
  276: ErrorDocument	  500 /adm/errorhandler
  277: </LocationMatch>
  278: 
  279: <LocationMatch "^/priv.*">
  280: PerlAccessHandler Apache::loncacc
  281: SetHandler        perl-script
  282: PerlHandler       Apache::lonconstruct
  283: ErrorDocument     403 /adm/login
  284: ErrorDocument     404 /adm/notfound.html
  285: ErrorDocument     406 /adm/unauthorized.html
  286: ErrorDocument	  500 /adm/errorhandler
  287: </LocationMatch>
  288: 
  289: <LocationMatch "^/raw.*">
  290: PerlAccessHandler Apache::lonracc
  291: </LocationMatch>
  292: 
  293: <LocationMatch "^/\~.*">
  294: PerlAccessHandler Apache::loncacc
  295: ErrorDocument     403 /adm/login
  296: ErrorDocument     404 /adm/notfound.html
  297: ErrorDocument     406 /adm/unauthorized.html
  298: ErrorDocument	  500 /adm/errorhandler
  299: AllowOverride None
  300: </LocationMatch>
  301: 
  302: # ------------------------------------------------------------------------- RAT
  303: 
  304: <LocationMatch "^/\~.*\.sequence$">
  305: SetHandler perl-script
  306: PerlHandler Apache::lonratedt
  307: </LocationMatch>
  308: 
  309: <LocationMatch "^/\~.*\.page$">
  310: SetHandler perl-script
  311: PerlHandler Apache::lonratedt
  312: </LocationMatch>
  313: 
  314: <LocationMatch "^/\~.*\/ratserver$">
  315: SetHandler perl-script
  316: PerlHandler Apache::lonratsrv
  317: </LocationMatch>
  318: 
  319: <Location /adm/ratparms>
  320: PerlAccessHandler       Apache::lonacc
  321: SetHandler perl-script
  322: PerlHandler Apache::lonratparms
  323: ErrorDocument     403 /adm/login
  324: ErrorDocument	  500 /adm/errorhandler
  325: </Location>
  326: 
  327: # --------------------------------------------- Resource Space Content Handlers
  328: 
  329: <LocationMatch "^/res.*/$">
  330: SetHandler perl-script
  331: PerlHandler Apache::lonindexer
  332: </LocationMatch>
  333: 
  334: <LocationMatch "^/(res|\~).*\.tex$">
  335: SetHandler perl-script
  336: PerlHandler Apache::lontex
  337: </LocationMatch>
  338: 
  339: <LocationMatch "^/res/.*\.page$>
  340: SetHandler perl-script
  341: PerlHandler Apache::lonpage
  342: </LocationMatch>
  343: 
  344: <LocationMatch "^/res/.*\.sequence$>
  345: SetHandler perl-script
  346: PerlHandler Apache::lonsequence
  347: </LocationMatch>
  348: 
  349: <LocationMatch "^/res/.*\.meta$>
  350: SetHandler perl-script
  351: PerlHandler Apache::lonmeta
  352: </LocationMatch>
  353: 
  354: <LocationMatch "^/(res|\~).*\.(xml|html|htm|xhtml|xhtm)$">
  355: SetHandler perl-script
  356: PerlHandler Apache::lonxml
  357: </LocationMatch>
  358: 
  359: <LocationMatch "^/(res|\~).*\.(problem|exam|quiz|assess|survey|form|library)$">
  360: SetHandler perl-script
  361: PerlHandler Apache::lonhomework
  362: </LocationMatch>
  363: 
  364: <LocationMatch "^/adm/wrapper/">
  365: PerlAccessHandler       Apache::lonacc
  366: SetHandler perl-script
  367: PerlHandler Apache::lonwrapper
  368: ErrorDocument     403 /adm/login
  369: ErrorDocument	  500 /adm/errorhandler
  370: </LocationMatch>
  371: 
  372: # -------------------------------------------------------------- Admin Programs
  373: 
  374: <Location /adm/statistics>
  375: PerlAccessHandler       Apache::lonacc
  376: SetHandler perl-script
  377: PerlHandler Apache::lonstatistics
  378: ErrorDocument     403 /adm/login
  379: ErrorDocument	  500 /adm/errorhandler
  380: </Location>
  381: 
  382: <Location /adm/roles>
  383: PerlAccessHandler       Apache::lonacc
  384: SetHandler perl-script
  385: PerlHandler Apache::lonroles
  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: 
  415: <Location /adm/bookmarks>
  416: PerlAccessHandler       Apache::lonacc
  417: SetHandler perl-script
  418: PerlHandler Apache::admbookmarks
  419: ErrorDocument     403 /adm/login
  420: ErrorDocument	  500 /adm/errorhandler
  421: </Location>
  422: 
  423: <Location /adm/flip>
  424: PerlAccessHandler       Apache::lonacc
  425: SetHandler perl-script
  426: PerlHandler Apache::lonpageflip
  427: ErrorDocument     406 /adm/roles
  428: ErrorDocument     403 /adm/login
  429: ErrorDocument	  500 /adm/errorhandler
  430: </Location>
  431: 
  432: <Location /adm/ambiguous>
  433: PerlAccessHandler       Apache::lonacc
  434: SetHandler perl-script
  435: PerlHandler Apache::lonambiguous
  436: ErrorDocument     403 /adm/login
  437: ErrorDocument	  500 /adm/errorhandler
  438: </Location>
  439: 
  440: <Location /adm/email>
  441: PerlAccessHandler       Apache::lonacc
  442: SetHandler perl-script
  443: PerlHandler Apache::lonmsg
  444: ErrorDocument     403 /adm/login
  445: ErrorDocument	  500 /adm/errorhandler
  446: </Location>
  447: 
  448: <Location /adm/parmset>
  449: PerlAccessHandler       Apache::lonacc
  450: SetHandler perl-script
  451: PerlHandler Apache::lonparmset
  452: ErrorDocument     403 /adm/login
  453: ErrorDocument     406 /adm/roles
  454: ErrorDocument	  500 /adm/errorhandler
  455: </Location>
  456: 
  457: <Location /adm/grades>
  458: PerlAccessHandler       Apache::lonacc
  459: SetHandler perl-script
  460: PerlHandler Apache::grades
  461: ErrorDocument     403 /adm/login
  462: ErrorDocument     406 /adm/roles
  463: ErrorDocument	  500 /adm/errorhandler
  464: </Location>
  465: 
  466: <Location /adm/createcourse>
  467: PerlAccessHandler       Apache::lonacc
  468: SetHandler perl-script
  469: PerlHandler Apache::loncreatecourse
  470: ErrorDocument     403 /adm/login
  471: ErrorDocument     406 /adm/roles
  472: ErrorDocument	  500 /adm/errorhandler
  473: </Location>
  474: 
  475: <Location /adm/createuser>
  476: PerlAccessHandler       Apache::lonacc
  477: SetHandler perl-script
  478: PerlHandler Apache::loncreateuser
  479: ErrorDocument     403 /adm/login
  480: ErrorDocument     406 /adm/roles
  481: ErrorDocument	  500 /adm/errorhandler
  482: </Location>
  483: 
  484: <Location /adm/publish>
  485: PerlAccessHandler       Apache::lonacc
  486: SetHandler perl-script
  487: PerlHandler Apache::lonpublisher
  488: ErrorDocument     403 /adm/login
  489: ErrorDocument     404 /adm/notfound.html
  490: ErrorDocument     406 /adm/unauthorized.html
  491: ErrorDocument	  500 /adm/errorhandler
  492: </Location>
  493: 
  494: <LocationMatch "^/\~.*/$">
  495: PerlAccessHandler       Apache::loncacc
  496: SetHandler perl-script
  497: PerlHandler Apache::lonpubdir
  498: ErrorDocument     403 /adm/login
  499: ErrorDocument     404 /adm/notfound.html
  500: ErrorDocument     406 /adm/unauthorized.html
  501: ErrorDocument	  500 /adm/errorhandler
  502: </LocationMatch>
  503: 
  504: <Location /adm/pubdir>
  505: PerlAccessHandler       Apache::lonacc
  506: SetHandler perl-script
  507: PerlHandler Apache::lonpubdir
  508: ErrorDocument     403 /adm/login
  509: ErrorDocument     404 /adm/notfound.html
  510: ErrorDocument     406 /adm/unauthorized.html
  511: ErrorDocument	  500 /adm/errorhandler
  512: </Location>
  513: 
  514: <Location /adm/retrieve>
  515: PerlAccessHandler       Apache::lonacc
  516: SetHandler perl-script
  517: PerlHandler Apache::lonretrieve
  518: ErrorDocument     403 /adm/login
  519: ErrorDocument     404 /adm/notfound.html
  520: ErrorDocument     406 /adm/unauthorized.html
  521: ErrorDocument	  500 /adm/errorhandler
  522: </Location>
  523: 
  524: <Location /adm/cfile>
  525: PerlAccessHandler       Apache::lonacc
  526: SetHandler perl-script
  527: PerlHandler Apache::loncfile
  528: ErrorDocument     403 /adm/login
  529: ErrorDocument     404 /adm/notfound.html
  530: ErrorDocument     406 /adm/unauthorized.html
  531: ErrorDocument	  500 /adm/errorhandler
  532: </Location>
  533: 
  534: <Location /adm/diff>
  535: PerlAccessHandler       Apache::lonacc
  536: SetHandler perl-script
  537: PerlHandler Apache::londiff
  538: ErrorDocument     403 /adm/login
  539: ErrorDocument     404 /adm/notfound.html
  540: ErrorDocument     406 /adm/unauthorized.html
  541: ErrorDocument	  500 /adm/errorhandler
  542: </Location>
  543: 
  544: <Location /adm/upload>
  545: PerlAccessHandler       Apache::lonacc
  546: SetHandler perl-script
  547: PerlHandler Apache::lonupload
  548: ErrorDocument     403 /adm/login
  549: ErrorDocument     404 /adm/notfound.html
  550: ErrorDocument     406 /adm/unauthorized.html
  551: ErrorDocument	  500 /adm/errorhandler
  552: </Location>
  553: 
  554: <Location /adm/assesscalc>
  555: PerlAccessHandler       Apache::lonacc
  556: SetHandler perl-script
  557: PerlHandler Apache::lonspreadsheet
  558: ErrorDocument     403 /adm/login
  559: ErrorDocument     406 /adm/roles
  560: ErrorDocument	  500 /adm/errorhandler
  561: </Location>
  562: 
  563: <Location /adm/studentcalc>
  564: PerlAccessHandler       Apache::lonacc
  565: SetHandler perl-script
  566: PerlHandler Apache::lonspreadsheet
  567: ErrorDocument     403 /adm/login
  568: ErrorDocument     406 /adm/roles
  569: ErrorDocument	  500 /adm/errorhandler
  570: </Location>
  571: 
  572: <Location /adm/classcalc>
  573: PerlAccessHandler       Apache::lonacc
  574: SetHandler perl-script
  575: PerlHandler Apache::lonspreadsheet
  576: ErrorDocument     403 /adm/login
  577: ErrorDocument     406 /adm/roles
  578: ErrorDocument	  500 /adm/errorhandler
  579: </Location>
  580: 
  581: <Location /adm/chart>
  582: PerlAccessHandler       Apache::lonacc
  583: SetHandler perl-script
  584: PerlHandler Apache::lonchart
  585: ErrorDocument     403 /adm/login
  586: ErrorDocument     406 /adm/roles
  587: ErrorDocument	  500 /adm/errorhandler
  588: </Location>
  589: 
  590: <Location /adm/dropadd>
  591: PerlAccessHandler       Apache::lonacc
  592: SetHandler perl-script
  593: PerlHandler Apache::londropadd
  594: ErrorDocument     403 /adm/login
  595: ErrorDocument     406 /adm/roles
  596: ErrorDocument	  500 /adm/errorhandler
  597: </Location>
  598: 
  599: <Location /adm/printout>
  600: PerlAccessHandler       Apache::lonacc
  601: SetHandler perl-script
  602: PerlHandler Apache::lonprintout
  603: ErrorDocument     403 /adm/login
  604: ErrorDocument	  500 /adm/errorhandler
  605: </Location>
  606: 
  607: <Location /adm/feedback>
  608: PerlAccessHandler       Apache::lonacc
  609: SetHandler perl-script
  610: PerlHandler Apache::lonfeedback
  611: ErrorDocument     403 /adm/login
  612: ErrorDocument	  500 /adm/errorhandler
  613: </Location>
  614: 
  615: <Location /adm/evaluate>
  616: PerlAccessHandler       Apache::lonacc
  617: SetHandler perl-script
  618: PerlHandler Apache::lonevaluate
  619: ErrorDocument     403 /adm/login
  620: ErrorDocument	  500 /adm/errorhandler
  621: </Location>
  622: 
  623: <Location /adm/preferences>
  624: PerlAccessHandler       Apache::lonacc
  625: SetHandler perl-script
  626: PerlHandler Apache::lonpreferences
  627: ErrorDocument     403 /adm/login
  628: ErrorDocument	  500 /adm/errorhandler
  629: </Location>
  630: 
  631: <Location /adm/assignments>
  632: PerlAccessHandler       Apache::lonacc
  633: SetHandler perl-script
  634: PerlHandler Apache::lonassignments
  635: ErrorDocument     403 /adm/login
  636: ErrorDocument     406 /adm/roles
  637: ErrorDocument	  500 /adm/errorhandler
  638: </Location>
  639: 
  640: <Location /adm/communicate>
  641: PerlAccessHandler       Apache::lonacc
  642: SetHandler perl-script
  643: PerlHandler Apache::loncommunicate
  644: ErrorDocument     403 /adm/login
  645: ErrorDocument	  500 /adm/errorhandler
  646: </Location>
  647: 
  648: <Location /adm/searchcat>
  649: PerlAccessHandler       Apache::lonacc
  650: SetHandler perl-script
  651: PerlHandler Apache::lonsearchcat
  652: ErrorDocument     403 /adm/login
  653: ErrorDocument	  500 /adm/errorhandler
  654: </Location>
  655: 
  656: <Location /adm/navmaps>
  657: PerlAccessHandler       Apache::lonacc
  658: SetHandler perl-script
  659: PerlHandler Apache::lonnavmaps
  660: ErrorDocument     403 /adm/login
  661: ErrorDocument     406 /adm/roles
  662: ErrorDocument	  500 /adm/errorhandler
  663: </Location>
  664: 
  665: <Location /adm/groupsort>
  666: PerlAccessHandler	Apache::lonacc
  667: SetHandler perl-script
  668: PerlHandler Apache::groupsort
  669: ErrorDocument     403 /adm/login
  670: ErrorDocument	  500 /adm/errorhandler
  671: </Location>
  672: 
  673: <Location /adm/errorhandler>
  674: SetHandler perl-script
  675: PerlHandler Apache::lonerrorhandler
  676: </Location>
  677: 
  678: # ------------------------------------------------- Backdoor Adm Tests/Programs
  679: 
  680: <Location /cgi-bin/loncron.pl>
  681: AuthName "LON Network Synchronization Handler"
  682: AuthType Basic
  683: AuthUserFile /home/httpd/lonTabs/htpasswd
  684: require user lonadm
  685: </Location>
  686: 
  687: <Location /cgi-bin/metadata_keywords.pl>
  688: AuthName "LON Keyword Handler"
  689: AuthType Basic
  690: AuthUserFile /home/httpd/lonTabs/htpasswd
  691: require user lonadm
  692: </Location>
  693: 
  694: <Location /adm/test>
  695: AuthName "LON Test Handler"
  696: AuthType Basic
  697: AuthUserFile /home/httpd/lonTabs/htpasswd
  698: require user lonadm
  699: SetHandler perl-script
  700: PerlAccessHandler Apache::lonacc
  701: PerlHandler Apache::lontest
  702: </Location>
  703: 
  704: # ------------------------------------------------------- Shutting down a child
  705: 
  706: PerlChildExitHandler Apache::lonnet::goodbye

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