How to turn on mod_rewrite module?

No ''Hostnet Wiki''
Pārlēkt uz: navigācija, meklēt
Šī lapa ir tulkota versija no lapas Turn on mod rewrite module un tulkojums ir pabeigts par 100%.

Citas valodas:
English • ‎eesti • ‎lietuvių • ‎latviešu • ‎русский


How to turn on mod_rewrite module?

In order to turn on mod_rewrite, you must create a text file named .htaccess. in the folder in which you want these rewriting conditions to work.

The first .htaccess row must contain the following:

 RewriteEngine ON

Now you can create your own rewriting conditions.

Many apps offers the ability to use the rewrite conditions in the .htaccess file..