File:  [LON-CAPA] / loncom / Attic / srm.conf
Revision 1.21: download - view: text, annotated - select for diffs
Thu Jul 5 13:30:53 2001 UTC (22 years, 9 months ago) by www
Branches: MAIN
CVS tags: HEAD
Wrapper

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

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