Apache uses. htaccess pseudo static How do I write?

Source: Internet
Author: User
Open web address jump is such a http://www.baidu.com/index.php/user/login I would like to use. htaccess pseudo-static, excuse me. What should I write about the contents of htaccess?


Reply to discussion (solution)

such as Http://www.baidu.com/index.php/user/login pseudo-static into http://www.baidu.com/login.html

No answer?

One of the most dead:
Rewriterule ^login\.html/index.php/user/login [L]

One of the most dead:
Rewriterule ^login\.html/index.php/user/login [L]
Rewriteengine on
Rewriterule ^login\.html/index.php/user/login [L] It's useless to write, open or Http://www.baidu.com/index.php/user/login.

How is that possible? Unless you enter the Http://www.baidu.com/index.php/user/login directly on your own visit.
Either you make a jump, or you either succeed or you can't access it.

How is that possible? Unless you enter the Http://www.baidu.com/index.php/user/login directly on your own visit.
Either you make a jump, or you either succeed or you can't access it.
http://www.baidu.com/I visited, also restarted Apache, or not

How is that possible? Unless you enter the Http://www.baidu.com/index.php/user/login directly on your own visit.
Either you make a jump, or you either succeed or you can't access it.
may be access to index.php jump to/index.php/user/login, so the words may also be written. htaccess pseudo-static, how to write?

This you should change in the program, do not jump there, jump to the new address up.

This you should change in the program, do not jump there, jump to the new address up.
Yes, it's ready, thanks!

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