How to check if mod_rewrite works

I have a lot of problems with mod_rewrite, and for a while I did it, but for some reason everything stopped working.

Is there some kind of basic test that I can do to make sure that it is not something fundamental.

It is displayed in phpinfo ();

+3
source share
3 answers

The secret that no one mentions is that mod_rewrite is confusing, partly because of what it does not work.

, , - , . , 2001 . , 2001. bugzilla , 2006 . . , - .

, .

, mod_rewrite mod_rewrite, , , . .

+2

RewriteLog RewriteLogLevel , .

http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html#rewritelog

, script curl, , .

.

+1

Use the .htaccess file to create some rules. If they do not work, then something is broken :)

0
source

Source: https://habr.com/ru/post/1698906/


All Articles