Atšķirības starp "Turn on mod rewrite module/en" versijām
No ''Hostnet Wiki''
(Jauna lapa: 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.) |
(Jauna lapa: Many apps offers the ability to use the rewrite conditions in the .htaccess file..) |
||
| (2 starpversijas, ko mainījis viens dalībnieks, nav parādītas) | |||
| 6. rindiņa: | 6. rindiņa: | ||
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. | 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 | RewriteEngine ON | ||
| − | + | Now you can create your own rewriting conditions. | |
| − | + | Many apps offers the ability to use the rewrite conditions in the .htaccess file.. | |
[[Category:CloudHosting]] | [[Category:CloudHosting]] | ||
Pašreizējā versija, 2016. gada 21. novembris, plkst. 15.39
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..