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

    Debug lighthttpd?

    Scheduled Pinned Locked Moved webGUI
    3 Posts 2 Posters 4.8k Views
    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.
    • perikoP
      periko
      last edited by

      Running 2.0.3, we are building a app for pfsense, but need to turn on debug for lighthttpd because is a php app and we need to see what is doing, I see some debug settings
      in at

      /var/etc/lighty-webConfigurator.conf

      .

      This are the settings?

      enable debugging

      debug.log-request-header  = "disable"
      debug.log-response-header  = "disable"
      debug.log-request-handling = "disable"
      debug.log-file-not-found  = "disable"

      if they are the right one, how can I turn on? because if I change the file they return to the default settings, how can I manage this?

      Thanks.

      Necesitan Soporte de Pfsense en México?/Need Pfsense Support in Mexico?
      www.bajaopensolutions.com
      https://www.facebook.com/BajaOpenSolutions
      Quieres aprender PfSense, visita mi canal de youtube:
      https://www.youtube.com/c/PedroMorenoBOS

      1 Reply Last reply Reply Quote 0
      • D
        dhatz
        last edited by

        I'm not sure what you want, but if you're trying to permanently change the settings in /var/etc/lighty-webConfigurator.conf and pfSense over-writes it, you should edit /etc/inc/system.inc instead.

        (Note: the debug.log-* directives start around line 1075 of /etc/inc/system.inc on my 2.1-RC1 system)

        1 Reply Last reply Reply Quote 0
        • perikoP
          periko
          last edited by

          We are working on a project with pfsense-php, but we want to see debug info from lighthttp, because is the web server under pfsense, maybe this could help us fix issue with our app.
          Apache logs help a lot, but we have never work with this web server.
          Is all, thanks for your input we will check that file, if u have more tips that could help us we will appreciate, thanks again.

          Necesitan Soporte de Pfsense en México?/Need Pfsense Support in Mexico?
          www.bajaopensolutions.com
          https://www.facebook.com/BajaOpenSolutions
          Quieres aprender PfSense, visita mi canal de youtube:
          https://www.youtube.com/c/PedroMorenoBOS

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.