klenwell information services : ApacheModRewriteTestOk

Apache ModRewrite Test


If you reached this page after copying the code below into an .htaccess file on your server, congratulations! The test was a success.



Test Instructions

Download or paste code below into an .htaccess file in the webroot on your server. Then put the following url in your browser:

http:<yourdomain.com>/test_rewrite.htm

If mod_rewrite is functioning, you should end up back here.


Apache ModRewrite Test Code

Paste this code into an .htaccess file in your site's webroot:
# Turn Engine On
RewriteEngine on

# Rewrite Test
RewriteRule ^test_rewrite\.htm$ http://www.klenwell.com/is/ApacheModRewriteTestOk [R]