Define servername with the ip if necessary and do not use RewriteRules
which use %{HTTP_HOST} variable, specify your ip/host manually in the
rewrite.El vie, 27 ago 2021 a las 10:42, alchemist vk (<[email protected]>) escribió: > > Hi All, > I am running Apache 2.4.46 and below is the problem statement. > system IP: 10.10.10.10 > Client IP: 10.10.10.20 > > When I make a request like curl -vk 'https://10.10.10.10' -H "Host: > badsite.com", its redirecting to "https://badsite.com/start.html", instead of > redirecting to "https://10.101.10.10/start.html". > Server is not configured with any domain names, so I cant use ServerName and > UseCanonicalName directives to address the issue properly. > > Pls help me, how to check the Host header to listening address and take > corrective action. > > -- Daniel Ferradal HTTPD Project #httpd help at Libera.Chat --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
