Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Lighty2Go is the portable version of the Lighttpd server. I'm required to use it for a project I am doing.

I need to use SSI (Server Side Includes). I know SSI is old and slow, that is OK for this project. I know Lighty2Go/Lighttpd has support for SSI, however, I can't seem to get it to work.

My Index Page:

<doctype html>
        <title>Test Site</title>
        <!--#include file="header.txt"-->
        Test Content

The header.txt file has this inside:

This is header.txt

I've changed some settings in the config to no avail. Any ideas? Does anybody have a step-by-step way to do it for newbies? I'm new to Lighty2Go, I'm only using it so I can test my SSI enabled sites before uploading them to a server.


share|improve this question

migrated from Sep 16 '11 at 5:24

This question came from our site for computer enthusiasts and power users.

up vote 1 down vote accepted

Under the Lighty2Go directory, you'll need to edit the lighttpd config file at LightTPD/conf/lighttpd-l2g.conf.

Under server.modules = (, uncomment the "mod_ssi", line. Also, uncomment the ssi.extension = ( ".shtml" ) line near the bottom of the file.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.