Answer the question
In order to leave comments, you need to log in
Apache2 + SSI. Why doesn't #include file="" work?
I'm moving over an old project. It uses SSI
Everywhere files are connected like this
<!--# include file="/includes/ukr/inc_block_tag_manager.html" -->
<!--# include virtual="/includes/rus/inc_block_tag_manager.html" -->
<!--# include file="/includes/ukr/inc_block_tag_manager.html" -->
[Thu May 26 09:19:15.106863 2016] [include:error] [pid 31821] [client 127.0.0.1:54297] AH01368: missing directive name in parsed document /var/www/theinsider/sites/example.com/insider/static/index.html
Answer the question
In order to leave comments, you need to log in
If it searches for a file "from the root of the disk", then as an option, you can create a symlink in the root /includes -> /www/site.ru/includes
Or does the include file directive not work by itself?
Are there any details in the error_log?
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question