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

    Apache

    Scheduled Pinned Locked Moved General pfSense Questions
    4 Posts 2 Posters 1.6k 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.
    • L
      Lectrician
      last edited by

      Simple question I guess  ;D

      Is it possible to install apache on the same machine as Pfsense, and with it Perl too?  for a couple very basic websites.

      1 Reply Last reply Reply Quote 0
      • C
        cmb
        last edited by

        Yes (pkg_add), but I would never, ever do so. Websites are so commonly hacked, you don't want your firewall getting owned in the process.

        1 Reply Last reply Reply Quote 0
        • L
          Lectrician
          last edited by

          It would only be an internal website, and the firewall is only used for the captive portal really!

          Thanks.

          Pfsense obviously serves a few pages, and you can add a limited amount of PHP files.  Can you actually use PHP to write files directly with Pfsense though?  If I could do that I may not need to install apache.

          1 Reply Last reply Reply Quote 0
          • L
            Lectrician
            last edited by

            Having installed Squid & Lightsquid, I can see that light squid uses some Perl PL/CGI scripts and serves pages. like 192.168.1.1/lightsquid/index.cgi

            How does this serve these web pages?  I know I can add web pages to the captive-portal area, but is there someway for me to add some custom pages like lightsquid does?  I cannot see anywhere in the fils system how to do this (using the file browser package).

            Thanks alot.

            edit

            Ah, ok, seems I can add things here: /usr/local/www/

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