tags:

views:

9

answers:

1

hello there

how to check rewrite engine is active on my server ?

+1  A: 

You can use this simple rule:

RewriteEngine on
RewriteRule ^ http://example.com/? [L,R]

This will redirect any request to http://example.com/.

Gumbo
+1 Yup. If nothing happens at all, `.htaccess` files aren't being parsed. If it throws a 500, the rewrite module is probably not activated. If you get redirected to example.com, it works.
Pekka