Author Archives: eric

bash-ful http response codes with Apache

For our recent scheduled downtime we wanted to replace the entire web site with a maintenance page. That’s not so bad. The simplest solution is to use an AliasMatch directive to the apache config: AliasMatch .* /var/www/rapleaf/maintenance.html Unfortunately this was insufficient for us because we also wanted to make it a 503: Service Unavailable http [...]

Posted in Apache | 2 Comments

ruby and mcrypt

Usually there’s little reason to use mcrypt with ruby. Ruby’s standard OpenSSL library should cover just about all of one’s encryption/decryption needs. But recently we did need mcrypt to help us debug an encryption problem with a partner. Specifically they were encrypting with mcrypt on php and we were having trouble decrypting it. There’s very [...]

Posted in encryption, mcrypt, Ruby, Security | 1 Comment
  • Rapleaf Is Hiring!

    We are looking for engineers who want to solve challenging problems.

    We have great people, do great work, and have great perks.

    Know someone who might be interested? Refer a friend and get $5,000 for successful hires.

    See our current openings at
    www.rapleaf.com/careers