Pseudo-static rules, affect each other, swollen?

Source: Internet
Author: User
Rewriterule ^/member/(. *)/(. *)/(. *)/(. *) \.html$/member/$1\.php?$2=$3&page=$4 [nc,l]
Rewriterule ^/match/$/member/match\.php [nc,l]
Rewriterule ^/love-store/$/news/love\.store\.php [nc,l]
Rewriterule ^/love-store/(. *) \.html$/news/love\.store\.php?page=$1 [nc,l]
Rewriterule ^/(. *)/$/index.php?city=$1 [nc,l]
Rewriterule ^/member/$/member/index\.php [nc,l]
Rewriterule ^/consum/(. *) $/member/consum\.php?backurl=$1 [nc,l]
Rewriterule ^/login/(. *) $/member/login\.php?backurl=$1 [nc,l]
Rewriterule ^/register/(. *) $/member/register\.php?backurl=$1 [nc,l]
Rewriterule ^/member/meshis/(. *) \.html$/member/meshis\.php?id=$1 [nc,l]
Rewriterule ^/member/(. *)/$/member/$1\.php [nc,l]
Rewriterule ^/member/(. *)/(. *)/(. *) \.html$/member/$1\.php?$2=$3 [nc,l]
Rewriterule ^/display/(. *) \.html$/member/display\.php?mid=$1 [nc,l]
Rewriterule ^/member/(. *)/(. *) \.html$/member/$1\.php?page=$2 [nc,l]
Rewriterule ^/vip/$/member/vip\.php [nc,l]
Rewriterule ^/search/$/member/search\.php [nc,l]
Rewriterule ^/news/show/(. *) \.html$/news/show\.php?id=$1 [nc,l]
Rewriterule ^/(. *)/$/news/$1\.php [nc,l]
Rewriterule ^/about/(. *) \.html$/news/about\.php?id=$1 [nc,l]
Rewriterule ^/(. *)/(. *) \.html$/news/$1\.php?page=$2 [nc,l]

In order to do a sub-station pseudo-static add the red part of the rules, resulting in the following all useless, how to do ah, ask the big God guidance, optimization under
The Member News folder is real


Reply to discussion (solution)

Put the red part of the rules to the bottom.

Put the red part of the rules to the bottom.


Put it to the bottom of the test, invalid ...

Rewriterule ^/(. *)/$/index.php?city=$1 [nc,l]
Put it to the bottom.

I put it to the bottom and tried, 404 error.

My this is pseudo-static under IIS, not Apache.

No matter where it is, the principle will not change.
The range is small in the front, the range is large in the rear

No matter where it is, the principle will not change.
The range is small in the front, the range is large in the rear



The swelling will not work.
  • 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.