如何识别哪个配置文件在访问服务器上添加了www

I have server with IP and when i try to access that with http://ip_address , some config file adding www and my entered url converted to https://www.ip_address. Apache is installed on server. htaccess file doesn't have anything so which else file i need to check ?

评论
siusto
siusto

可能是以下任何一种: -将所有请求重定向到www的DNS记录。 -将请求重定向到www的Apache配置(不仅仅是.htaccess)。 -应用程序中正在执行重定向的某些逻辑。

点赞
评论