Project

General

Profile

Actions

Bug #20313

closed

Katello can't use relocated URI

Added by Robert Mattson over 6 years ago. Updated over 5 years ago.

Status:
Closed
Priority:
Normal
Category:
Web UI
Target version:
Fixed in Releases:
Found in Releases:

Description

Katello Team,

After an IRC discussion. We don't seem to be able to relocate foreman from / to /foreman/ in apache because of constraints in Katello. See below for discussion.

rob101
yo sup. i've set RAILS_RELATIVE_URL_ROOT and katello pages seem to enter a reload-loop. 11:12 am
any thoughts? 11:12 am
please? 11:42 am
any ideas what might cause a reload-loop? 11:43 am
ehelmsrob101: where did you set this? 11:44 am
rob101 in a <Location> directive in httpd, under a vhost. 11:45 am
noting, other foreman pages seem fine. 11:45 am
ehelms rob101: I don't know that we are built to handle that 11:45 am
assume you are trying to set the URL root to not / ? 11:47 am
rob101 yes -> SetEnv RAILS_RELATIVE_URL_ROOT /foreman \n Alias /foreman /usr/share/foreman/public \n <Location "/foreman"> \n passengerBaseURI / \n PassengerAppRoot /usr/share/foreman 11:47 am
require all granted 11:47 am
</Location> 11:49 am
http://projects.theforeman.org/issues/3489 seems to indicate is works, #looking for other evidence... 11:51 am
I have a number of utilities on a maintainence page, all of which are in sub-URLs, i need to map foreman to a sub-directory and right now am using ProxyPass to map into the foreman vhost. 11:52 am
to have the html/css/assets map 1:1 i need to change the root uris on the foreman vhost... 11:52 am
it seems to be commonly done. 11:53 am
using katello 3.2.2-1 / foreman-1.13.4-1 11:55 am
ehelms rob101: I think that was before we had a single page application with angularjs for katello, and I am guessing thats why you hit page reloads

Continued https://botbot.me/freenode/theforeman/msg/88551237/

Actions #1

Updated by Justin Sherrill over 6 years ago

  • Category set to Web UI
  • translation missing: en.field_release set to 114
  • Difficulty set to medium
Actions #2

Updated by Justin Sherrill over 6 years ago

  • Assignee set to Walden Raines
  • Target version set to 205
  • translation missing: en.field_release changed from 114 to 281
Actions #4

Updated by Eric Helms over 6 years ago

  • translation missing: en.field_release changed from 281 to 286
Actions #5

Updated by Brad Buckingham over 6 years ago

  • Target version changed from 205 to 208
Actions #6

Updated by Brad Buckingham over 6 years ago

  • Assignee changed from Walden Raines to Jonathon Turel
Actions #7

Updated by Jonathon Turel over 6 years ago

  • Status changed from New to Assigned
Actions #8

Updated by The Foreman Bot over 6 years ago

  • Status changed from Assigned to Ready For Testing
  • Pull request https://github.com/Katello/katello/pull/6920 added
Actions #9

Updated by Eric Helms over 6 years ago

  • translation missing: en.field_release changed from 286 to 250
Actions #10

Updated by Brad Buckingham over 6 years ago

  • Target version changed from 208 to 213
Actions #11

Updated by Brad Buckingham over 6 years ago

  • Target version changed from 213 to 217
Actions #12

Updated by Anonymous over 6 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100
Actions #13

Updated by The Foreman Bot over 6 years ago

  • Pull request https://github.com/Katello/katello/pull/6974 added
Actions

Also available in: Atom PDF