RewriteRule indicates the name of the sub-member in the repository...

Source: Internet
Author: User
# RewriteRule ^ ([^.] + )? $ 1.php[ L] I have a website fake configuration called xxx.com. the object stored after the website is named xxxFTP. The path is home2 * public_htmlxxx, which is not used in my xxx Project # rewriteRule ^ ([^.] + )? $ 1.php[ L] so when I am another... # RewriteRule ^ ([^./] + )/? $ 1.php [L]

I have a website fake configuration called xxx.com, and the object that is stored later is xxx.
FTP path is
Home2/*/Public_html/xxx/

Because I have not used it in xxx Project# RewriteRule ^ ([^./] + )/? $ 1.php [L]
So when I have another main website (home2/*/Public_html/) after joining this generation
When I enter xxx.com, it will become 404.
You must add index. php to make it normal.
So he automatically added my xxx to this generation... but I didn't use this generation in xxx.
So he takes xxx.com into xxx.com/index, so it will
How can I change this RewriteRule? Do not affect other projects!

My current practice is to add it to public_html/xxx /.
RewriteRule ^ index $ index. php [L]
In this way, we can coexist. but I don't know what else will happen.
Xxx is the only website on which my website does not have any hidden domain name. so suddenly, something went wrong.

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.