~ubuntu-branches/ubuntu/feisty/libapache2-mod-python/feisty

« back to all changes in this revision

Viewing changes to doc-html/tut-more-complicated.html

  • Committer: Bazaar Package Importer
  • Author(s): Martin Pitt
  • Date: 2006-07-07 13:18:35 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20060707131835-zfp1vupanjj2e77y
Tags: 3.2.8-1ubuntu1
* Merge to Debian unstable.
* Remaining Ubuntu change: debian/{control,rules}: Drop python 2.3 package.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
2
2
<html>
3
3
<head>
4
 
<link rel="STYLESHEET" href="modpython.css" type='text/css' />
5
 
<link rel="first" href="modpython.html" title='Mod_python Manual' />
6
 
<link rel='contents' href='contents.html' title="Contents" />
7
 
<link rel='index' href='genindex.html' title='Index' />
8
 
<link rel='last' href='about.html' title='About this document...' />
9
 
<link rel='help' href='about.html' title='About this document...' />
10
 
<link rel="prev" href="tut-what-it-do.html" />
11
 
<link rel="parent" href="tutorial.html" />
12
 
<link rel="next" href="pythonapi.html" />
13
 
<meta http-equiv="Content-Type" content="text/html; charset=EUC-JP" />
14
 
<meta name='aesop' content='information' />
 
4
<link rel="STYLESHEET" href="modpython.css" type='text/css'>
 
5
<link rel="first" href="modpython.html" title='Mod_python Manual'>
 
6
<link rel='contents' href='contents.html' title="Contents">
 
7
<link rel='index' href='genindex.html' title='Index'>
 
8
<link rel='last' href='about.html' title='About this document...'>
 
9
<link rel='help' href='about.html' title='About this document...'>
 
10
<LINK REL="next" href="tut-404-handler.html">
 
11
<LINK REL="prev" href="tut-what-it-do.html">
 
12
<LINK REL="parent" href="tutorial.html">
 
13
<LINK REL="next" href="tut-404-handler.html">
 
14
<meta name='aesop' content='information'>
 
15
<META NAME="description" CONTENT="Now something More Complicated - Authentication">
 
16
<META NAME="keywords" CONTENT="modpython">
 
17
<META NAME="resource-type" CONTENT="document">
 
18
<META NAME="distribution" CONTENT="global">
15
19
<title>3.4 Now something More Complicated - Authentication</title>
16
20
</head>
17
21
<body>
18
22
<DIV CLASS="navigation">
19
 
<div id='top-navigation-panel' xml:id='top-navigation-panel'>
20
23
<table align="center" width="100%" cellpadding="0" cellspacing="2">
21
24
<tr>
22
 
<td class='online-navigation'><a rel="prev" title="3.3 So what Exactly"
23
 
  href="tut-what-it-do.html"><img src='previous.png'
24
 
  border='0' height='32'  alt='Previous Page' width='32' /></A></td>
25
 
<td class='online-navigation'><a rel="parent" title="3. Tutorial"
26
 
  href="tutorial.html"><img src='up.png'
27
 
  border='0' height='32'  alt='Up One Level' width='32' /></A></td>
28
 
<td class='online-navigation'><a rel="next" title="4. Python API"
29
 
  href="pythonapi.html"><img src='next.png'
30
 
  border='0' height='32'  alt='Next Page' width='32' /></A></td>
 
25
<td><a rel="prev" title="3.3 So what Exactly" 
 
26
  href="tut-what-it-do.html"><img src='previous.gif'
 
27
  border='0' height='32'  alt='Previous Page' width='32'></A></td>
 
28
<td><a rel="parent" title="3. Tutorial" 
 
29
  href="tutorial.html"><img src='up.gif'
 
30
  border='0' height='32'  alt='Up One Level' width='32'></A></td>
 
31
<td><a rel="next" title="3.5 Your Own 404" 
 
32
  href="tut-404-handler.html"><img src='next.gif'
 
33
  border='0' height='32'  alt='Next Page' width='32'></A></td>
31
34
<td align="center" width="100%">Mod_python Manual</td>
32
 
<td class='online-navigation'><a rel="contents" title="Table of Contents"
33
 
  href="contents.html"><img src='contents.png'
34
 
  border='0' height='32'  alt='Contents' width='32' /></A></td>
35
 
<td class='online-navigation'><img src='blank.png'
36
 
  border='0' height='32'  alt='' width='32' /></td>
37
 
<td class='online-navigation'><a rel="index" title="Index"
38
 
  href="genindex.html"><img src='index.png'
39
 
  border='0' height='32'  alt='Index' width='32' /></A></td>
 
35
<td><a rel="contents" title="Table of Contents" 
 
36
  href="contents.html"><img src='contents.gif'
 
37
  border='0' height='32'  alt='Contents' width='32'></A></td>
 
38
<td><img src='blank.gif'
 
39
  border='0' height='32'  alt='' width='32'></td>
 
40
<td><a rel="index" title="Index" 
 
41
  href="genindex.html"><img src='index.gif'
 
42
  border='0' height='32'  alt='Index' width='32'></A></td>
40
43
</tr></table>
41
 
