Bug 1180753 - [RFE] The path at which Pulp is hosted should be configurable
Summary: [RFE] The path at which Pulp is hosted should be configurable
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Pulp
Classification: Retired
Component: user-experience
Version: 2.4.3
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
: ---
Assignee: pulp-bugs
QA Contact: pulp-qe-list
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-01-09 21:51 UTC by Randy Barlow
Modified: 2015-02-28 23:43 UTC (History)
5 users (show)

Fixed In Version:
Doc Type: Enhancement
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-02-19 01:21:29 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Pulp Redmine 288 0 None None None Never

Description Randy Barlow 2015-01-09 21:51:11 UTC
Description of problem:
It is not possible to host Pulp at a different path than the default apache conf ships with, as many pieces of Pulp assume that Pulp will be hosted at a particular path and port. We should have a setting that lets Pulp know where it is hosted so that it can generate accurate hrefs when it is hosted in different locations.

Version-Release number of selected component (if applicable):
2.4.3-1

How reproducible:
Every time.

Steps to Reproduce:
1. Try to host Pulp on a different port, or at a different path, or both.

Actual results:
You will not be able to use Pulp when Apache is configured differently.

Expected results:
You should be able to run Pulp on any port or path you like. All components should continue to work.

Comment 1 Brian Bouterse 2015-01-12 17:48:18 UTC
Django has a place where you can set the 'deployed' URL, so that should read the Pulp setting. Then whenever code goes to build a 'full' URL, it should have Django form the full URL.

Comment 2 Randy Barlow 2015-01-12 19:24:32 UTC
(In reply to bbouters from comment #1)
> Django has a place where you can set the 'deployed' URL, so that should read
> the Pulp setting. Then whenever code goes to build a 'full' URL, it should
> have Django form the full URL.

+1

Comment 3 Michael Hrivnak 2015-01-14 03:23:05 UTC
Can you be more specific about what doesn't work when deployed to a non-standard port?

Comment 4 Randy Barlow 2015-01-14 18:41:55 UTC
I think the port element of this might not be true, so let's focus on the path part.

Comment 5 Brian Bouterse 2015-02-19 01:21:29 UTC
Moved to https://pulp.plan.io/issues/288


Note You need to log in before you can comment on or make changes to this bug.