* [EMAIL PROTECTED] wrote: > Author: minfrin > Date: Sat Sep 1 14:27:26 2007 > New Revision: 571872 > > URL: http://svn.apache.org/viewvc?rev=571872&view=rev > Log: > mod_include: Add an "if" directive syntax to test whether an URL > is accessible, and if so, conditionally display content. This > allows a webmaster to hide a link to a private page when the user > has no access to that page.
> Modified: httpd/httpd/trunk/modules/filters/mod_include.h > URL: > http://svn.apache.org/viewvc/httpd/httpd/trunk/modules/filters/mod_includ >e.h?rev=571872&r1=571871&r2=571872&view=diff > ========================================================================= >===== --- httpd/httpd/trunk/modules/filters/mod_include.h (original) > +++ httpd/httpd/trunk/modules/filters/mod_include.h Sat Sep 1 14:27:26 > 2007 @@ -96,6 +96,9 @@ > > /* pointer to internal (non-public) data, don't touch */ > struct ssi_internal_ctx *intern; > + > + /* is using the access tests allowed? */ > + int accessenable; > } include_ctx_t; Is there a particular reason, that you changed the public context instead of the internal (private) one? nd -- die (eval q-qq:Just Another Perl Hacker :-) # André Malo, <http://pub.perlig.de/> #
