How to view a site home is index.htm or index.php do not try the method. or a browser that can be displayed directly

Source: Internet
Author: User
How to view a site home is index.htm or index.php do not try the method. Or is there a browser that can be displayed directly?
How to view a site home is index.htm or index.php do not try the method. Or is there a browser that can be displayed directly?

Share to:


------Solution--------------------
See how your server side is configured if it is written then the default will be displayed according to your settings if there is no index.htm then show index.php ...
------Solution--------------------
Grab the packet with the Firebug or HttpWatch software to see the HTTP response headers returned by the server.
If it is a. PHP page, it will return an HTTP header like x-powered-by:php/5.2.17
And if it is an. htm page, it will not.
Another: The server is directly called by the default page set to output, the HTTP response will not return its file name.

  • Related Article

    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.