How to browse a public subdirectory index ?

13 views
Skip to first unread message

eljay

unread,
May 16, 2012, 8:29:12 AM5/16/12
to Phusion Passenger Discussions
I ahve a RoR 2.3.9 aops running with Passenger 3.0.11.

We have a new subdirectory in our public document root (say public/
foo) that we wat to access through the conventional Apache directory
browsing (protected by a Basic Aut password). We have placed an
apprpriate .htaccess file in this directory but how do we instruct
Passenger (or Apache ?) to let people browse this public subdirectory ?

Marlin Pierce

unread,
May 30, 2012, 8:48:34 AM5/30/12
to phusion-...@googlegroups.com
The Rails Guides for asset_pipeline has a section on serving the precompiled assets statically for Apache httpd and nginx.  Replace LocationMatch "^/assets/.*$" with a regex to find your static pages.


Reply all
Reply to author
Forward
0 new messages