22

How to Simulate & Check a URL rewrite rule in Apache 2, when on sharehosting RewriteLog is disabled and or NOT allowed to be set in .Htaccess? In other words, are there any tools/simulators to test an url rewrite independantly of hosting, to check see for possibel Rewrite loops etc?

Thanks!

Sam
  • 15,254
  • 25
  • 90
  • 145

2 Answers2

21

I enjoy using http://htaccess.madewithlove.be

However, things like

RewriteCond %{REQUEST_FILENAME} !-f 

won't work, yet.

Tobias
  • 820
  • 7
  • 11
0

I use Mod Rewrite Generator to generate and test my RewriteRule.
It takes care of the negations as well.
It also lets you modify the URL as per your needs.

Shrinivas Shukla
  • 4,325
  • 2
  • 21
  • 33
  • 3
    Nice, but very specific to transforming folders into parameters. Does not support more complex transformations, such as parameters to folders. – Jose Gómez Jul 21 '15 at 10:05