Tag Archives: ServerSideIncludes

Apache: Enable Server side includes SSI for a virtual directory


short post as reminder how to enable Server Side Includes on a virtual directory.

mod_include must be enabled. MimeType for text/html must associated with .shtml file extension. Sample config for SSI looks like these:

<Directory "D:/user/www/virtualdirectory/">
    Options Indexes FollowSymLinks MultiViews ExecCGI Includes
    AllowOverride All
    Order allow <a href="https://puttydownload.biz/PuttyDownload/putty-download-bleeping.php">Putty download bleeping</a> ,deny
    Allow from all
    Require all granted
    AddType text/html .shtml
    AddOutputFilter INCLUDES .shtml

See you Michael

Advertisment to support michlstechblog.info