For example, if the first page of a website is index.htm or index. php, you do not need to try it out. or which browser can directly display it?

Source: Internet
Author: User
For example, if the first page of a website is index.htm or index. php, you do not need to try it out. or which browser can directly display it? For example, if the first page of a website is index.htm or index. php, you do not need to try it out. or which browser can directly display it?


Reply to discussion (solution)

Check how your server is configured. if you have written all the configurations, the index. php will be displayed by default if index.htm is not displayed...

Capture packets with firebug or HttpWatch software to view the HTTP response header returned by the server.
For the. php page, an http header like X-Powered-By: PHP/5.2.17 is returned.
If it is a .htm page, no.
In addition, the server directly calls the configured response page for output. the file name is not returned in the HTTP response.

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.