Lanmp series tutorials-correct lnamp support SSI methods
Source: Internet
Author: User
After studying it for one afternoon, I used various methods to find that they were not completely talking about it. if they were missing one, they would not be able to do it! You must modify the conf file in apache and nginx. Step 1: modify httpd in apache. find the conf file: AddTypetext/html.shtml AddO... after studying it for one afternoon, I used various methods to find that they were not completely talking about it. if they were missing one, they would not be able to do it! You must modify the conf file in apache and nginx. Step 1: modify httpd in apache. find the conf file: AddType text/html. shtml AddOutputFilter implements Des. shtml removes the # symbol and changes it to AddType text/html. shtml. html AddOutputFilter between Des. shtml. html (add. HTML is used to enable HTML to support include calls.) search: Options Indexes FollowSymLinks and add the pair des to the VHOST folder. find your site configuration CONF file, search for Options FollowSymLinks, and modify it: when Options FollowSymLinks INCLUDES IncludesNOEXEC is modified here, go to your website, You will find that the same page for accessing www.abc.com and www.abc.com/index.shtmlis different! Next, go to nginx and start nginx. add ssi on; ssi_silent_errors on; ssi_types text/shtml to the http, server, and location sections of the conf file. then, restart the server and OK! All done! This article is taken from the wdlinux Forum. For more information, see!
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.