httpd-docs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Malo ...@perlig.de>
Subject Re: svn commit: r1576415 - /httpd/httpd/trunk/docs/manual/mod/mod_lua.xml
Date Tue, 11 Mar 2014 16:57:49 GMT
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
> +&lt;FilesMatch "\.lua$"&gt;
> +    AddHandler lua-script .lua
> +&lt;/FilesMatch&gt;
>  </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


Mime
View raw message