[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: SSI Apache2 Buster not working



On 8/21/2020 3:33 PM, Sven Hartge wrote:
john doe <johndoe65534@mail.com> wrote:

I just installed apache2 on Debian Buster.

I'm trying to use SSI in an html page:

$ cat try.shtml
<!--#config timefmt="%A %B %d, %Y" -->
This file last modified <!--#flastmod file="try.shtml" -->

When accessing the page through my web browser, I only get 'This file
last modified' without the date being displayed.

the command 'a2enmod mime' tells me that mod_mime.c is enabled and in
/etc/apache2/apache2.conf I have the 'Options' line '+includes' present
for '/var/www/html'.

What am I missing?

Is mod_include enabled as well?


No, it was not, 'a2enmod include' dit the trick.

I'm an happy camper, thank you.

--
John Doe


Reply to: