Online mod_rewrite testing tool

44,256

Solution 1

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

Solution 2

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

Share:
44,256

Related videos on Youtube

Graviton
Author by

Graviton

A software developer.

Updated on September 17, 2022

Comments

  • Graviton
    Graviton over 1 year

    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?

  • baudtack
    baudtack over 14 years
    The first link does not support RewriteCond right now :-(
  • DrDol
    DrDol over 13 years
    This can be only be set in the context of server config and virtual host.
  • Shadok
    Shadok almost 12 years
    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.