Navigation

    Netgate Discussion Forum
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    Hostname as title on login page?

    webGUI
    2
    3
    707
    Loading More Posts
    • 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.
    • N
      Nsixtyfour last edited by

      Is it possible to have the hostname in the title of the main login page? I don't know php and couldn't figure it out myself, but I noticed all pages have

      ['system']['hostname'] . "." . $config['system']['domain'] . " - " . $pagetitle
      

      except the main login page.

      1 Reply Last reply Reply Quote 0
      • P
        phil.davis last edited by

        It is possible with code like this, for example: https://github.com/phil-davis/pfsense/commit/5f93be127c0296a77c057a302389ec0d4fecf063
        But not everyone would want that - for security/privacy many people will not want to display the host name to just anybody who brings up the login page.
        So it would have to be an option to switch on from System->Advanced, Miscellaneous somewhere.

        1 Reply Last reply Reply Quote 0
        • N
          Nsixtyfour last edited by

          I actually meant as the <title>so it shows up in the text on the browser tab, but you provided enough info for me that I was able to get it working.<br /><br />I understand not everybody would want that and an option would be best. This is just for my home use so it's not really a concern for me and this makes things easier.<br /><br />Anyways thank you for your help, it was exactly what I needed.</title>

          1 Reply Last reply Reply Quote 0
          • First post
            Last post

          Products

          • Platform Overview
          • TNSR
          • pfSense Plus
          • Appliances

          Services

          • Training
          • Professional Services

          Support

          • Subscription Plans
          • Contact Support
          • Product Lifecycle
          • Documentation

          News

          • Media Coverage
          • Press
          • Events

          Resources

          • Blog
          • FAQ
          • Find a Partner
          • Resource Library
          • Security Information

          Company

          • About Us
          • Careers
          • Partners
          • Contact Us
          • Legal
          Our Mission

          We provide leading-edge network security at a fair price - regardless of organizational size or network sophistication. We believe that an open-source security model offers disruptive pricing along with the agility required to quickly address emerging threats.

          Subscribe to our Newsletter

          Product information, software announcements, and special offers. See our newsletter archive to sign up for future newsletters and to read past announcements.

          © 2021 Rubicon Communications, LLC | Privacy Policy