On 21.02.2015 13:37, Dmitriy Setrakyan wrote:
> Hi,
>
> Is there a way to use server-side-includes to avoid repetition of HTML code
> on Apache project websites? What is the recommended approach?

Yes, there is, you must enable server-side includes.

Subversion's site uses SSI via the

    <!--#include virtual=URI -->

pragma comment, and puts this in the site's .htaccess file (in the root
of the published tree in Subversion):

    Options +Includes

You do have to tell Infra to enable mod_ssi on the box that serves the
site, but I think that should be on by default.

-- Brane

Reply via email to