How to turn on mod_rewrite module?

No ''Hostnet Wiki''
Versija 2016. gada 21. novembris, plkst. 15.39, kādu to atstāja Gatis (Diskusija | devums) (Jauna lapa: Many apps offers the ability to use the rewrite conditions in the .htaccess file..)

(izmaiņas) ← Senāka versija | skatīt pašreizējo versiju (izmaiņas) | Jaunāka versija → (izmaiņas)
Pārlēkt uz: navigācija, meklēt
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..