Benjamin Lau <benjamin.a....@gmail.com> writes: > On Wed, Mar 28, 2012 at 11:08 PM, Cooke, Mark <mark.co...@siemens.com> wrote: >>> -----Original Message----- >>> From: trac-users@googlegroups.com On Behalf Of Benjamin Lau >>> Sent: 29 March 2012 05:30 >>> To: trac-users@googlegroups.com >>> Subject: [Trac] Configuring Trac on my shared hosting provider >>> >>> I need a little help with finishing configuring Trac on my shared >>> hosting provider. >>> >>> I've managed to get everything working >>> (http://netjunki.org/blog/deploying-trac-on-shared-hosting there were >>> issues. ;-) but there's one problem remaining. If you click on any of >>> the links inside trac they go to the cgi-bin/trac.cgi version of the >>> URL instead of the direct one >>> (http://netjunki.org/cgi-bin/trac.cgi/blog/deploying-trac-on-s >>> hared-hosting >>> using the page I linked as an example). Is there some way to fix this? >>> >>> Thanks, >>> Ben >>> >> What have you set for the various URL parameters in your trac.ini? >> >> http://trac.edgewall.org/wiki/TracIni# >> >> Check out `base_url` and `use_base_url_for_redirect`... >> > > base_url was blank and use_base_url_for_redirect was False... > > I tried setting the base_url alone and that didn't do anything... then > I tried setting use_ to True but that still doesn't seem to have > worked. All the links in the wiki still have the cgi-bin/trac.cgi > portion in their URLs. > > base_url = http://netjunki.org/ > use_base_url_for_redirect = True
There's also a url variable in the project section. I believe that'll do the trick. Hope this helps, -- Olaf Meeuwissen, LPIC-2 FLOSS Engineer -- AVASYS CORPORATION FSF Associate Member #1962 Help support software freedom http://www.fsf.org/jf?referrer=1962 -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.