Questions about the regular expressions inside the. htaccess

Source: Internet
Author: User
Questions about the regular expression inside the. htaccess
Inside the. htaccess
Wrote this sentence.
Rewriterule ^ ([a-za-z]+)/($) movie/index.php?entrance=$1

The effect is as follows:
http://www.ydutv.com/Dongzuopian/Enter a page
http://www.ydutv.com/Kongbupian/Enter a page
But I'm asking for access now.
http://www.ydutv.com/search/do not enter the a page, but enter the B page.
Then I think it should be in Rewriterule ^ ([a-za-z]+)/($) movie/index.php?entrance=$1 red part of the " search" In addition, how should I write it? When the exclusion of more than "search" such as adding an exclusion "play" it?

Share to:


------Solution--------------------
You can write the search directly on the first line.

The remaining two articles are written in the back.

  • 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.