httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Malo ...@perlig.de>
Subject Re: svn commit: r571872 - in /httpd/httpd/trunk: CHANGES docs/manual/mod/mod_include.xml modules/filters/mod_include.c modules/filters/mod_include.h
Date Sun, 02 Sep 2007 13:41:52 GMT
* minfrin@apache.org 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/> #

Mime
View raw message