I have followed http://linux.mickgenie.com/how-to-install-redmine-with-cpanel/ to install redmine on my cpanel box. Got it up and running fine except that it doesn't load any static files (js, css, png). Upon investigation i found that it actually gives 404 error when trying to load those files. My Setup Is like:
- Nginx: 80
- Apache: 8081, 443
- Mogrel/Ruby: 12001
.htaccess contains:
RewriteEngine on
RewriteBase /
RewriteCond %{HTTP_HOST} ^projects.domain.com$ [OR]
RewriteCond %{HTTP_HOST} ^www.projects.domain.com$
RewriteRule ^(.*)$ "http\:\/\/127\.0\.0\.1\:12001\/$1" [P,L]
permissions in ~/rails_apps/projects/
755 - dirs
644 - files