2

Problems with .htaccess rewrite and Ruby on Rails/Redmine

view full story
linux-howto

http://serverfault.com – I installed Redmine and so far everything runs smoothly. Now i want to add a rewrite rule via .htaccess in order to redirect requests from domain.tdl to www.domain.tdl. This is approach works fine with my everyday php projects: RewriteEngine On RewriteBase / # redirect all pages w/o www to www. RewriteCond %{HTTP_HOST} !^www\.domain\.tdl$ RewriteRule ^(.*)$ http://www.domain.tdl/$1 [L,R=301] However when i add this to our redmine/public/.htaccess it seems to redirect infinitely (resulting in a timeout/http 500 error). I tried to look up forums/google for a solution but i only found thous (HowTos)