<div class='online-navigation'>
42
44
<b class="navlabel">Previous:</b>
43
45
<a class="sectref" rel="prev" href="tut-what-it-do.html">3.3 So what Exactly</A>
44
46
<b class="navlabel">Up:</b>
45
47
<a class="sectref" rel="parent" href="tutorial.html">3. Tutorial</A>
46
48
<b class="navlabel">Next:</b>
47
 
<a class="sectref" rel="next" href="pythonapi.html">4. Python API</A>
48
 
</div>
49
 
<hr /></div>
 
49
<a class="sectref" rel="next" href="tut-404-handler.html">3.5 Your Own 404</A>
 
50
<br><hr>
50
51
</DIV>
51
52
<!--End of Navigation Panel-->
52
53
 
53
 
<H1><A NAME="SECTION005400000000000000000"></A><A NAME="tut-more-complicated"></A>
 
54
<H1><A NAME="SECTION005400000000000000000">&nbsp;</A>
54
55
<BR>
55
56
3.4 Now something More Complicated - Authentication
56
57
</H1>
64
65
login to be "<tt class="samp">spam</tt>", and the password to be "<tt class="samp">eggs</tt>".
65
66
 
66
67
<P>
67
 
First, we need to tell Apache to call our <em>authentication</em>
 
68
First, we need to tell Apache to call our <i>authentication</i>
68
69
handler when authentication is needed. We do this by adding the
69
70
<code>PythonAuthenHandler</code>. So now our config looks like this:
70
71
 
194
195
<P>
195
196
 
196
197
<DIV CLASS="navigation">
197
 
<div class='online-navigation'>
198
 
<p></p><hr />
 
198
<p><hr>
199
199
<table align="center" width="100%" cellpadding="0" cellspacing="2">
200
200
<tr>
201
 
<td class='online-navigation'><a rel="prev" title="3.3 So what Exactly"
202
 
  href="tut-what-it-do.html"><img src='previous.png'
203
 
  border='0' height='32'  alt='Previous Page' width='32' /></A></td>
204
 
<td class='online-navigation'><a rel="parent" title="3. Tutorial"
205
 
  href="tutorial.html"><img src='up.png'
206
 
  border='0' height='32'  alt='Up One Level' width='32' /></A></td>
207
 
<td class='online-navigation'><a rel="next" title="4. Python API"
208
 
  href="pythonapi.html"><img src='next.png'
209
 
  border='0' height='32'  alt='Next Page' width='32' /></A></td>
 
201
<td><a rel="prev" title="3.3 So what Exactly" 
 
202
  rel="prev" title="3.3 So what Exactly" 
 
203
  href="tut-what-it-do.html"><img src='previous.gif'
 
204
  border='0' height='32'  alt='Previous Page' width='32'></A></td>
 
205
<td><a rel="parent" title="3. Tutorial" 
 
206
  rel="parent" title="3. Tutorial" 
 
207
  href="tutorial.html"><img src='up.gif'
 
208
  border='0' height='32'  alt='Up One Level' width='32'></A></td>
 
209
<td><a rel="next" title="3.5 Your Own 404" 
 
210
  rel="next" title="3.5 Your Own 404" 
 
211
  href="tut-404-handler.html"><img src='next.gif'
 
212
  border='0' height='32'  alt='Next Page' width='32'></A></td>
210
213
<td align="center" width="100%">Mod_python Manual</td>
211
 
<td class='online-navigation'><a rel="contents" title="Table of Contents"
212
 
  href="contents.html"><img src='contents.png'
213
 
  border='0' height='32'  alt='Contents' width='32' /></A></td>
214
 
<td class='online-navigation'><img src='blank.png'
215
 
  border='0' height='32'  alt='' width='32' /></td>
216
 
<td class='online-navigation'><a rel="index" title="Index"
217
 
  href="genindex.html"><img src='index.png'
218
 
  border='0' height='32'  alt='Index' width='32' /></A></td>
 
214
<td><a rel="contents" title="Table of Contents" 
 
215
  rel="contents" title="Table of Contents" 
 
216
  href="contents.html"><img src='contents.gif'
 
217
  border='0' height='32'  alt='Contents' width='32'></A></td>
 
218
<td><img src='blank.gif'
 
219
  border='0' height='32'  alt='' width='32'></td>
 
220
<td><a rel="index" title="Index" 
 
221
  rel="index" title="Index" 
 
222
  href="genindex.html"><img src='index.gif'
 
223
  border='0' height='32'  alt='Index' width='32'></A></td>
219
224
</tr></table>
220
 
<div class='online-navigation'>
221
225
<b class="navlabel">Previous:</b>
222
226
<a class="sectref" rel="prev" href="tut-what-it-do.html">3.3 So what Exactly</A>
223
227
<b class="navlabel">Up:</b>
224
228
<a class="sectref" rel="parent" href="tutorial.html">3. Tutorial</A>
225
229
<b class="navlabel">Next:</b>
226
 
<a class="sectref" rel="next" href="pythonapi.html">4. Python API</A>
227
 
</div>
228
 
</div>
229
 
<hr />
230
 
<span class="release-info">Release 3.1.3, documentation updated on January 29, 2005.</span>
 
230
<a class="sectref" rel="next" href="tut-404-handler.html">3.5 Your Own 404</A>
 
231
<hr>
 
232
<span class="release-info">Release 3.2.8, documentation updated on February 19, 2006.</span>
231
233
</DIV>
232
234
<!--End of Navigation Panel-->
233
235