On Tue, Mar 21, 2023 at 01:15:08PM +0300, alex wrote:
RewriteRule ^test\.php$ https://www.test.com/? [R=301,L]
After upgrading to the 2.4.56-1
Result
test.com/test.php 301 > https://www.test.com/%3f
�������������, ����� ���������� apache2 � bullseye ����� �������� ���� ������������ �������������� ����
� ����� URL. �� ���� � ������� �������, � ������ apache2 (2.4.54-1~deb11u1) ���� ������� ������ �������:
| curl -v
http://localhost:1289/test.php
| * Connected to localhost (::1) port 1289 (#0)
| > GET /test.php HTTP/1.1
| [...]
| >
| < HTTP/1.1 301 Moved Permanently
| < Server: Apache/2.4.54 (Debian)
| < Location:
http://example.com/
| ^^^
�.�. ����� ������ ������ ���� ������. � ���� �� ������������� ��� �������� ���������� URL �� ������ ������,
�� ������ �������� ���� QSD (
https://httpd.apache.org/docs/2.4/rewrite/flags.html#flag_qsd):
RewriteRule ^test\.php$
https://www.test.com/ [R=301,L,QSD]
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)