Making symbolic linked Rails apps work when folder accessed with no trailing slash
1 RewriteCond %{REQUEST_FILENAME} !-f 2 RewriteCond %{REQUEST_FILENAME} !snippets\.html 3 RewriteRule ^(.*)$ dispatch.fcgi [QSA,L] 4 RewriteRule snippets\.html /snippets/ [R]
Replace snippets with the name of your own folder, obviously.