This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (
This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (
ImageRewriteRules
To speed up serving of images, you can add rules like the following to your Apache config:
RewriteRule ^/([a-z]+)/(\d+)/photo/([a-z]+) /var/www/apps/onebody/shared/db/photos/$1/$2.$3.jpg [L]
RewriteRule ^/albums/\d+/([a-z]+)/(\d+)/photo/([a-z]+) /var/www/apps/onebody/shared/db/photos/$1/$2.$3.jpg [L]
Be sure to change the path to your OneBody db if different than above.
These rewrite rules cause Apache to serve up images directly rather than going through Rails.






