Edgewall Software
Modify

Opened 17 years ago

Closed 17 years ago

#6286 closed defect (duplicate)

Trac uses direct redirection containing current host name when creating/modifying tickets

Reported by: esizikov@… Owned by: Jonas Borgström
Priority: normal Milestone:
Component: general Version: 0.10.4
Severity: normal Keywords:
Cc: Branch:
Release Notes:
API Changes:
Internal Changes:

Description

Our Trac-server resides in the Intranet and is not available (or even seen) from Internet directly.

We have configured a redirect-proxy for the Trac-server on one of our Internet-accessible web-servers using Apache 2.2 mod_proxy.

Thus, http://internet.server/trac requests are goes to http://trac.intranet.server/trac.

It is mostly works perfectly, but we've noticed recently that when a person files a ticket on our Internet (external) server, after press ing "Submit ticket" he gets a blank browser window (or it just waits for data), and address field's URL changes to the Intranet (internal), containing a host name which is not available from the Internet.

The question is, is that a bug in our configuration, our setup, our approach or in the Trac's implementation?

P.S. We're using Apache + mod_python for hosting Trac, in the Intranet.

Attachments (0)

Change History (1)

comment:1 by Noah Kantrowitz, 17 years ago

Resolution: duplicate
Status: newclosed

If anything it is a bug in HTTP. Redirects must be absolute URLs. For more information look at one of the many tickets about base_url being harmful.

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Jonas Borgström.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Jonas Borgström to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.