In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-27 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/02 Report--
This article will explain in detail whether the cloud virtual host supports pseudo-static, and the content of the article is of high quality, so the editor will share it with you for reference. I hope you will have a certain understanding of the relevant knowledge after reading this article.
Yes, most of the CVM on the market support pseudo-static settings. However, if you set up the pseudo-static setting of the website separately in Baidu Cloud Market, it costs money. As you all know. Pseudo-static is good for inclusion, let's take a look at Baidu Cloud's website space how to configure pseudo-static.
1. Create a "bcloud_nginx_user.conf" file with the text tool. It is best to use UTF-8 coding and fill in pseudo-static rules. (pseudo-static rules for mainstream programs such as Wordpress and Discuz can be searched by Baidu)
two。 In the control panel of the virtual host, reload the service. After the service is loaded, the pseudo-static rules take effect, and the pseudo-static page is normal after visiting the pseudo-static page.
WordPress pseudo-static rule
Location / {if (- f $request_filename/index.html) {rewrite (. *) $1/index.html break;} if (- f $request_filename/index.php) {rewrite (. *) $1 request_filename index.php;} if (!-f $request_filename) {rewrite (. *) / index.php;}
DEDECMS pseudo-static
Rewrite "^ / index.html$" / index.php last;rewrite "^ / list- ([0-9] +)\ .html $" / plus/list.php?tid=$1 last;rewrite "^ / list- ([0-9] +)-([0-9] +)-([0-9] +)\ .html $" / plus/list.php?tid=$1&totalresult=$2&PageNo=$3 last;rewrite "^ / view- ([0-9] +)-1\ .html $" / plus/view.php?arcID=$1 last Rewrite "^ / view- ([0-9] +)-([0-9] +)\ .html $" / plus/view.php?aid=$1&pageno=$2 last;rewrite "^ / tags.html$" / tags.php last;rewrite "^ / tag- ([0-9] +)-([0-9] +)\ .html $" / tags.php?/$1/$2/ last
On the cloud virtual host support pseudo-static share here, I hope the above content can be of some help to you, can learn more knowledge. If you think the article is good, you can share it for more people to see.
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.