Howdy, Stranger!

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


Shells Virtual Desktop
BMail.ag - Secure Email Service
Server.net
CPLicense.net
VPS Server
Buy VPN
Vultr
VMs for AI
HostDare
HostDare
ReliableSite White-Label Dedicated Hosting for Resellers
InterServer VPS
BMail.ag - Secure Email Service
Best VPN
High-Performance Bare Metal Server Solutions
Karvl.com
Server Mania Cloud Hosting
DataWagon Hosting
AlphaVPS Hosting
Evoxt.com
Clouvider
VPS Hosting with NVMe
Residential IPs in the US & 4G Mobile Proxies in EU & US with Unlimited Bandwidth
ReliableSite White-Label Dedicated Hosting for Resellers
Rabisu - Hosting Solutions
Shells Virtual Desktop
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.