Added a scope to enable the ability to use a context root on the application.
Added a scope to enable the ability to use a context root on the
I don`t agree.
@randx what do you think?
I dont like this either
Not to be annoying, but what don't you agree with? This seems to be the accepted way for a Rails 3 application to be put at a directory other than '/' since the removal of config.action_controller.relative_url_root.
we don`t support relative url. Also it looks dirty.
i mean we don`t want support of relative url.
I realize that as an open source project I have the freedom to change the code and use it as I see fit.
That being said, an open source project should be able to be customized easy enough so someone can integrate said project into their own environment without a lot of trouble. It should have been a lot easier for me to integrate this application into my environment and looking at other discussion topics on Google it seems like I wasn't the only one that was looking for this functionality in this project.
If you aren't going to include this functionality in the project natively, I would suggest creating a wiki page stating how it can be done so people don't spend hours like I did trying to figure out why I couldn't make it work properly.
yes. Manual or wiki page will be good idea. But this feature shouldn't be in core logic. Because it will make more hardly support our product. Sorry for my english. Do not be offended.
Manual or wiki is ok. But core functionality should be tiny
Several other projects like Redmine support this functionality. There are several situations where you create a subdomain just for the installation of a system is not possible, nor advisable. Sorry for my English ... but I agree that this is a necessary feature. I agree too that "nsteffan" propose of implementation is ugly. Maybe someone could see how Redmine do this and apply this feature to gitlabhq!
What am I supposed to do when I can't subdomain and need this functionality? Is there a way to make it behave nevertheless? I can't run this on a complete host on its own.
I've created a pull request with an alternate implementation of relative url root support in #2162 .