Jump to content

Recommended Posts

Hello eveyone, hopefully someone can help me because I am all spun out.  Let me start off by saying I am moderate to the Linux World. Not a newbie but by no means am I fully understanding. In additon, sorry for the long post.

I have installed a LAMP Server using Ubuntu Server.  This is my first server by the way.  I am serving quite a few things. I know thats not the best idea, but I really just want to learn/practice, no extra cash. 

*** I have Samba setup and working. I want to host a directory online with a Login screen pretty much just music movies etcetc for family and friends. Like I said  practice. Should I be using apache to do this or is there something else I could use in the mean time while I am trying to figure out apache and actually build a site. Or can I just change the Document Root in apache.conf to the directory I want to share. 

Link to comment
https://forums.phpfreaks.com/topic/174824-how-do-i-host-a-directory-online/
Share on other sites

There's a million different ways to do what you want to do.

 

 

Personally I would use a PHP script as a sort of gateway to the files.  A script can control access a bit better than Apache can, but it really depends on how detailed you want to allow it to get, or if you want something besides just plain directory listing or a static file list page.

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.