Najm
Najm

Reputation: 45

Testing the rewrite module

How can I check whether the rewrite engine is active on my server?

Upvotes: 0

Views: 1404

Answers (1)

Gumbo
Gumbo

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

Related Questions