Htaccess pseudo-static rules

Source: Internet
Author: User
Help htaccess pseudo-static rules, convert IIS httpd. ini pseudo-static rules test website: http://www.fphs5.com/date/ after the dynamic environment :? Date = I want to use pseudo-static implementation to directly display the htaccess pseudo-static rules by date
Turn to htaccess pseudo-static rules to convert IIS's httpd. ini pseudo-static rules
Test site: http://www.fphs5.com/date/ it is followed by dynamic parameters :? Date = 2014-1-10
I want to use pseudo-static to display the address in the format of date, such as: 2014110!
The pseudo-static htaccess rules are as follows:
rewrite ^/date/$ index_date.php last;
rewrite ^/date/(.*)/$ index_date.php?date=$1 last;

I would like to ask you how to convert it, or you can write a paragraph for help! Thank you !!! Share: More

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.