8

mod_rewrite statements can be hard to write and debug, therefore I need a lightweight online tool that enables me to test my RewriteCond, RewriteRule statements on the fly.

Any such tool?

vartec
  • 6,217
  • 2
  • 33
  • 49
Graviton
  • 2,865
  • 12
  • 42
  • 64

2 Answers2

7

Here's one. You can also use a regex tester like this one, or this one.

Ivan
  • 3,172
  • 4
  • 25
  • 34
4

What you can do is to just set up development Apache and use RewriteLog, and set RewriteLogLevel high (above 3).

vartec
  • 6,217
  • 2
  • 33
  • 49
  • This can be only be set in the context of server config and virtual host. – DrDol Sep 25 '10 at 10:11
  • As stated in the description, what's the problem with that ? Sure it's not an "online" tool but it's way better than any of them and reloading apache is quick. – Shadok Jun 19 '12 at 15:19