The variable relative_url_root specifies the location on the server where the application is installed (e. g. /startkladde). This is required to create links and redirects within the application (including links to images and style sheets).
relative_url_root can be set from different sources:
HTTP_X_RAILS_RELATIVE_URL_ROOT
(configuration of the web server), code in app/controllers/application_controller.rb:set_relative_url_root