How to enable your Apache server to support SSI

Source: Internet
Author: User
Apache does not support ssi by default. We need to change httpd. conf for configuration. Take Apache 2.0.x on Windows as an example to open httpd In the conf directory. CONF file, search for "addtype text/html. shtml ", search result: # addtype text/html. shtml # addoutputfilter between des. shtml removes the first two rows and modifies the following two rows: addtype text/html. HTML addoutputfilter between des. HTML. PHP then searches "Options indexes followsymlinks" and adds "des" after the row to be searched. This will change the row to options indexes followsymlinks between des and save httpd. conf to restart Apache. Now we have completed the configuration of Apache SSI. Note: The deldes file is followed by the SSI File suffix .. Set as needed.

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.