Navigation

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

    Password protect lighttpd

    pfSense Packages
    2
    5
    2454
    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.
    • M
      marcel last edited by

      Hi ???

      i have protected lighttpd like described in post: http://forum.pfsense.org/index.php/topic,6286.0.html
      But my problem is when i reboot pfsense it restores the /var/etc/lighty-webConfigurator.conf file.

      how can i stop this and it doesn't restore too default or change the default?

      Thnx

      1 Reply Last reply Reply Quote 0
      • S
        sullrich last edited by

        Modify /etc/inc/system.inc

        1 Reply Last reply Reply Quote 0
        • M
          marcel last edited by

          Thnx i'm gonna try it out!

          1 Reply Last reply Reply Quote 0
          • M
            marcel last edited by

            It works only i think i didn't make it work on the correct way…

            In the file:
            /etc/inc/system.inc

            I adjusted this bit:
            …
            /* generate lighttpd configuration /
            system_generate_lighty_config("{$g['varetc_path']}/lighty-webConfigurator.conf",
            $cert, $key, "lighty-webConfigurator.pid", $portarg, "/usr/local/www/");
            …
            in to:
            …
            /
            generate lighttpd configuration */
            system_generate_lighty_config("{$g['varetc_path']}/lighty-webConfigurator1.conf",
            $cert, $key, "lighty-webConfigurator.pid", $portarg, "/usr/local/www/");
            …

            on this way it doesn't adjust the lighty-webConfigurator.conf and it stays like it should…
            but where does it get his change?
            Somewhere has to be the standard lighty-webConfigurator1.conf file so it can recover this?

            1 Reply Last reply Reply Quote 0
            • S
              sullrich last edited by

              system.inc …

              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