1 |
On 05/18/2017 10:49 AM, Peter Humphrey wrote: |
2 |
> |
3 |
> While working on the new-old site I'm using my local mini-server, but I |
4 |
> can't find out why it's not obeying server-include commands. In the source I |
5 |
> have e.g. |
6 |
> <!--#include VIRTUAL="/include/hmenu.incl" --> |
7 |
> |
8 |
> ... |
9 |
> |
10 |
> <Directory "/var/www/localhost/htdocs/choir-old"> |
11 |
> Options Indexes FollowSymLinks Includes |
12 |
> AllowOverride All |
13 |
> Require all granted |
14 |
> </Directory> |
15 |
|
16 |
You've got "Includes" in the Options list, so you're halfway there. The |
17 |
missing piece is to add e.g. |
18 |
|
19 |
AddOutputFilter INCLUDES .shtml |
20 |
|
21 |
as found (commented-out) in our 00_mod_mime.conf. If you want |
22 |
server-side includes for other extensions, add change "shtml" to suit. |