Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    Apache

    Scheduled Pinned Locked Moved General pfSense Questions
    4 Posts 2 Posters 1.9k 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

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post
            Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
            Privacy Policy · Cookie Policy