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

« back to all changes in this revision

Viewing changes to doc-html/hand-pub-intro.html

  • Committer: Bazaar Package Importer
  • Author(s): Piotr Ożarowski
  • Date: 2007-04-12 20:52:05 UTC
  • mfrom: (1.2.4 upstream) (1.1.2 etch)
  • Revision ID: james.westby@ubuntu.com-20070412205205-j4qlsw3o4tl615iq
Tags: 3.3.1-1
* New upstream release
* Remove configure and mod_python.h files in clean rule to make the diff.gz
  file smaller
* Current Python version in libapache2-mod-pythonX.Y package name (Provides:
  field) filled in automatically.
* Added XS-Vcs-Browser field

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="next" href="hand-pub-alg.html">
11
 
<LINK REL="prev" href="hand-pub.html">
12
 
<LINK REL="parent" href="hand-pub.html">
13
 
<LINK REL="next" href="hand-pub-alg.html">
14
 
<meta name='aesop' content='information'>
15
 
<META NAME="description" CONTENT="Introduction">
16
 
<META NAME="keywords" CONTENT="modpython">
17
 
<META NAME="resource-type" CONTENT="document">
18
 
<META NAME="distribution" CONTENT="global">
19
 
<title>6.1.1 Introduction</title>
 
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="hand-pub-alg.html" />
 
11
<link rel="prev" href="hand-pub.html" />
 
12
<link rel="parent" href="hand-pub.html" />
 
13
<link rel="next" href="hand-pub-alg.html" />
 
14
<meta name='aesop' content='information' />
 
15
<title>7.1.1 Introduction</title>
20
16
</head>
21
17
<body>
22
18
<DIV CLASS="navigation">
 
19
<div id='top-navigation-panel' xml:id='top-navigation-panel'>
23
20
<table align="center" width="100%" cellpadding="0" cellspacing="2">
24
21
<tr>
25
 
<td><a rel="prev" title="6.1 Publisher Handler" 
26
 
  href="hand-pub.html"><img src='previous.gif'
27
 
  border='0' height='32'  alt='Previous Page' width='32'></A></td>
28
 
<td><a rel="parent" title="6.1 Publisher Handler" 
29
 
  href="hand-pub.html"><img src='up.gif'
30
 
  border='0' height='32'  alt='Up One Level' width='32'></A></td>
31
 
<td><a rel="next" title="6.1.2 The Publishing Algorithm" 
32
 
  href="hand-pub-alg.html"><img src='next.gif'
33
 
  border='0' height='32'  alt='Next Page' width='32'></A></td>
 
22
<td class='online-navigation'><a rel="prev" title="7.1 Publisher Handler"
 
23
  href="hand-pub.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="7.1 Publisher Handler"
 
26
  href="hand-pub.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="7.1.2 The Publishing Algorithm"
 
29
  href="hand-pub-alg.html"><img src='next.png'
 
30
  border='0' height='32'  alt='Next Page' width='32' /></A></td>
34
31
<td align="center" width="100%">Mod_python Manual</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>
 
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>
43
40
</tr></table>
 
41
<div class='online-navigation'>
44
42
<b class="navlabel">Previous:</b>
45
 
<a class="sectref" rel="prev" href="hand-pub.html">6.1 Publisher Handler</A>
 
43
<a class="sectref" rel="prev" href="hand-pub.html">7.1 Publisher Handler</A>
46
44
<b class="navlabel">Up:</b>
47
 
<a class="sectref" rel="parent" href="hand-pub.html">6.1 Publisher Handler</A>
 
45
<a class="sectref" rel="parent" href="hand-pub.html">7.1 Publisher Handler</A>
48
46
<b class="navlabel">Next:</b>
49
 
<a class="sectref" rel="next" href="hand-pub-alg.html">6.1.2 The Publishing Algorithm</A>
50
 
<br><hr>
 
47
<a class="sectref" rel="next" href="hand-pub-alg.html">7.1.2 The Publishing Algorithm</A>
 
48
</div>
 
49
<hr /></div>
51
50
</DIV>
52
51
<!--End of Navigation Panel-->
53
52
 
54
 
<H2><A NAME="SECTION008110000000000000000">&nbsp;</A>
 
53
<H2><A NAME="SECTION009110000000000000000"></A><A NAME="hand-pub-intro"></A>
55
54
<BR>
56
 
6.1.1 Introduction
 
55
7.1.1 Introduction
57
56
</H2>
58
57
 
59
58
<P>
62
61
  &lt;Directory /some/path&gt;
63
62
    SetHandler mod_python 
64
63
    PythonHandler mod_python.publisher
65
 
    &lt;/Directory&gt;
 
64
  &lt;/Directory&gt;
