Re: [PATCH v7 1/3] tests: Adjust the configuration for Apache 2.2
Johannes Schindelin <johannes.schindelin@gmx.de> writes:
Show 7 quoted lines
> +# Apache 2.2 does not understand <RequireAll>, so we use RewriteCond.
> +# And as RewriteCond unfortunately lacks "not equal" matching, we use this
> +# ugly trick to fail *unless* the two headers are present.
> +RewriteCond %{HTTP:x-magic-one} =abra
> +RewriteCond %{HTTP:x-magic-two} =cadabra
> +RewriteRule ^/smart_headers/.* - [L]
> +RewriteRule ^/smart_headers/.* - [F]Clever. Thanks. Will queue.