Home >Backend Development >PHP Tutorial >Configuring support for SSI_PHP tutorial

Configuring support for SSI_PHP tutorial

WBOY
WBOYOriginal
2016-07-21 16:00:03960browse

Settings
SSI~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Open the settings file And look for the following text:
 #
 #To use server-parsedHTMLfiles
 #
 #AddType text/html .shtml
 #AddHandler server-parsed .shtml
 Delete AddType and AddHandler The # symbol before these two lines of instructions. The AddType command will require the server to use text or HTML as the content format of the returned file when returning any web page with an attachment file name
of .shtml. AddHandler is used to instruct the server to send the file content
to mod_include for processing. Afterwards, mod_include will determine how to respond to such a file. Next, look for the following text:
There will be an options line between this line of text and the corresponding . The original setting is:
 Options Indexes FollowSymLinks MultiViews Includes
Add Includes at the end of this line, and the result will look like this:
Options Indexes FollowSymLinks MultiViews Includes
This requires Apache to set it in the htdocs subroutine Execute the server-side includes program in the directory. In order for these changes to take effect, we must
restart the server. Reactivate under Unix and execute "kill -HUP `cat /usr/local/apache/logs/httpd.pid`".

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/317230.htmlTechArticleSetting up SSI~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~~~ Open the settings file and look for the following text: # #Touseserver-parsedHTMLfiles #...
Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn