[Trac] base_url in trac.ini seems to be ignored by tracd
Will McCutchen
mccutchen at gmail.com
Fri Jul 7 12:23:54 CDT 2006
Hi all,
I'm running tracd behind Apache+mod_proxy, proxying from
http://hostname/trac to http://127.0.0.1:8080, which is where tracd is
running.
My problem is that Trac is generating URLs that look like
http://hostname/projectname/wiki/ where I need it to be generating
URLs like http://hostname/trac/projectname/wiki/.
I have tried all sorts of variations on the base_url setting in
trac.ini to tell Trac how to generate the proper URLs, but none have
worked. I've tried /trac, /trac/, http://hostname/trac,
http://hostname/trac/, http://hostname:80/trac. No matter what value
I've put in the base_url setting, Trac generates the same URLs.
Can anyone give me any pointers?
Thanks for the help, and the great software,
Will.
P.S. Here are the relevant lines from my httpd.conf, I think:
ProxyRequests Off
ProxyPreserveHost On
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
ProxyPass /trac http://127.0.0.1:8080
ProxyPassReverse /trac http://127.0.0.1:8080
More information about the Trac
mailing list