Bug 64985 - RewriteRule doesn't support relative URIs starting with //
Summary: RewriteRule doesn't support relative URIs starting with //
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_rewrite (show other bugs)
Version: 2.5-HEAD
Hardware: All Linux
: P2 minor (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-12-14 17:22 UTC by ByteEater
Modified: 2020-12-14 17:24 UTC (History)
1 user (show)



Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ByteEater 2020-12-14 17:22:58 UTC
When I try using rules like
RewriteRule .* //domain
they don't work and I get 403 Forbidden instead. But if I write http: or https: before the double slash, it does the expected redirections.