Jump to content


Photo

Drupal Trusted Host Settings Error


  • Please log in to reply
2 replies to this topic

#1 saadedd

saadedd

    Rank I Member

  • Members
  • Pip
  • 18 posts

Posted 18 June 2019 - 06:04 PM

Errors found TRUSTED HOST SETTINGS
Not enabled
The trusted_host_patterns setting is not configured in settings.php. This can lead to security vulnerabilities. It is highly recommended that you configure this. See Protecting against HTTP HOST Header attacks for more information.

Hi I'm just starting a drupal website and I've encountered the error above out of nowhere



#2 Luigi123

Luigi123

    Rank X Member

  • Moderators
  • 1,759 posts
  • Gender:Male
  • Location:Winnipeg, Manitoba, Canada

Posted 18 June 2019 - 09:14 PM

Moved to “Customer Service”.
Posted ImagePosted ImagePosted Image
Posted ImagePosted ImagePosted Image

#3 Krydos

Krydos

    Rank X Member

  • Root Admin
  • 18,418 posts
  • Gender:Male

Posted 21 June 2019 - 08:50 PM

You probably just need to edit settings.php and add your domain as a "trusted host". Let us know if you need help with that.




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users