http://trac.edgewall.org/wiki/TracOnRhel4
I ran trac-admin /home/trac/trac_spt upgrade and everything was working, but after we did a final copy of user files, the trac wiki stopped working. The problems seemed to be related to my CGI configuration for apache, so I tried switching to mod_python. That works better, and all the subversion access pages are working, but when I try to access a wiki page, for example
https://spt.uchicago.edu/trac/wiki/TitleIndex
I get the error:
Not Found
The requested URL /trac/wiki.png/TitleIndex was not found on this server.
httpd.conf contains:
## Allow everyone read access to trac documentation
<Directory "/usr/share/trac/htdocs/">
Options Indexes MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
# Set up mod_python access to SPT_Software trac project
<Location /trac>
SetHandler mod_python
PythonHandler trac.web.modpython_frontend
PythonOption TracEnv /home/trac/trac_spt
PythonOption TracUriRoot /trac
</Location>
# You need something like this to authenticate users
<Location "/trac/login">
AuthType Basic
AuthName "SPT Wiki"
AuthUserFile /home/trac/trac.htpasswd
Require valid-user
</Location>
# Require use of SSL encrypted conection for trac wiki
<Location "/trac">
SSLRequireSSL
</Location>
trac.ini contains:
[project]
url = "" href="http://example.com/">http://example.com/
footer = Visit the Trac open source project at<br /><a href="" http://trac.edgewall.com/">http://trac.edgewall.com/</a>
name = SPT_Software
descr = South Pole Telescope Project
icon = trac.ico
[header_logo]
src = "">alt = Trac
height = 73
link = http://trac.edgewall.com/
width = 236
[logging]
log_file = trac.log
log_level = DEBUG
log_type = none
[attachment]
max_size = 5000000
[trac]
default_charset = iso-8859-15
templates_dir = /usr/share/trac/templates
repository_dir = /home/svnroot
base_url = /trac
ignore_auth_case = false
permission_store = DefaultPermissionStore
check_auth_ip = true
database = sqlite:db/trac.db
metanav = login,logout,settings,help,about
mainnav = wiki,timeline,roadmap,browser,tickets,newticket,search
[account-management]
module = trac.Account
enabled = true
registration_enabled = false
password_format = htpasswd
password_file = /home/root/httpd_passwd
I'm running Apache 2.0 and Python 2.3.
Any help will be greatly appreciated.
Ken Aird
http://www.kenaird.com
http://spt.uchicago.edu
_______________________________________________ Trac mailing list [email protected] http://lists.edgewall.com/mailman/listinfo/trac
