Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 154931 Details for
Bug 221155
www-servers/apache-2.2.8: 16_mod_python.conf has misplaced </IfModule>
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
16_mod_python.conf.diff
16_mod_python.conf.diff (text/plain), 2.09 KB, created by
Martin Mokrejš
on 2008-05-31 11:19:33 UTC
(
hide
)
Description:
16_mod_python.conf.diff
Filename:
MIME Type:
Creator:
Martin Mokrejš
Created:
2008-05-31 11:19:33 UTC
Size:
2.09 KB
patch
obsolete
>Showing differences between /etc/apache2/modules.d/16_mod_python.conf and /etc/apache2/modules.d/._cfg0000_16_mod_python.conf >--- /etc/apache2/modules.d/16_mod_python.conf 2007-05-19 00:21:07.000000000 +0200 >+++ /etc/apache2/modules.d/._cfg0000_16_mod_python.conf 2008-05-31 12:54:55.000000000 +0200 >@@ -1,50 +1,33 @@ > <IfDefine PYTHON> >- <IfModule !mod_python.c> >- LoadModule python_module modules/mod_python.so >- </IfModule> >-</IfDefine> >+LoadModule python_module modules/mod_python.so > >-<IfModule mod_python.c> >-# > # Mod_python is a module that embeds the Python language interpreter > # within the server, allowing Apache handlers to be written in Python. >-# >-<Directory /home/mmokrejs/public_html/IRES2> >- # this requires .py extension to be always in URL >- AddHandler mod_python .py >- # >- # this does not require .py extension in URL, but will always use python to execute >- # SetHandler mod_python >- # >- PythonHandler mod_python.publisher >- PythonDebug On >-</Directory> > > # This will cause files beneath /home/httpd/htdocs with the extension .spam > # to be handled by the Python script /home/httpd/htdocs/eggs.py > # > #<Directory /home/httpd/htdocs> >-# <IfModule mod_mime.c> >-# AddHandler python-program .spam >-# </IfModule> >-# PythonHandler eggs >+# AddHandler python-program .spam >+# PythonHandler eggs > #</Directory> > > # This will cause all requests to the /python heirachy of your > # webserver to be handled by the python script /path/to/myhandler.py > # > #<Location /python> >-# SetHandler python-program >-# PythonPath "sys.path + ['/path/to']" >-# PythonHandler myhandler >+# SetHandler python-program >+# PythonPath "sys.path + ['/path/to']" >+# PythonHandler myhandler > #</Location> > > # This will cause all requests to the /python heirachy of your > # webserver to be handled by mod_python's Publisher handler > # > #<Location /python> >-# SetHandler python-program >-# PythonHandler mod_python.publisher >+# SetHandler python-program >+# PythonHandler mod_python.publisher > #</Location> >+</IfDefine> > >-</IfModule> >+# vim: ts=4 filetype=apache >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 221155
: 154931