Gentoo Archives: gentoo-commits

From: "Benedikt Boehm (hollow)" <hollow@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in www-apache/mod_python/files: 16_mod_python.conf
Date: Thu, 31 Jan 2008 19:34:46
Message-Id: E1JKfBM-0003jm-Cl@stork.gentoo.org
1 hollow 08/01/31 19:34:44
2
3 Modified: 16_mod_python.conf
4 Log:
5 fix depend.apache usage wrt #208033; cleanup
6 (Portage version: 2.1.4)
7
8 Revision Changes Path
9 1.3 www-apache/mod_python/files/16_mod_python.conf
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_python/files/16_mod_python.conf?rev=1.3&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_python/files/16_mod_python.conf?rev=1.3&content-type=text/plain
13 diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/www-apache/mod_python/files/16_mod_python.conf?r1=1.2&r2=1.3
14
15 Index: 16_mod_python.conf
16 ===================================================================
17 RCS file: /var/cvsroot/gentoo-x86/www-apache/mod_python/files/16_mod_python.conf,v
18 retrieving revision 1.2
19 retrieving revision 1.3
20 diff -u -r1.2 -r1.3
21 --- 16_mod_python.conf 6 Jan 2008 20:32:42 -0000 1.2
22 +++ 16_mod_python.conf 31 Jan 2008 19:34:43 -0000 1.3
23 @@ -1,36 +1,33 @@
24 <IfDefine PYTHON>
25 LoadModule python_module modules/mod_python.so
26
27 -#
28 # Mod_python is a module that embeds the Python language interpreter
29 # within the server, allowing Apache handlers to be written in Python.
30 -#
31
32 # This will cause files beneath /home/httpd/htdocs with the extension .spam
33 # to be handled by the Python script /home/httpd/htdocs/eggs.py
34 #
35 #<Directory /home/httpd/htdocs>
36 -# <IfModule mod_mime.c>
37 -# AddHandler python-program .spam
38 -# </IfModule>
39 -# PythonHandler eggs
40 +# AddHandler python-program .spam
41 +# PythonHandler eggs
42 #</Directory>
43
44 # This will cause all requests to the /python heirachy of your
45 # webserver to be handled by the python script /path/to/myhandler.py
46 #
47 #<Location /python>
48 -# SetHandler python-program
49 -# PythonPath "sys.path + ['/path/to']"
50 -# PythonHandler myhandler
51 +# SetHandler python-program
52 +# PythonPath "sys.path + ['/path/to']"
53 +# PythonHandler myhandler
54 #</Location>
55
56 # This will cause all requests to the /python heirachy of your
57 # webserver to be handled by mod_python's Publisher handler
58 #
59 #<Location /python>
60 -# SetHandler python-program
61 -# PythonHandler mod_python.publisher
62 +# SetHandler python-program
63 +# PythonHandler mod_python.publisher
64 #</Location>
65 -
66 </IfDefine>
67 +
68 +# vim: ts=4 filetype=apache
69
70
71
72 --
73 gentoo-commits@l.g.o mailing list