Re: SSI Apache2 Buster not working

2020-08-21 Thread john doe

On 8/21/2020 3:33 PM, Sven Hartge wrote:

john doe  wrote:


I just installed apache2 on Debian Buster.



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



$ cat try.shtml

This file last modified 



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



Re: SSI Apache2 Buster not working

2020-08-21 Thread Sven Hartge
john doe  wrote:

> I just installed apache2 on Debian Buster.

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

> $ cat try.shtml
> 
> This file last modified 

> 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?

S!

-- 
Sigmentation fault. Core dumped.



SSI Apache2 Buster not working

2020-08-21 Thread john doe

Hi,

I just installed apache2 on Debian Buster.

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

$ cat try.shtml

This file last modified 


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?

--
John Doe