S
S
SpideR-KOSS2017-08-25 09:27:22
Apache HTTP Server
SpideR-KOSS, 2017-08-25 09:27:22

Why doesn't SSI work in Apache?

Good day!
There is a task to insert the contents of one HTML file into another HTML file.
The easiest way in my opinion is to insert via SSI, but for some reason it does not work.
There is a file in the root directory - file.shtml I include
in the index.html file;
<!--#include virtual="Путь до файла/file.shtml"-->
And nothing happens. There are no errors in Apache.
There is an Options +Includes directive in the config.
Where to dig?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
X
xmoonlight, 2017-08-25
@SpideR-KOSS

There is such an option on the client side (javascript): includeHTML
About SSI: httpd.apache.org/docs/current/mod/mod_include.html
(mod_include apache module - included?!)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question