Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!


Make something public
New on LowEndTalk? Please Register and read our Community Rules.

All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.

Make something public

StacyStacy Member
edited November 2014 in Help

Hi.

I was wondering if someone could point me in the right direction for how to make the contents of

/home/downloads

availliable via http.

So that if someone would go to

bob.com/downloads

and it would show me everything inside the folder /home/downloads

The OS is Centos 6 64 bit

Comments

  • Which webserver are you using?

  • @hostnoob said:
    Which webserver are you using?

    apache (yum install httpd -y)

  • perennateperennate Member, Host Rep

    If you already have web root directory serving bob.com/, then you could symlink it (ln -s /home/downloads /var/www/downloads)

    Thanked by 1Stacy
  • Just add this to your httpd.conf file and restart apache

    Alias /downloads /home/downloads

    I don't use Apache but that should work.

    Thanked by 2perennate ATHK
  • @perennate said:
    If you already have web root directory serving bob.com/, then you could symlink it (ln -s /home/downloads /var/www/downloads)

    Worked. Thank you!

Sign In or Register to comment.