rendered paste body<VirtualHost *:8080>
ServerName powercontrol
DocumentRoot /var/www/powercontrol/public/
ErrorLog /var/log/apache2/error.log
LogLevel debug
#RewriteLog /tmp/rewrite
#RewriteLogLevel 2
<Directory /var/www/powercontrol/public/>
AllowOverride None
Options ExecCGI FollowSymLinks
Order allow,deny
Allow from all
# FastCgiServer /var/www/powercontrol/public//dispatch.fcgi -idle-timeout 120 -initial-env RAILS_ENV=development -processes 10
ExpiresActive On
ExpiresByType text/html "access plus 5 hours"
ExpiresByType text/css "access plus 5 hours"
ExpiresByType image/gif "access plus 5 hours"
ExpiresByType image/png "access plus 5 hours"
ExpiresByType application/x-javascript "access plus 5 hours"
RewriteEngine On
RewriteRule ^$ index.html [QSA,L]
RewriteRule ^([^.]+)$ $1.html [QSA]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ dispatch.fcgi [QSA,L]
</Directory>
</VirtualHost>