Redirect apache2 with custom header

ساخت وبلاگ
Hi, I'm trying to redirect requests from a domain according to the value of a custom HEADER, but i can't

This is what i did

Header set testing "Test"
RewriteCond %{testing} !^$
RewriteRule ^ - [F]
Code (markup):
With CURL I get the header, but not the 403
curl --head http://domainHTTP/1.1 200 OK
Server: Apache/2.4.54 (Debian)
Vary: Accept-Encoding
testing: Test
Content-Type: text/html
Code (markup):
This same with existing HEADERS works correctly
RewriteCond %{REMOTE_ADDR} !^$...
Code (markup):
Redirect apache2 with custom header WordPress ...
ما را در سایت WordPress دنبال می کنید

برچسب : نویسنده : استخدام کار wpss بازدید : 135 تاريخ : شنبه 13 اسفند 1401 ساعت: 1:43