Mailing List Archive

[Bug 65680] New: Incorrect rewriting URL
https://bz.apache.org/bugzilla/show_bug.cgi?id=65680

Bug ID: 65680
Summary: Incorrect rewriting URL
Product: Apache httpd-2
Version: 2.4.51
Hardware: PC
OS: Linux
Status: NEW
Severity: major
Priority: P2
Component: mod_rewrite
Assignee: bugs@httpd.apache.org
Reporter: jaroslav.zeman13@gmail.com
Target Milestone: ---

Hi

I have this rewriting rules (Ubuntu 20.04.3 LTS, under WLS 2 Windows 10):

Options -Indexes

RewriteEngine On
RewriteCond %{REQUEST_FILENAME} -s [OR]
RewriteCond %{REQUEST_FILENAME} -l [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [NC,L]
RewriteRule ^.*$ index.php [NC,L]

I am testing my rules for this URL:
http://localhost/admin/price/export-price-list/Type/1/UserIDs/[]/ShopIDs/[]/GroupIDs/[]/FileName/2021-11-12_JZ_/Condition//
on this wwww page https://htaccess.madewithlove.be/

I am get output this correct URL:
http://localhost/index.php

The same output I am get in server version 2.4.10.
But in my version not. Output URL is the asame as URL input.

Where is problem?

Jaroslav

--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org