Phpwind 9 After upgrade Nginx Apache IIS pseudo static configuration

Source: Internet
Author: User
Tags iis thread

Phpwind 9 Official edition is a very good forum system, here is not much publicity. The main problem is that a lot of previous user upgrades to find a lot of changes before the pseudo static also can not be used, here to everyone a quick design PW9 pseudo static and Phpwind 8.7 upgrades come in, how to use the previous pseudo static method.

The official only provides a new version of the pseudo static design method, such as: Search pseudo static, according to the requirements to open,

Apache Web Server Configuration

With the. htaccess file in the WWW directory, the rewrite can be used directly after it has been opened, and the format is changed without changing the contents of the file.

IIS Configuration

The Isapi_rewrite Third Edition is recommended under IIS, and the older version of rewrite does not support Rewritecond syntax. Download Address http://www.helicontech.com/download-isapi_rewrite3.htm
	Rewritebase/
Rewritecond%{request_filename}!-f 
rewritecond%{request_filename}!-d RewriteRule 
. ( JSICOGIFJPE?GBMPPNGCSS) $ index.php [L] 
Administrative Tools-> Internet Information Services-> Network site right-click. -> Property ISAPI filter see that isapi_rewrite3 down there. Go to the Rewrite tab to see the rewrite rules inside.

Nginx Configuration

Location/{ 
    if (-F $request _filename) {break
           ;
    }
    if ($request _filename ~* "\. JSICOGIFJPE?GBMPPNGCSS) $ ") {break
        ;
    }
    if (!-e $request _filename) {
        rewrite./index.php last;
    }

Phpwind 8.7 How to use after the user upgrade, please see below:

We are based on the Nginx configuration method, Apache control rules can be modified

#没有开启伪静态, upgrade pw9 after the jump address if you do not want to jump permanent replaced by last
#rewrite ^/thread-htm-fid-(. +). html$ index.php?m=bbs&c=thread&fid=$1 Permanent;
#rewrite ^/read-htm-tid-(. +). html$ read.php?tid=$1 Permanent;

#开启伪静态, upgrade Pw9 after the jump address if you do not want to jump permanent replaced by last
Rewrite ^/thread-htm-fid-(. +). html$/thread-$1/permanent;
Rewrite ^/read-htm-tid-(. +). html$/read-$1/permanent;



Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.