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.
All new Registrations are manually reviewed and approved, so a short delay after registration may occur before your account becomes active.
Make something public
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?
apache (yum install httpd -y)
If you already have web root directory serving bob.com/, then you could symlink it (ln -s /home/downloads /var/www/downloads)
Just add this to your httpd.conf file and restart apache
Alias /downloads /home/downloads
I don't use Apache but that should work.
Worked. Thank you!