3 ms·
%{HTTP_HOST} isn't recognised for one, and lines like "Redirect 301 /foo http://www.example.com/ http://www.example.com/ aren't recognised at all. However, I ca
by ZoFreX 16y ago
%{HTTP_HOST} isn't recognised for one, and lines like "Redirect 301 /foo http://www.example.com/ http://www.example.com/ aren't recognised at all. However, I can't really use this as a tester unless it implements everything rather than a list of directives I give you - if I don't realise an unrecognised directive lies in the middle of my .htaccess, my test results could be misleading. It's a great idea, but it might be better to implement it by hooking into the same code Apache uses, if that is at all possible.