Apache does not support SSI to add SSI support to Apache by default _linux
Source: Internet
Author: User
What is SSI?
SSI is the abbreviation of English server Side includes, translated into Chinese is the meaning that server side contains. From a technical standpoint, SSI is a command or pointer that is in an HTML file that can be invoked through a comment line. SSI is powerful, with a simple SSI command that enables content updates throughout the site, dynamic display of time and dates, and the execution of complex functions such as shell and CGI scripts.
Apache does not support SSI by default, and we need to change httpd.conf to configure it. Here I take the Windows platform Apache 2.0.x For example, open the httpd.conf file under the Conf directory, search for "AddType text/html. shtml", search results:
Then search "Options Indexes followsymlinks"
Add "Includes" after the search to the line
The line will change to Options Indexes followsymlinks Includes
Save httpd.conf, and start Apache again. This completes the setup of Apache SSI.
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.