rendered paste body 1 <VirtualHost *:80>
2 DocumentRoot /www/domains/yourdomainhere/www/public/
3 ServerName yourdomainhere
4
5 DefaultInitEnv RAILS_ENV production
6
7 <Location />
8 RewriteEngine On
9 # Let apache handle purely static files like images by itself.
10 RewriteCond %{REQUEST_FILENAME} !-f
11 # Send Everything else to fcgi
12 RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]
13 AddHandler fcgid-script .fcgi
14 AddHandler cgi-script .cgi
15 </Location>
16
17
18 <Directory /www/domains/yourdomainhere/www/public/ >
19 Options Indexes FollowSymLinks ExecCGI
20 AllowOverride None
21 Order allow,deny
22 Allow from all
23 </Directory>
24 </VirtualHost>