====== Linux Apache2 ======
===== mod-rewrite test =====
Rewrites can ether be controlled from the main apache.conf or from a .htaccess file in the web root. Testing can be done with the files below (from BOLT CRM):-
.htaccess
RewriteEngine On
RewriteRule ^.*$ htaccess_tester.html
Explaination... '' ^.*$ '' is anchored to the start of a line with ^, the dot matches any character and the * wildcards any number of matches up to the line end denoted by $, so this redirects any request to the url following (htaccess_tester.html).
htaccess_tester.html
mod-rewrite and htaccess tester.
If you can see this, you have been rewritten correctly.