• Plesk Uservoice will be deprecated by October. Moving forward, all product feature requests and improvement suggestions will be managed through our new platform Plesk Productboard.
    To continue sharing your ideas and feedback, please visit features.plesk.com

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