Trac is being migrated to new services! Issues can be found in our new YouTrack instance and WIKI pages can be found on our website.

Version 5 (modified by datallah, 17 years ago) (diff)

Add info about lighttpd workaround patch

Changes to the Vanilla Trac installation

This is a place to keep track of changes that have been made to customize the trac installation.

Plugins

WebAdminPlugin

AccountManagerPlugin *This patch has been applied to enable remembering sessions and SSL logins and administration.

SimpleTicketPlugin

DoxygenPlugin

TracMonotone

PendingTicketPlugin

PermCachePlugin

Patches

Patch to display "Last Modified" information on all wiki pages

Hack to workaround lighttpd bug #729 (See trac bug #2418)

--- /usr/share/python-support/trac/trac/web/api.py.orig      2006-11-13 06:41:07.0000 -0500
+++ /usr/share/python-support/trac/trac/web/api.py      2007-05-07 18:31:23.0000
@@ -216,7 +216,7 @@

     method = property(fget=lambda self: self.environ['REQUEST_METHOD'],
                       doc='The HTTP method of the request')
-    path_info = property(fget=lambda self: self.environ.get('PATH_INFO', '').de
code('utf-8'),
+    path_info = property(fget=lambda self: self.environ.get('SCRIPT_NAME', '') + self.environ.get('PATH_INFO', '').decode('utf-8'),
                          doc='Path inside the application')
     remote_addr = property(fget=lambda self: self.environ.get('REMOTE_ADDR'),
                            doc='IP address of the remote user')
@@ -225,7 +225,7 @@
                                'has not logged in using HTTP authentication')
     scheme = property(fget=lambda self: self.environ['wsgi.url_scheme'],
                       doc='The scheme of the request URL')
-    base_path = property(fget=lambda self: self.environ.get('SCRIPT_NAME', ''),
+    base_path = property(fget=lambda self: '/',
                          doc='The root path of the application')
     server_name = property(fget=lambda self: self.environ['SERVER_NAME'],
                            doc='Name of the server')

Attachments (13)

Download all attachments as: .zip

All information, including names and email addresses, entered onto this website or sent to mailing lists affiliated with this website will be public. Do not post confidential information, especially passwords!