.htaccess - Block Blank HTTP_X_FORWARDED_FOR traffic -


is possible block traffic when http_x_forwarded_for blank/empty htaccess?

i've tried these two:

rewriteengine on rewritecond %{http:x-forwarded-for} ^.{0}$ rewriterule .* - [f] 

and

rewriteengine on rewritecond %{http:x-forwarded-for} ^$ rewriterule .* - [f] 


Comments

Popular posts from this blog

OpenCV OpenCL: Convert Mat to Bitmap in JNI Layer for Android -

android - org.xmlpull.v1.XmlPullParserException: expected: START_TAG {http://schemas.xmlsoap.org/soap/envelope/}Envelope -

python - How to remove the Xframe Options header in django? -