Anyone have a graphical tool for developing mod_rewrite rules.
Ideally it would display a pipeline of rewrites and then when given an instance of a uri would show the tr
I am not aware of any such tool. The way I've addressed this problem was through a set of unit tests that are checking the correctness of my rules. If you want to have your tests always in synch with the config, you'll have to configure your tests to read the load the rules directly from the config file.
./alex
There is also a new webapp developed by technicalseo.com with help of mwl.be api they have nice gui with same functionality.
https://technicalseo.com/tools/htaccess/
I dont know of any downloadable tools but there are a few helpful sites that I use to get the basics done:
http://www.webmaster-toolkit.com/mod_rewrite-rewriterule-generator.shtml
http://www.thejackol.com/htaccess-cheatsheet/
Sounds like you're looking for an app like RegexBuddy.
For online testing of .htaccess (read: mod_rewrite) rules, try:
http://htaccess.madewithlove.be/
It shows you what and how rules are applied to the input URL.
I think it’s quite hard to write one. Because mod_rewrite’s behavior is heavily dependent on the environment it’s used in.
Take for an example the -f
expression for the RewriteCond directive to test if TestString exists and is a regular file in the file system. How would you do this without the actual file system?
Though the basic behavior (just the RewriteRule
directive) could be implemented.