Howdy,

So, I only need this for internal usage for hosting some info and files. What I want is something that sets up and is ready fairly easily, done via GUI, and I want something that’s stupid easy to configure. For example, I want if I make a subdirectory under the defined web root, then the server should recognize that, and if the browser points to a directory that contains no index, then it should simply provide a file list.

I can deal with a little configuration etc. but it’s never going to do more than extremely rudimentary response and providing files. I’m on Kubuntu.

Thanks.

  • 7EP6vuI@feddit.org
    link
    fedilink
    English
    arrow-up
    18
    ·
    5 days ago

    no gui, but still super simple and enough for local testing:

    • open a terminal
    • cd folder/you/want/to/serve/from
    • python -m http.server -b 127.0.0.1

    open browser surf to http://127.0.0.1:8000/

  • Shdwdrgn@mander.xyz
    link
    fedilink
    English
    arrow-up
    2
    ·
    5 days ago

    sudo apt install apache2

    Did you really need a GUI for that? The web folders are under /var/www/ and you can browse to it from another computer by typing the IP into the address bar. As long as you’re not using Chrome you might even be able to type the computer name into the address bar.

    • AndrewZabar@lemmy.worldOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      5 days ago

      If that’s the case then I probably don’t need gui but I would prefer to be able to put files wherever I want. Like if I want the web root to be somewhere other than /var/www/ that’s actually not really gonna work for me.

      • Shdwdrgn@mander.xyz
        link
        fedilink
        English
        arrow-up
        1
        arrow-down
        1
        ·
        5 days ago

        What’s your fear of editing config files? They’re just text files, and manual edits certainly allow a degree of customization that you’ll never find in a GUI interface. My own config is set up with domain name folders under /home/ to contain the many domains I run, that’s something I’ve never seen handled by a GUI and yet it makes so much more sense for keeping files organized.

        • AndrewZabar@lemmy.worldOP
          link
          fedilink
          English
          arrow-up
          1
          ·
          5 days ago

          I have no fear the way it was stated seemed to imply that’s where the root had to point. Glad it’s not the case. Seemed odd to say the least but it was referenced absolutely so that’s what I thought. Not a problem.

  • bloodfart@lemmy.ml
    link
    fedilink
    arrow-up
    1
    ·
    5 days ago

    Someone already said “they all already work that way”,

    But what are you actually trying to do?

  • orca@orcas.enjoying.yachts
    link
    fedilink
    arrow-up
    1
    ·
    edit-2
    5 days ago

    Not sure if this is a perfect fit, but I use http-server when I need to spin up something super rudimentary that works out of box.

    Edit: sorry, no UI for that one, but the commands for it are pretty simple to understand. You could try something like XAMPP instead. Portainer is nice for spinning stuff up quickly, but it has a slightly steeper learning curve.

    I should note that you can run this in any folder you want to serve files from.