ignite-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Branko ─îibej <br...@apache.org>
Subject Re: website includes
Date Thu, 26 Feb 2015 08:35:04 GMT
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


Mime
View raw message