You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by rb...@apache.org on 2014/03/11 17:43:40 UTC
svn commit: r1576415 - /httpd/httpd/trunk/docs/manual/mod/mod_lua.xml
Author: rbowen
Date: Tue Mar 11 16:43:39 2014
New Revision: 1576415
URL: http://svn.apache.org/r1576415
Log:
Ensure that .lua.foo files aren't affected
Modified:
httpd/httpd/trunk/docs/manual/mod/mod_lua.xml
Modified: httpd/httpd/trunk/docs/manual/mod/mod_lua.xml
URL: http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_lua.xml?rev=1576415&r1=1576414&r2=1576415&view=diff
==============================================================================
--- httpd/httpd/trunk/docs/manual/mod/mod_lua.xml (original)
+++ httpd/httpd/trunk/docs/manual/mod/mod_lua.xml Tue Mar 11 16:43:39 2014
@@ -69,7 +69,9 @@ trust, as it can be abused to change the
which can be used with an <code>AddHandler</code> directive:</p>
<highlight language="config">
-AddHandler lua-script .lua
+<FilesMatch "\.lua$">
+ AddHandler lua-script .lua
+</FilesMatch>
</highlight>
<p>
Re: svn commit: r1576415 - /httpd/httpd/trunk/docs/manual/mod/mod_lua.xml
Posted by André Malo <nd...@perlig.de>.
On Tuesday 11 March 2014 17:43:40 rbowen@apache.org wrote:
> Author: rbowen
> Date: Tue Mar 11 16:43:39 2014
> New Revision: 1576415
>
> URL: http://svn.apache.org/r1576415
> Log:
> Ensure that .lua.foo files aren't affected
>
> Modified:
> httpd/httpd/trunk/docs/manual/mod/mod_lua.xml
>
> Modified: httpd/httpd/trunk/docs/manual/mod/mod_lua.xml
> URL:
> http://svn.apache.org/viewvc/httpd/httpd/trunk/docs/manual/mod/mod_lua.xml?
>rev=1576415&r1=1576414&r2=1576415&view=diff
> ===========================================================================
>=== --- httpd/httpd/trunk/docs/manual/mod/mod_lua.xml (original)
> +++ httpd/httpd/trunk/docs/manual/mod/mod_lua.xml Tue Mar 11 16:43:39 2014
> @@ -69,7 +69,9 @@ trust, as it can be abused to change the
> which can be used with an <code>AddHandler</code> directive:</p>
>
> <highlight language="config">
> -AddHandler lua-script .lua
> +<FilesMatch "\.lua$">
> + AddHandler lua-script .lua
> +</FilesMatch>
> </highlight>
Hmm. The following would look better to me here (untested):
<Files *.lua>
SetHandler lua-script
</Files>
YMMV, though.
nd
---------------------------------------------------------------------
To unsubscribe, e-mail: docs-unsubscribe@httpd.apache.org
For additional commands, e-mail: docs-help@httpd.apache.org