Bug 65680 - Incorrect rewriting URL
Summary: Incorrect rewriting URL
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_rewrite (show other bugs)
Version: 2.4.51
Hardware: PC Linux
: P2 major (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-11-13 06:36 UTC by Jaroslav Zeman
Modified: 2021-11-13 06:36 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jaroslav Zeman 2021-11-13 06:36:14 UTC
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