66
65
</pre></div>
67
66
 
68
67
<P>
75
74
  """ Publisher example """
76
75
 
77
76
  def say(req, what="NOTHING"):
78
 
  return "I am saying %s" % what
 
77
      return "I am saying %s" % what
79
78
</pre></div>
80
79
 
81
80
<P>
87
86
<P>
88
87
 
89
88
<DIV CLASS="navigation">
90
 
<p><hr>
 
89
<div class='online-navigation'>
 
90
<p></p><hr />
91
91
<table align="center" width="100%" cellpadding="0" cellspacing="2">
92
92
<tr>
93
 
<td><a rel="prev" title="6.1 Publisher Handler" 
94
 
  rel="prev" title="6.1 Publisher Handler" 
95
 
  href="hand-pub.html"><img src='previous.gif'
96
 
  border='0' height='32'  alt='Previous Page' width='32'></A></td>
97
 
<td><a rel="parent" title="6.1 Publisher Handler" 
98
 
  rel="parent" title="6.1 Publisher Handler" 
99
 
  href="hand-pub.html"><img src='up.gif'
100
 
  border='0' height='32'  alt='Up One Level' width='32'></A></td>
101
 
<td><a rel="next" title="6.1.2 The Publishing Algorithm" 
102
 
  rel="next" title="6.1.2 The Publishing Algorithm" 
103
 
  href="hand-pub-alg.html"><img src='next.gif'
104
 
  border='0' height='32'  alt='Next Page' width='32'></A></td>
 
93
<td class='online-navigation'><a rel="prev" title="7.1 Publisher Handler"
 
94
  href="hand-pub.html"><img src='previous.png'
 
95
  border='0' height='32'  alt='Previous Page' width='32' /></A></td>
 
96
<td class='online-navigation'><a rel="parent" title="7.1 Publisher Handler"
 
97
  href="hand-pub.html"><img src='up.png'
 
98
  border='0' height='32'  alt='Up One Level' width='32' /></A></td>
 
99
<td class='online-navigation'><a rel="next" title="7.1.2 The Publishing Algorithm"
 
100
  href="hand-pub-alg.html"><img src='next.png'
 
101
  border='0' height='32'  alt='Next Page' width='32' /></A></td>
105
102
<td align="center" width="100%">Mod_python Manual</td>
106
 
<td><a rel="contents" title="Table of Contents" 
107
 
  rel="contents" title="Table of Contents" 
108
 
  href="contents.html"><img src='contents.gif'
109
 
  border='0' height='32'  alt='Contents' width='32'></A></td>
110
 
<td><img src='blank.gif'
111
 
  border='0' height='32'  alt='' width='32'></td>
112
 
<td><a rel="index" title="Index" 
113
 
  rel="index" title="Index" 
114
 
  href="genindex.html"><img src='index.gif'
115
 
  border='0' height='32'  alt='Index' width='32'></A></td>
 
103
<td class='online-navigation'><a rel="contents" title="Table of Contents"
 
104
  href="contents.html"><img src='contents.png'
 
105
  border='0' height='32'  alt='Contents' width='32' /></A></td>
 
106
<td class='online-navigation'><img src='blank.png'
 
107
  border='0' height='32'  alt='' width='32' /></td>
 
108
<td class='online-navigation'><a rel="index" title="Index"
 
109
  href="genindex.html"><img src='index.png'
 
110
  border='0' height='32'  alt='Index' width='32' /></A></td>
116
111
</tr></table>
 
112
<div class='online-navigation'>
117
113
<b class="navlabel">Previous:</b>
118
 
<a class="sectref" rel="prev" href="hand-pub.html">6.1 Publisher Handler</A>
 
114
<a class="sectref" rel="prev" href="hand-pub.html">7.1 Publisher Handler</A>
119
115
<b class="navlabel">Up:</b>
120
 
<a class="sectref" rel="parent" href="hand-pub.html">6.1 Publisher Handler</A>
 
116
<a class="sectref" rel="parent" href="hand-pub.html">7.1 Publisher Handler</A>
121
117
<b class="navlabel">Next:</b>
122
 
<a class="sectref" rel="next" href="hand-pub-alg.html">6.1.2 The Publishing Algorithm</A>
123
 
<hr>
124
 
<span class="release-info">Release 3.2.10, documentation updated on July 19, 2006.</span>
 
118
<a class="sectref" rel="next" href="hand-pub-alg.html">7.1.2 The Publishing Algorithm</A>
 
119
</div>
 
120
</div>
 
121
<hr />
 
122
<span class="release-info">Release 3.3.1, documentation updated on January 29, 2007.</span>
125
123
</DIV>
126
124
<!--End of Navigation Panel-->
127
125