Configure Apache + Passenger to serve static files from different directory
- by Rory Fitzpatrick
I'm trying to setup Apache and Passenger to serve a Rails app. However, I also need it to serve static files from a directory other than /public and give precedence to these static files over anything in the Rails app.
The Rails app is in /home/user/apps/testapp and the static files in /home/user/public_html. For various reasons the static files…