Changes between Version 6 and Version 7 of TracModPython
- Timestamp:
- Sep 13, 2020, 5:05:14 PM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
TracModPython
v6 v7 55 55 SetHandler mod_python 56 56 PythonInterpreter main_interpreter 57 PythonHandler trac.web.modpython_frontend 57 PythonHandler trac.web.modpython_frontend 58 58 PythonOption TracEnv /var/trac/myproject 59 59 PythonOption TracUriRoot /projects/myproject … … 89 89 PythonOption TracLocale en_GB.UTF8 90 90 91 # See description above 91 # See description above 92 92 PythonOption TracUriRoot /projects/myproject 93 93 }}} … … 110 110 === Setting the Python Egg Cache 111 111 112 If the Egg Cache isn't writeable by your Web server, you'll either have to change the permissions, or point Python to a location where Apache can write. This can manifest itself as a `500 internal server error` and/or a complaint in the syslog. 112 If the Egg Cache isn't writeable by your Web server, you'll either have to change the permissions, or point Python to a location where Apache can write. This can manifest itself as a `500 internal server error` and/or a complaint in the syslog. 113 113 114 114 {{{#!apache 115 115 <Location /projects/myproject> 116 116 ... 117 PythonOption PYTHON_EGG_CACHE /tmp 117 PythonOption PYTHON_EGG_CACHE /tmp 118 118 ... 119 119 </Location> … … 140 140 SetHandler mod_python 141 141 PythonInterpreter main_interpreter 142 PythonHandler trac.web.modpython_frontend 142 PythonHandler trac.web.modpython_frontend 143 143 PythonOption TracEnvParentDir /var/trac 144 144 PythonOption TracUriRoot /projects … … 234 234 235 235 #remove these if you don't want to force SSL 236 RewriteEngine On 236 RewriteEngine On 237 237 RewriteCond %{HTTPS} off 238 238 RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI} … … 279 279 SetHandler mod_python 280 280 PythonInterpreter main_interpreter 281 PythonHandler trac.web.modpython_frontend 281 PythonHandler trac.web.modpython_frontend 282 282 PythonOption TracEnv /system/path/to/this/directory 283 283 PythonOption TracUriRoot /path/on/apache … … 318 318 }}} 319 319 320 See also [http ://subversion.apache.org/faq.html#reposperms How do I set repository permissions correctly?]320 See also [https://subversion.apache.org/faq.html#reposperms How do I set repository permissions correctly?] 321 321 322 322 ==== FreeBSD issues … … 376 376 === Segmentation fault with php5-mhash or other php5 modules 377 377 378 You may encounter segfaults (reported on Debian etch) if php5-mhash module is installed. Try to remove it to see if this solves the problem. See [http ://bugs.debian.org/cgi-bin/bugreport.cgi?bug=411487 Debian bug report].379 380 Some people also have troubles when using PHP5 compiled with its own third party libraries instead of system libraries. Check [http ://www.djangoproject.com/documentation/modpython/#if-you-get-a-segmentation-fault Django segmentation fault].378 You may encounter segfaults (reported on Debian etch) if php5-mhash module is installed. Try to remove it to see if this solves the problem. See [https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=411487 Debian bug report]. 379 380 Some people also have troubles when using PHP5 compiled with its own third party libraries instead of system libraries. Check [https://www.djangoproject.com/documentation/modpython/#if-you-get-a-segmentation-fault Django segmentation fault]. 381 381 382 382 ----