File:  [LON-CAPA] / loncom / html / adm / help / tex / Guts_Apache_Modules.tex
Revision 1.1: download - view: text, annotated - select for diffs
Wed Aug 20 16:17:40 2003 UTC (20 years, 10 months ago) by bowersj2
Branches: MAIN
CVS tags: version_2_4_X, version_2_4_2, version_2_4_1, version_2_4_0, version_2_3_X, version_2_3_99_0, version_2_3_2, version_2_3_1, version_2_3_0, version_2_2_X, version_2_2_99_1, version_2_2_99_0, version_2_2_2, version_2_2_1, version_2_2_0, version_2_1_X, version_2_1_99_3, version_2_1_99_2, version_2_1_99_1, version_2_1_99_0, version_2_1_3, version_2_1_2, version_2_1_1, version_2_1_0, version_2_0_X, version_2_0_99_1, version_2_0_2, version_2_0_1, version_2_0_0, version_1_99_3, version_1_99_2, version_1_99_1_tmcc, version_1_99_1, version_1_99_0_tmcc, version_1_99_0, version_1_3_X, version_1_3_3, version_1_3_2, version_1_3_1, version_1_3_0, version_1_2_X, version_1_2_99_1, version_1_2_99_0, version_1_2_1, version_1_2_0, version_1_1_X, version_1_1_99_5, version_1_1_99_4, version_1_1_99_3, version_1_1_99_2, version_1_1_99_1, version_1_1_99_0, version_1_1_3, version_1_1_2, version_1_1_1, version_1_1_0, version_1_0_99_3, version_1_0_99_2, version_1_0_99_1, version_1_0_99, HEAD
Adding some .tex files in. (LPML addition later; still some to go.)

\begin{figure}
\begin{lyxcode}
<LocationMatch~\char`\"{}\textasciicircum{}/res.{*}\char`\"{}>

PerlAccessHandler~~~~~~~Apache::lonacc

PerlHeaderParserHandler~Apache::lonrep

ErrorDocument~~~~~403~/adm/login

ErrorDocument~~~~~404~/adm/notfound.html

ErrorDocument~~~~~406~/adm/roles

ErrorDocument~~~~~500~/adm/errorhandler

</LocationMatch>

<LocationMatch~\char`\"{}\textasciicircum{}/priv.{*}\char`\"{}>

PerlAccessHandler~Apache::loncacc

SetHandler~~~~~~~~perl-script

PerlHandler~~~~~~~Apache::lonconstruct

ErrorDocument~~~~~403~/adm/login

ErrorDocument~~~~~404~/adm/notfound.html

ErrorDocument~~~~~406~/adm/unauthorized.html

ErrorDocument~~~~~500~/adm/errorhandler

</LocationMatch>
\end{lyxcode}

\caption{\label{loncapa_apache.conf example}\texttt{loncapa\_apache.conf}
example snippet}
\end{figure}
Which chain of handler deals with which kind of resource is defined
in \texttt{/etc/httdp/conf/loncapa\_apache.conf}. LON-CAPA only defines
handlers at the header-parser, access control, and response phase
(figure 3-3 Eagle book). In the header-parser phase, the replication
handler is run, and in the access-control phase, the various access-handlers.
Future handlers will mostly be implemented in the response phase.
Fig. \ref{loncapa_apache.conf example} shows excerpts of the configuration
script \texttt{/etc/httpd/loncapa\_apache.conf} for these modules.

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