You are viewing a plain text version of this content. The canonical link for it is here.
Posted to modperl@perl.apache.org by Ryan Gies <ry...@livesite.net> on 2008/04/02 23:26:27 UTC

[mp2] $s->protocol returns "INCLUDED"

What causes $s->protocol() to return the string "INCLUDED"?

Re: [mp2] $s->protocol returns "INCLUDED"

Posted by "Philippe M. Chiasson" <go...@ectoplasm.org>.
Philippe M. Chiasson wrote:
> Ryan Gies wrote:
>> What causes $s->protocol() to return the string "INCLUDED"?
> 
> SSI includes / mod_include

Take that back, I am wrong. It's set by the subrequest mechanism, so it
will be set for internal sub-requests.

An SSI virtual include:

<!--#include virtual="/foo/bar" -->

Is just one case, anything that triggers a subrequest will do it too.

-- 
Philippe M. Chiasson     GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/       m/gozer\@(apache|cpan|ectoplasm)\.org/


Re: [mp2] $s->protocol returns "INCLUDED"

Posted by "Philippe M. Chiasson" <go...@ectoplasm.org>.
Ryan Gies wrote:
> What causes $s->protocol() to return the string "INCLUDED"?

SSI includes / mod_include

-- 
Philippe M. Chiasson     GPG: F9BFE0C2480E7680 1AE53631CB32A107 88C3A5A5
http://gozer.ectoplasm.org/       m/gozer\@(apache|cpan|ectoplasm)\.org/