How to set the Rewrite of pseudo-static Apache in Empire 7.0
This article mainly introduces how to set up pseudo-static Apache Rewrite in Empire 7.0. it has certain reference value and can be used for reference by friends who need it. I hope you will learn a lot after reading this article. Next, let the editor take you to learn about it.
Imperial CMS7.0 provides pseudo-static settings. In this paper, the Rewrite setting method of pseudo-static Apache under Empire 7.0is briefly described as follows:
The code is as follows:
# Open the RewriteEngine On# information content page in RewriteEngine mode: showinfo- [!-- classid--]-[!-- id--]-[!-- page--] .htmlRewriteCond% {QUERY_STRING} ^ (. *) $RewriteRule ^ showinfo- (. +?) .html$ / e/action/ShowInfo.php?classid=$1&id=$2&page=$3
# Information list: listinfo- [!-- classid--]-[!-- page--] .htmlRewriteCond% {QUERY_STRING} ^ (. *) $RewriteRule ^ listinfo- (. +?)-(. +?) .html$ / e/action/ListInfo/index.php?classid=$1&page=$2
# title category list page: infotype- [!-- ttid--]-[!-- page--] .htmlRewriteCond% {QUERY_STRING} ^ (. *) $RewriteRule ^ infotype- (. +?)-(. +?) .html$ / e/action/InfoType/index.php?ttid=$1&page=$2
# TAGS information list page: tags- [!-- tagname--]-[!-- page--] .htmlRewriteCond% {QUERY_STRING} ^ (. *) $RewriteRule ^ tags- (. +?)-(. +?). Html$ / e/tags/index.php?tagname=$1&page=$2 thank you for reading this article carefully. I hope it will be helpful for the editor to share the Rewrite content of pseudo-static Apache in Empire 7.0. at the same time, I hope you will support it. Pay attention to the industry information channel, find problems, detailed solutions are waiting for you to learn!