Using a password realm for a subpath in a Rails context

Discussion in 'Ruby/Rails' started by thijs, Jun 18, 2007.

  1. thijs

    thijs Member

    I'm trying to put password protection on the /admin part of a Rails app. I only see an option to secure an entire context.

    Is there a way to secure a subset of a context?
  2. mistwang

    mistwang LiteSpeed Staff

    Please try creating a admin/ directory and put a .htaccess with a authentication realm in it.

Share This Page