MarkUs Blog

MarkUs Developers Blog About Their Project

Archive for the ‘Apache Proxy Setup’ Category

Automated Proxy Setup

without comments

Here are some instructions as to how to do a quick and dirty MarkUs setup so that it’s accessible behind Apache httpd. Please don’t use it in production. It may provide some inspirations, though.

Here is a shell script, which does the heavy lifting of a proxied setup including basic authentication. This has been tested on Debian and Ubuntu. It might also work on some other distributions with some modifications. The necessary steps are as follows:

  1. cd to a clean checkout of MarkUs
  2. edit config/environment.rb such that it includes
    config.action_controller.relative_url_root = “/markus”
  3. edit and update MARKUS_RAILS_ROOT so
    that it points to your MarkUs checkout.
  4. go to your MarkUs checkout and do ./script/server (the usual

Become root (e.g. $ sudo -s)
# chmod +x
# ./

Finally go to (It should ask for authentication; use username=markus_test password=test). You should see a standard MarkUs login screen now. Happy proxy testing/developing! 🙂

Written by Severin

July 29th, 2010 at 12:03 am