Hi All,

If anyone have any idea abt this, I need to block the request if host header 
value is not matched with configured one. Any suggestions will help a lot.

Thanks and Regards,
Rajendra Rathore
9922701491

From: Rathore, Rajendra
Sent: Tuesday, November 5, 2024 7:43 PM
To: users@httpd.apache.org
Subject: regression in mod rewrite rule while migrating from 2.4.59 to 2.4.62
Importance: High

Hi Team,

We are using below host header validation rule in Apache Http configuration, 
that was working fine with 2.4.59 Apache server, when we migrate to 2.4.62 
below rule is not working. It will ignore the host name validation in the 
header(modify the hostname using burp tool). Can you please suggest what wrong 
we are doing?

RewriteEngine On
RewriteCond %{HTTP_HOST} !test.test.test.com:2280$ [NC]
RewriteRule ^(.*)$ [R=301,L]

Thanks and Regards,
Rajendra Rathore
9922701491

Reply via email to