APACHE uses. htaccess pseudo-static. how can I write it?

Source: Internet
Author: User
APACHE uses. htaccess pseudo-static. how can I write it? What is the website address jump like this?


Reply to discussion (solution)

For example, http://www.baidu.com/index.php/user/login pseudo static into http://www.baidu.com/login.html

No answer?

The most dead one:
RewriteRule ^ login \. html/index. php/user/login [L]

The most dead one:
RewriteRule ^ login \. html/index. php/user/login [L]
RewriteEngine On
RewriteRule ^ login \. html/index. php/user/login [L] this write is useless, open or http://www.baidu.com/index.php/user/login

How is it possible? Unless you enter the http://www.baidu.com/index.php/user/login directly when you access it.
Either you have made a jump, or you have succeeded or you cannot access it.

How is it possible? Unless you enter the http://www.baidu.com/index.php/user/login directly when you access it.
Either you have made a jump, or you have succeeded or you cannot access it.
Http://www.baidu.com/I access this way, also restarted APACHE, or not

How is it possible? Unless you enter the http://www.baidu.com/index.php/user/login directly when you access it.
Either you have made a jump, or you have succeeded or you cannot access it.
You may have accessed INDEX. PHP to jump to/index. php/user/login. in this case, you may still write. htaccess pseudo-static files. how do you write?

You should change this in the program. don't jump there and jump to a new address.

You should change this in the program. don't jump there and jump to a new address.
Okay. all right. thank you!

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.