運行Drupal項目的php文件,在瀏覽器顯示The provided host name is not valid for this server.

報錯: The provided host name is not valid for this server.   原因: 在setting.php中沒有自己的IP地址配置進去,也就是白名單 解決方案: 在setting.php中將自己的IP地址配置進去   例如:'^127\.0\.0\.1$',或'^localhost$',
相關文章
相關標籤/搜索