Opened 17 years ago
Closed 17 years ago
#6228 closed defect (duplicate)
Redirect through Proxy Server does not use $base_url
Reported by: | Owned by: | Jonas Borgström | |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | general | Version: | devel |
Severity: | normal | Keywords: | needinfo |
Cc: | Branch: | ||
Release Notes: | |||
API Changes: | |||
Internal Changes: |
Description
When a form is submitted to trac the redirection link that is sent is not based on the url.
Trac is setup to go through a proxy server.
Base_Url = https://www.site.com/trac
redirect link should be:
https://www.site.com/trac/WikiStart
Trac returns:
https://www.site.com/WikiStart
This issue happens when a wiki entry or ticket is entered or tried to update.
Attachments (0)
Change History (7)
comment:1 by , 17 years ago
comment:2 by , 17 years ago
Version: | → devel |
---|
comment:3 by , 17 years ago
Keywords: | needinfo added |
---|
Just to be sure, where and how did you set up this Base_Url = https://www.site.com/trac
stuff?
It should be done in the trac.ini file, in the [trac]
section:
[trac] base_url = https://www.site.com/trac
follow-up: 6 comment:5 by , 17 years ago
Don't you override that somewhere?
I mean, do you really see this value in the "About Trac" page (when logged in as the user who has the TRAC_ADMIN permission)?
comment:6 by , 17 years ago
Replying to cboos:
Don't you override that somewhere?
I mean, do you really see this value in the "About Trac" page (when logged in as the user who has the TRAC_ADMIN permission)?
Yes I do see it in the "About Trac" page.
comment:7 by , 17 years ago
Resolution: | → duplicate |
---|---|
Status: | new → closed |
This should work following #5064 with new option use_base_url_for_redirect
. Please update your Trac and enable this setting - it should work as expected.
As both tickets essentially deal with (re)writing urls for redirect, I'm closing this one as a duplicate.
I am also running Trac 0.11dev-r6079