Link to home
Start Free TrialLog in
Avatar of Frosty555
Frosty555Flag for Canada

asked on

configure apache to include mounted folder in linux

I have a linux box which is running apache / php. When I browse the machine http://123.123.123.123, the apache root folder is the /var/www/html folder. That works fine.

I have a bunch of files in the "/mnt/sdb1" folder which is a partition on another hard drive in the computer. I'd like to expose this folder on the web so I can go http://123.123.123.123/record/aaaa.zip in order to download /mnt/sdb1/aaaa.zip from my linux box.

How do I configure apache to do that?
ASKER CERTIFIED SOLUTION
Avatar of tokyoahead
tokyoahead

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial

ln -s /var/www/html/record/ /mnt/sdb1/

Open in new window