Project

General

Profile

[Solved] status / usage of mod-ssi

Added by rossbcan about 9 years ago

Hi;

Linux / OpenWrt x86_64
lighttpd/1.4.35 (ssl)

I am porting a legacy site which uses (apache) server side includes and have a few questions / woes:

from: https://redmine.lighttpd.net/projects/1/wiki/docs_modssi
it is indicated that a patch is required for nested includes (#include virtual)...
from here: https://redmine.lighttpd.net/issues/536

I applied the patch from eworm (4 years ago), which gstrauss has offered to get ready (assume integrate with trunk)

ssi includes are .html, with linux exe bit set
example SSI (executable bit also set):

the SSI includes are not served, but show up as comments when "view source"

confirmed: extension IS enabled, ssi.extension = ( ".html", ".shtml" ) in .conf

Questions:

1 - Is there a more appropriate patch / did I use the correct one?
2 - Are there more config options, including extension debug?
3 - Does mod-ssi trigger on file executable bit, as does apache?
4 - Are there other lighttpd ssi issues? (other than in wiki)?
5 - debug suggestions?

Thanks;
Bill


Replies (4)

RE: status / usage of mod-ssi - Added by rossbcan about 9 years ago

Further info:

The files with ssi directives are served by php (xoops).

When I point the browser at sitename/path to file with ssi directives, I can see the ssi includes

so, it appears to be that lighttpd ssi needs more work

is this applicapable? https://redmine.lighttpd.net/issues/1101

suggestions?

...Bill

RE: status / usage of mod-ssi - Added by gstrauss about 9 years ago

I applied the patch from eworm (4 years ago), which gstrauss has offered to get ready (assume integrate with trunk)

An offer to help/assist is not the same as an offer to "do it all". Please do not to misrepresent what others have said.

so, it appears to be that lighttpd ssi needs more work

You seem confused that features documented as not existing are not working as you expect. You clearly know these features do not exist since you have applied potential patches posted by others. Why do you still appear confused that it is not supported?

https://redmine.lighttpd.net/projects/lighttpd/wiki/Docs_ModSSI is not a very long page. It contains a bolded section Unsupported Features. Do you have any suggestions how to make this section clearer? ...I'll add the additional words "Not Implemented" in bold.

is this applicapable? https://redmine.lighttpd.net/issues/1101

Yes.

If you or anyone else would like to enhance mod_ssi, I extend my offer to help/assist/guide. For example, you can see the work that fbrosson has done in https://github.com/lighttpd/lighttpd1.4/pull/47

RE: status / usage of mod-ssi - Added by rossbcan about 9 years ago

no offence, the comment referring to you was to clearly identify which patch (several on linked page) I applied, nothing else

In this case, the interaction between php and mod-ssi (appears to be working for static pages / nested includes with patch) is well beyond my pay grade. If I do make progress, I will report it here.

Thanks;
Bill

RE: status / usage of mod-ssi - Added by gstrauss over 8 years ago

ssi.recursion-max has been implemented in lighttpd 1.4.44. See Docs_ModSSI

    (1-4/4)