Configuration for Apache and Unicorn:
```apacheconf
ServerName xxx
ServerAlias xxx
BalancerMember http://127.0.0.1:5000
RewriteEngine On
# Static files are served by Apache rest by Unicorn
RewriteCond %{DOCUMENT_ROOT}/%{REQUEST_FILENAME} !-f
RewriteRule ^/(.*)$ balancer://unicornservers%{REQUEST_URI} [P,QSA,L]
# NOTE Uncomment if you want Unicorn to serve static content
# ProxyPass / balancer://unicornservers/
# ProxyPassReverse / balancer://unicornservers/
# ProxyPreserveHost on
Order deny,allow
Allow from all
```