Best way to reference external files through my webapp
posted 5 years ago
i am looking for possible ways to store image archive. i have huge photo content and i am planning to have symbolic link between my webapp folder to the archive directory
my webroot has a folder archive which is linked to other directory which is a very conventional practice.
hence if someone type www.mywebsite.com/images/archive/test.jpg where archive is symlink to a folder in my home directory ~/archive/test.jpg
is this the best way or do someone has some other cleaner way of doing this.