RE: regression in mod rewrite rule while migrating from 2.4.59 to 2.4.62

"Rathore, Rajendra" <[email protected]>
Newsgroups gmane.comp.apache.user
Message-ID <BY3PR17MB539504B0F59315A136D46EA0B6532@BY3PR17MB5395.namprd17.prod.outlook.com>
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: [email protected]
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.