RewriteEngine On RewriteRule ^301$ http://riddler.dev.adaptainc.com/hart/trunk/tests/ [R=301,L] # Test Redirects # http://riddler.dev.adaptainc.com/hart/trunk/tests/redirect-to-200 RewriteRule ^redirect-to-200$ http://riddler.dev.adaptainc.com/hart/trunk/tests/ [R=301,L] # http://riddler.dev.adaptainc.com/hart/trunk/tests/redirect-to-301 RewriteRule ^redirect-to-301$ http://riddler.dev.adaptainc.com/hart/trunk/tests/301 [R=301,L] # R flag is undefined # http://riddler.dev.adaptainc.com/hart/trunk/tests/r-flag-is-undefined RewriteRule ^r-flag-is-undefined$ http://riddler.dev.adaptainc.com/hart/trunk/tests/ [L] # unexpected redirect code # http://riddler.dev.adaptainc.com/hart/trunk/tests/unexpected-redirect-code RewriteRule ^unexpected-redirect-code-x$ http://riddler.dev.adaptainc.com/hart/trunk/tests/ [R=302,L] RewriteRule ^unexpected-redirect-cod.*$ http://riddler.dev.adaptainc.com/hart/trunk/tests/ [R=301,L] #infinite loop # http://riddler.dev.adaptainc.com/hart/trunk/tests/infinite-loop RewriteRule ^infinite-loop$ http://riddler.dev.adaptainc.com/hart/trunk/tests/infinite-loop [R=301,L]