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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxx
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

 


[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux