httpd-modules-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Nick Kew <n...@webthing.com>
Subject Re: How to request a file in apache module?
Date Wed, 14 Nov 2007 17:34:04 GMT
On Wed, 14 Nov 2007 09:24:54 -0800 (PST)
John Zhang <john_zzhang@yahoo.com> wrote:

> I have the follow need:
> While processing a request in my module (handler or
> output filter), I need to ask apache to give me the
> content of another page.  Is there any way to do that,
> or do I have to find the file and read it just within
> my module?

Take a look at mod_include's handling of <!--#include ...-->.
That shows how to include a file, and apply apache's default
security model to it.

-- 
Nick Kew

Application Development with Apache - the Apache Modules Book
http://www.apachetutor.org/

Mime
View raw message