• The APS Catalog has been deprecated and removed from all Plesk Obsidian versions.
    Applications already installed from the APS Catalog will continue working. However, Plesk will no longer provide support for APS applications.
  • Please be aware: with the Plesk Obsidian 18.0.78 release, the support for the ngx_pagespeed.so module will be deprecated and removed from the sw-nginx package.

timefmt not working in SSI

M

MattElmore

Guest
SSI seems to be working fine, however the timefmt flags are not configuring the format
Running on FreeBSD
 
Found the cause, and a workaround for this. :cool:

The cause:
The apache 2.x branch breaks the timefrmt directive in .shtml files (note: the 1.3 branch is not affected). :mad:

The workaround:
Add the following to a .htaccess file in the site you want to use timefrmt to enable SSI parsing of .html files and then place your SSI calls inside a .html file. :)

AddType text/html .html
AddHandler server-parsed .html

The drawback:
All .html files will now be parsed for SSI thereby slowing down the site :(
 
Back
Top