Hi,
On 1/11/25 3:36 PM, Eric Covener wrote:
68.195.111.42 - - [11/Jan/2025:15:10:39 -0500] "GET /http:/example.com/123/ HTTP/1.1" 404 196
r:"-" "Mozilla"
Where did the other slash go after the http:/?
MergeSlashes defaults to "on".
I've added the following to my vhost config:
MergeSlashes off
but it doesn't make a difference. What could I be doing wrong? This is
apache-2.4.69 on fedora40.
https://httpd.apache.org/docs/2.4/mod/core.html#mergeslashes
This works:
RewriteCond %{THE_REQUEST} "GET /http:/(.*) HTTP/1.1"
RewriteRule ^ https://%1 [L,R=301,NE]
dave