mod_ssi works, but does not allow any #include
Bug #714832 reported by
Cian Davis
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
lighttpd (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: lighttpd
mod_ssi seems to work, but does not allow #includes
Test ssi.shtml
<html>
<head>
<title>Test Page</title>
</head>
<body>
<p><b>SSI Test<b></p>
<!--#echo var="DOCUMENT_
<!--#include virtual=
</body>
</html>
temp.txt:
SSI includes works!
The resulting HTML source when accessed through lighttpd:
<html>
<head>
<title>Test Page</title>
</head>
<body>
<p><b>SSI Test</b></p>
/var/www/
</body>
</html>
Options tried: setting execute bit on both ssi.shtml and temp.txt. Result: No effect
To post a comment you must log in.
lighttpd 1.4.44 supports recursive processing of #include virtual="..." where the target is an SSI file.
In earlier versions of lighttpd, please use #include file="..." to include the literal file, though note that it will not be parsed by SSI.