Skip to content
This repository has been archived by the owner on Jul 28, 2021. It is now read-only.

Running CASino via Passenger using relative paths #16

Closed
skug67 opened this issue Jan 8, 2015 · 3 comments
Closed

Running CASino via Passenger using relative paths #16

skug67 opened this issue Jan 8, 2015 · 3 comments

Comments

@skug67
Copy link

skug67 commented Jan 8, 2015

I would like to access CASino via [existing_hostname.domain.name]/cas instead via a separate host (e.g. cas.domain.name]. And I seem to be able to log in successfully that way, but at least the initial redirect to "sessions"(and other critical elements of the app, haven't yet tried to figure out how to investigate that) don't prepend the "cas" to the url that they generate. Any easy way to fix this?

Thanks in advance.

-- Seth Green

@pencil
Copy link
Member

pencil commented Jan 8, 2015

Running CASino under a non-root URL should actually work without any problems. Maybe the configuration @swobspace posted in this issue helps (probably the PassengerBaseURI part does the trick).

@skug67
Copy link
Author

skug67 commented Jan 8, 2015

Thanks for that hint. But what I'd gotten running was CASinoApp, which seems to have some problems with absolute URLs embedded someplace (although I can't find it) similar to what was fixed in rbCAS/CASino@12b5073 for the CASino code. If you could help me figure out how to fix the absolute URL problem in CASinoApp, or alternatively how to run CASino (not App) via Passenger and config.ru, I'd be very grateful.

Thanks again.

-- Seth

@pencil
Copy link
Member

pencil commented Jul 11, 2015

Please reopen if this is still a problem for you.

@pencil pencil closed this as completed Jul 11, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants