Diff for /doc/loncapafiles/Attic/loncapafiles.html between versions 1.58 and 1.60

version 1.58, 2001/02/27 21:06:07 version 1.60, 2001/02/27 21:50:46
Line 191  browser and can only be seen be examinin Line 191  browser and can only be seen be examinin
 <METAGROUP>  <METAGROUP>
 <LONCAPA TYPE=LOCATION DIST="redhat6.2" SOURCE="loncom/access.conf" TARGET="etc/httpd/conf/access.conf" CATEGORY="conf">  <LONCAPA TYPE=LOCATION DIST="redhat6.2" SOURCE="loncom/access.conf" TARGET="etc/httpd/conf/access.conf" CATEGORY="conf">
 <DESCRIPTION>  <DESCRIPTION>
 define handlers, set parameters  This file has two major functions.
   For the Apache web server, it defines a global
   access configuration which defines what server options (Indexes", "Includes",
   "FollowSymLinks", "ExecCGI", or "MultiViews") are associated
   with specific directories ("/", "/home/httpd/html", "/home/httpd/cgi-bin",
   and "/usr/doc").  For the LON-CAPA network server and perl module
   handlers, it defines machine specific settings (lonHostID, lonRole,
   lonAdmEMail, lonDefDomain, lonLoadLim, lonExpire, and lonReceipt)
   and internal machine settings for specific directories, socket ports,
   and browser detection logic.
 </DESCRIPTION>  </DESCRIPTION>
 <NOTE>  <NOTE>
 <B>configure</B>  <B>configure</B>
Line 209  define handlers, set parameters Line 218  define handlers, set parameters
 <METAGROUP>  <METAGROUP>
 <LONCAPA TYPE=LOCATION DIST="redhat6.2" SOURCE="loncom/httpd.conf" TARGET="etc/httpd/conf/httpd.conf" CATEGORY="static conf">  <LONCAPA TYPE=LOCATION DIST="redhat6.2" SOURCE="loncom/httpd.conf" TARGET="etc/httpd/conf/httpd.conf" CATEGORY="static conf">
 <DESCRIPTION>  <DESCRIPTION>
 main server configuration file  This is the main server configuration file.  The settings here are
   more or less standard for the Apache web server.  Most notably (and
   importantly!), perl handling and mod_perl are enabled in this configuration
   file.
 </DESCRIPTION>  </DESCRIPTION>
 </METAGROUP>  </METAGROUP>
 <METAGROUP>  <METAGROUP>
 <LONCAPA TYPE=LOCATION DIST="redhat6.2" SOURCE="loncom/srm.conf" TARGET="etc/httpd/conf/srm.conf" CATEGORY="static conf">  <LONCAPA TYPE=LOCATION DIST="redhat6.2" SOURCE="loncom/srm.conf" TARGET="etc/httpd/conf/srm.conf" CATEGORY="static conf">
 <DESCRIPTION>  <DESCRIPTION>
 <P>  <P>
 This file configures the "name space" of the Apache web server.  srm.conf  This file configures the "name space" of the Apache web server.  
   <TT>srm.conf</TT>
 defines when specific perl modules should be called to handle a given  defines when specific perl modules should be called to handle a given
 request.  This definition is a function of the name of the perl module,  request.  This definition is a function of both the name of the perl module,
 and a specific regular expression associated with the URL, such as  and a specific regular expression associated with the URL, such as
 "^/res/.*\.page".  "^/res/.*\.page".
 </P>  </P>
 <P>  <P>
 Here is an example entry:  Here is an example entry:
 <PRE>  <PRE>
 <LocationMatch "^/res/.*\.page$>  &lt;LocationMatch "^/res/.*\.page$&gt;
 SetHandler perl-script  SetHandler perl-script
 PerlHandler Apache::lonpage  PerlHandler Apache::lonpage
 </LocationMatch>  &lt;/LocationMatch&gt;
 </PRE>  </PRE>
 </P>  </P>
 </DESCRIPTION>  </DESCRIPTION>
Line 236  PerlHandler Apache::lonpage Line 249  PerlHandler Apache::lonpage
 <METAGROUP>  <METAGROUP>
 <LONCAPA TYPE=LOCATION DIST="redhat6.2" SOURCE="loncom/startup.pl" TARGET="etc/httpd/conf/startup.pl" CATEGORY="static conf">  <LONCAPA TYPE=LOCATION DIST="redhat6.2" SOURCE="loncom/startup.pl" TARGET="etc/httpd/conf/startup.pl" CATEGORY="static conf">
 <DESCRIPTION>  <DESCRIPTION>
 set paths to modules; invoked by <TT>access.conf</TT>  This file provides initializations for perl handlers.  It adjusts what
   the module path space is (so as to include /home/httpd/lib/perl/Apache) as
   well as causing the Apache module to be used for every perl handler.
   <TT>startup.pl</TT> is invoked by <TT>access.conf</TT>.
 </DESCRIPTION>  </DESCRIPTION>
 </METAGROUP>  </METAGROUP>
 <METAGROUP>  <METAGROUP>
Line 749  access handler for file transfers Line 765  access handler for file transfers
 <METAGROUP>  <METAGROUP>
 <LONCAPA TYPE=LOCATION DIST="redhat6.2" SOURCE="loncom/auth/loncacc.pm" TARGET="home/httpd/lib/perl/Apache/loncacc.pm" CATEGORY="handler">  <LONCAPA TYPE=LOCATION DIST="redhat6.2" SOURCE="loncom/auth/loncacc.pm" TARGET="home/httpd/lib/perl/Apache/loncacc.pm" CATEGORY="handler">
 <DESCRIPTION>  <DESCRIPTION>
 access to construction area  This module provides access to an educational resource construction area.
   This module is invoked by the URL-related pattern syntax
   <TT>LocationMatch "^/priv.*"</TT>.  Authentication of user identity
   is coordinated through cookies (hence the abbreviation; "cacc" corresponds
   to "cookie-based access").  If the cookie handle is invalid, then
   this module returns a forbidden status and makes appropriate log entries.
   If the cookie handle is valid, status is determined to be okay (and
   the resource is delivered by the <TT>lonconstruct</TT> module).
 </DESCRIPTION>  </DESCRIPTION>
 </METAGROUP>  </METAGROUP>
 <METAGROUP>  <METAGROUP>

Removed from v.1.58  
changed lines
  Added in v.1.60


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