Thanks for the tip - i missed that option. Unfortunately, it didn't help.
I forgot to mention I'm using tracd running as a server, and this option
seems to be suitable for apache.

However, I found that using --base-path=/somename/trac when running
service does pretty much what it should - links seem to be generated
fine, but site is not functional; when accessing through internal address
(http://my-virt:8000/somename/trac) I can't login - I'm using the
authentication
plugin;

Though I believe this base-path option may be a good track and will give it
a shot yet.

Thanks,
Matt


On 2010-09-29 10:02, Itamar O wrote:
> On Wed, Sep 29, 2010 at 12:58 AM, matt <[email protected]
> <mailto:[email protected]>> wrote:
>
>     Hi All,
>     please advise on the following subject.
>
>     I have my trac instance setup on a virtual machine on some port, like:
>     http://myvirt:8000
>
>     However, I would like my Trac instance to be visible from the internet
>     as well, thus I asked for redirection from the company's address, and
>     now I have sth like:
>
>     http://my-company.com/somename/trac
>
>     The problem is, Trac seems to render all the links without any "base
>     url" (I thought base_url may work, but it doesn't) and for example the
>     preferences page links to http://my-company.com/prefs instead of
>     http://my-company.com/somename/trac/prefs.
>
>     Do you know about any way to make the Trac render base adress (http://
>     my-company.com/somename/trac
>     <http://my-company.com/somename/trac>) for all the links as well?
>
>     Thanks,
>     Matt
>
>     --
>     You received this message because you are subscribed to the Google
>     Groups "Trac Users" group.
>     To post to this group, send email to [email protected]
>     <mailto:[email protected]>.
>     To unsubscribe from this group, send email to
>     [email protected]
>     <mailto:trac-users%[email protected]>.
>     For more options, visit this group at
>     http://groups.google.com/group/trac-users?hl=en.
>
>
> I think the use_base_url_for_redirect might be what you need.
> See [1] for more details (bottom of that table).
>
> [1] http://trac.edgewall.org/wiki/TracIni#trac-section
> -- 
> You received this message because you are subscribed to the Google
> Groups "Trac Users" group.
> To post to this group, send email to [email protected].
> To unsubscribe from this group, send email to
> [email protected].
> For more options, visit this group at
> http://groups.google.com/group/trac-users?hl=en.

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.

Reply via email to