Get the App
SLTechnology News&Howtos  ›  Servers  › 

How to set the Rewrite of pseudo-static Apache in Empire 7.0

Shulou Source: shulou.com Published: 2022-06-02 01:21:21 10月02日 Update

This article will explain in detail how to set up the Rewrite of Empire 7.0 pseudo-static Apache. The editor thinks it is very practical, so I share it with you as a reference. I hope you can get something after reading this article.

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 on Empire 7.0 pseudo-static Apache how to set up here, I hope the above content can be helpful to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.

Tags: Information static Empire content more articles good practical Code articles titles patterns knowledge Classification references help related Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Shulou Technology Huawei Shulou Tech Info vpn Apple