How to get your Apache support include file parsing and support for shtml related configurations

Source: Internet
Author: User

Source Address: http://www.itokit.com/2011/0430/65992.html

Apache support include file parsing shtml First you should modify the Apache configuration file httpd.conf 1 Confirm loading the include.so module and remove the comment: LoadModule include_module libexec/apache2/mod_include.so2  . The AddType section removes these two notes: AddType text/HTML. Shtmladdoutputfilter includes. shtml3. Directory directory permissions Find options Indexes FollowSymLinks added includes modified to: Options Indexes followsymlinks includes4 . Restart Apache, test:<!– #include file= "head.html" –>Holle Word! , this is the middle of the content <!– #include file= "foot.html" –>

How to get your Apache support include file parsing and support for shtml related configurations

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.