• Inviting everyone who uses WordPress management tools in Plesk
    The Plesk team is conducting a 60-minute research session that includes an interview and a moderated usability test.
    To participate, please use this link .
    Your experience will help shape product decisions and ensure the tools better support real-world use cases.

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