Allowing Apache Indexes?

Rails 1.2.6
Apache 2.2.6

I want to allow Apache direct access to a folder inside /public to show
a listing (i.e. /public/demo_images/), but I can’t get that to work
without Rails routing trying to intercept it. Normally I’ve had no
trouble in my other sites doing this with simple configs in
Apache, but Rails is complicating this somehow.

What’s the magic for this? Thx.

– gw

Greg,

Try creating an .htaccess file in the public/demo_images directory
with the following contents:

RewriteEngine Off
Options +Indexes


Joe C.

1-800-603-4125

On Tue, Sep 16, 2008 at 9:11 PM, Greg W.