Project

General

Profile

Actions

Bug #2150

closed

SSI Include not work

Added by laforge over 12 years ago. Updated over 12 years ago.

Status:
Invalid
Priority:
Normal
Category:
mod_ssi
Target version:
-
ASK QUESTIONS IN Forums:

Description

A simple SSI include not work.
Enabled the mod_ssi, created a .shtml page with a simple file include, the page served from the server
not contain the page with the inclusion but the include statement.
In attach the configuration and the sample page used to test the include.


Files

lighttpd.conf (11.4 KB) lighttpd.conf laforge, 2010-01-10 20:27
include-test.shtml (887 Bytes) include-test.shtml laforge, 2010-01-10 20:27
prod.include.html (42 Bytes) prod.include.html laforge, 2010-01-10 20:27
Actions #1

Updated by lonnyk over 12 years ago

The issue seems to have to do with the regex on line 132 of mod_ssi.c identifying:

<!--#include (file="foo.bar") -->

as a line we want to parse.

lighty is able to parse

<!--#include file="foo.bar" -->

just fine.

Additionally, the syntax used in the bug report doesn't seem to be supported by anyone. Correct me if I'm wrong, but this seems to be more of an issue with the lighty documentation rather then mod_ssi.

Actions #2

Updated by laforge over 12 years ago

Uhhhhhh right!
I taked the example with the () in the SSI directive...

Tested with the right code and works.
Thank you very much.

IHMO You can close this bug.

LaForge.

Actions #3

Updated by nitrox over 12 years ago

  • Status changed from New to Invalid
  • Priority changed from High to Normal
Actions #4

Updated by stbuehler over 12 years ago

  • Target version deleted (1.4.x)
Actions

Also available in: Atom