Reputation: 45
How can I check whether the rewrite engine is active on my server?
Upvotes: 0
Views: 1404
Reputation: 655319
You can use this simple rule:
RewriteEngine on
RewriteRule ^ http://example.com/? [L,R]
This will redirect any request to http://example.com/
.
Upvotes: 2