Skip to content
  • Categories
  • Recent
  • Popular
Collapse
Brand Logo
  1. Home
  2. Categories
  3. Sujets Techniques
  4. url "localhost" dans les mails

url "localhost" dans les mails

Scheduled Pinned Locked Moved Sujets Techniques
4 Posts 2 Posters 148 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • J Offline
    J Offline
    jsuhm
    wrote on last edited by
    #1

    Bonjour,
    Dans les mails reçus, tous les liens commencent par https://localhost/... (y compris pour les images).
    Il doit falloir spécifier l'url de mon serveur quelque part ... mais où ?

    1 Reply Last reply
    0
    • avanhoveA Offline
      avanhoveA Offline
      avanhove
      ADMIN DEV
      wrote on last edited by
      #2

      Bonjour @jsuhm
      En effet l'adresse qui apparait est bien localhost.
      Un correctif est déjà programmé et sera déployé dans une version future.

      Merci de votre compréhension.

      VANHOVE Alexis - Developer IT at CEO-Vision

      1 Reply Last reply
      0
      • J Offline
        J Offline
        jsuhm
        wrote on last edited by
        #3

        Merci pour ce retour.
        J'ai la v3.7.1, puis-je corriger à la main dans CenOS (mais où) ? relancer l'installeur ? dois-je attendre un mise à jour ?

        1 Reply Last reply
        0
        • avanhoveA Offline
          avanhoveA Offline
          avanhove
          ADMIN DEV
          wrote on last edited by
          #4

          Bonjour @jsuhm,

          Oui c'est bien dans le serveur qu'il faut effectuer une modification.
          Dans /var/www/d7/sites/default/settings.php, cherchez cette section:

          /**
           * Base URL (optional).
           *
           * If Drupal is generating incorrect URLs on your site, which could
           * be in HTML headers (links to CSS and JS files) or visible links on pages
           * (such as in menus), uncomment the Base URL statement below (remove the
           * leading hash sign) and fill in the absolute URL to your Drupal installation.
           *
           * You might also want to force users to use a given domain.
           * See the .htaccess file for more information.
           *
           * Examples:
           *   $base_url = 'http://www.example.com';
           *   $base_url = 'http://www.example.com:8888';
           *   $base_url = 'http://www.example.com/drupal';
           *   $base_url = 'https://www.example.com:8888/drupal';
           *
           * It is not allowed to have a trailing slash; Drupal will add it
           * for you.
           */
          $base_url = $_SERVER['SERVER_NAME']; $conf['base_url'] = $base_url; 
          

          Remplacez $_SERVER['SERVER_NAME']par votre URL (ex : https://gofast.community.fr)

          J'espère que ça résoudra votre problème en attendant un futur patch.

          VANHOVE Alexis - Developer IT at CEO-Vision

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Search
          • First post
            Last post
          0
          • Categories
          • Recent
          • Popular
          • Search