Annotation of loncom/html/adm/help/tex/Guts_Apache_Modules.tex, revision 1.2
1.2 ! albertel 1: \label{Guts_Apache_Modules}
1.1 bowersj2 2: \begin{figure}
3: \begin{lyxcode}
4: <LocationMatch~\char`\"{}\textasciicircum{}/res.{*}\char`\"{}>
5:
6: PerlAccessHandler~~~~~~~Apache::lonacc
7:
8: PerlHeaderParserHandler~Apache::lonrep
9:
10: ErrorDocument~~~~~403~/adm/login
11:
12: ErrorDocument~~~~~404~/adm/notfound.html
13:
14: ErrorDocument~~~~~406~/adm/roles
15:
16: ErrorDocument~~~~~500~/adm/errorhandler
17:
18: </LocationMatch>
19:
20: <LocationMatch~\char`\"{}\textasciicircum{}/priv.{*}\char`\"{}>
21:
22: PerlAccessHandler~Apache::loncacc
23:
24: SetHandler~~~~~~~~perl-script
25:
26: PerlHandler~~~~~~~Apache::lonconstruct
27:
28: ErrorDocument~~~~~403~/adm/login
29:
30: ErrorDocument~~~~~404~/adm/notfound.html
31:
32: ErrorDocument~~~~~406~/adm/unauthorized.html
33:
34: ErrorDocument~~~~~500~/adm/errorhandler
35:
36: </LocationMatch>
37: \end{lyxcode}
38:
39: \caption{\label{loncapa_apache.conf example}\texttt{loncapa\_apache.conf}
40: example snippet}
41: \end{figure}
42: Which chain of handler deals with which kind of resource is defined
43: in \texttt{/etc/httdp/conf/loncapa\_apache.conf}. LON-CAPA only defines
44: handlers at the header-parser, access control, and response phase
45: (figure 3-3 Eagle book). In the header-parser phase, the replication
46: handler is run, and in the access-control phase, the various access-handlers.
47: Future handlers will mostly be implemented in the response phase.
48: Fig. \ref{loncapa_apache.conf example} shows excerpts of the configuration
49: script \texttt{/etc/httpd/loncapa\_apache.conf} for these modules.
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>