How to define nginx pseudo-static rules
This article mainly introduces how to define nginx pseudo-static rules related knowledge, detailed and easy to understand, simple and fast operation, has a certain reference value, I believe that everyone will have some gains after reading this article on how to define nginx pseudo-static rules, let's take a look at it.
1, nginx pseudo-dynamic delimitation rules
rewrite ^(.*)/ tags.html $1/tags.php;rewrite ^(.*)/ tags/(.*)- 1.html $1/tags.php?/$ 2/$3;
or
rewrite ^([^\.]*)/ tags.html $1/tags.php;rewrite ^([^\.]*)/ tags/(.*)- ([0-9]+).html $1/tags.php?/$ 2/$3;
2.htaccess file pseudo-audio provisions
RewriteBase / RewriteRule ^tags\.html$ /tags.php$1 RewriteRule ^tags/(.*)- ([0-9]+).html$ /tags.php?/$ 1/$2
3. IIS website.config file, pseudo-message rules:
4. Pseudo-dynamic regulation of httpd.ini file
RewriteRule ^(.*)/ tags\.html $1/tags\.php RewriteRule ^(.*)/ tags/(.*)- ([0-9]+).html $1/tags\.php\?$ 2/$3 About "How to define nginx pseudo-static rules" The content of this article is introduced here, thank you for reading! I believe everyone has a certain understanding of the knowledge of "how to define nginx pseudo-static rules." If you still want to learn more knowledge, you are welcome to pay attention to the industry information channel.