Monthly Archives: April 2007

Ubuntu, VLANs and Bridges

Bridge and VLAN support has improved dramatically under Ubuntu and probably Debian as well since I last looked into it. once upon a time to create a bridge linked to a VLAN interface you would have to do horrible things like. auto eth0 ifconfig eth0 inet manual pre-up /sbin/vconfig set_name_type VLAN_PLUS_VID_NO_PAD || true auto vlan7 [...]

Mongrel, rails and the theory of relativity

Summary (E = mc²) When using mongrel for rails and you want to deploy an app under /other_url then use ActionController::AbstractRequest.relative_url_root = “/other_url” in config/environments/production.rb instead of ENV['RAILS_RELATIVE_URL_ROOT'] = “/other_url” Proof (From first principals) At Vquence we have a pretty standard rails setup Apache with mod_proxy pen mongrel Silvia recently wrote an application to allow [...]