Wordpress 为什么添加服务器别名失败?
我使用apache,我的网站有一个服务器名“yueai”,我想添加一个服务器别名“192.168.1.154”。但它在一些broswers上不起作用,在chrome上显示以下错误: Font from origin 'http://yueai' has been blocked from loading by Cross-Origin Resource Sharing policy: No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://192.168.1.154' is therefore not allowed access. 来自“源”的字体http://yueai'已被跨源资源阻止加载 共享策略:请求的资源上不存在“Access Control Allow Origin”标头。 起源'http://192.168.1.154因此,不允许访问。Wordpress 为什么添加服务器别名失败?,wordpress,apache,Wordpress,Apache,我使用apache,我的网站有一个服务器名“yueai”,我想添加一个服务器别名“192.168.1.154”。但它在一些broswers上不起作用,在chrome上显示以下错误: Font from origin 'http://yueai' has been blocked from loading by Cross-Origin Resource Sharing policy: No 'Access-Control-Allow-Origin' header is present on t
此错误与ServerAlias无关,您遇到了CORS问题:另请查看此问题: