Server Side Includes (SSI) on ECN's Apache (Wilbur)
ECN's Apache web server wilbur supports server side includes, though they are not enabled by default. The following lines must be added to a .htaccess file in the web site where you would like to enable includes:
Options +Includes AddType text/html .shtml AddOutputFilter INCLUDES .shtml
This option can be turned on for any extension by changing .shtml in the lines above.
Once Includes are enabled you can use them to include one file into another file, this is useful for creating site templates. The line below will include the /~user/header.html file into the current file.
<!--#include virtual="/~user/header.html" -->
For more information on server side includes please read the mod_include documentation
Last modified: 2015/04/27 15:25:56.370674 GMT-4 by
curtis.f.smith.1
Created: 2008/07/28 14:12:12.168000 GMT-4 by brian.r.brinegar.1.
Categories
- Knowledge Base > Web > Apache