File:  [LON-CAPA] / loncom / html / adm / help / tex / Guts_Apache_Modules.tex
Revision 1.2: download - view: text, annotated - select for diffs
Tue Aug 7 21:29:16 2007 UTC (16 years, 10 months ago) by albertel
Branches: MAIN
CVS tags: version_2_9_X, version_2_9_99_0, version_2_9_1, version_2_9_0, version_2_8_X, version_2_8_99_1, version_2_8_99_0, version_2_8_2, version_2_8_1, version_2_8_0, version_2_7_X, version_2_7_99_1, version_2_7_99_0, version_2_7_1, version_2_7_0, version_2_6_X, version_2_6_99_1, version_2_6_99_0, version_2_6_3, version_2_6_2, version_2_6_1, version_2_6_0, version_2_5_X, version_2_5_99_1, version_2_5_99_0, version_2_5_2, version_2_5_1, version_2_5_0, version_2_4_99_0, version_2_12_X, version_2_11_X, version_2_11_4_uiuc, version_2_11_4_msu, version_2_11_4, version_2_11_3_uiuc, version_2_11_3_msu, version_2_11_3, version_2_11_2_uiuc, version_2_11_2_msu, version_2_11_2_educog, version_2_11_2, version_2_11_1, version_2_11_0_RC3, version_2_11_0_RC2, version_2_11_0_RC1, version_2_11_0, version_2_10_X, version_2_10_1, version_2_10_0_RC2, version_2_10_0_RC1, version_2_10_0, loncapaMITrelate_1, language_hyphenation_merge, language_hyphenation, bz6209-base, bz6209, bz5969, bz2851, PRINT_INCOMPLETE_base, PRINT_INCOMPLETE, HEAD, GCI_3, GCI_2, GCI_1, BZ5971-printing-apage, BZ5434-fox, BZ4492-merge, BZ4492-feature_horizontal_radioresponse
- fixing broken \label{} (BUG#5352)

\label{Guts_Apache_Modules}
\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>