To enable mod_rewrite, it is necessary to add the following in the beginning of the .htaccess file:

RewriteEngine On

After that add the rules for rewriting of links.

More information about mod_rewrite can be found at:

http://httpd.apache.org/docs/2.2/mod/mod_rewrite.html

Hjalp dette svar dig? 0 Kunder som kunne bruge dette svar (0 Stem)