When working with apache on a unix system
If your file system has icons in / home / me / web / icons
and you want the browser to display them when calling url http://www.me.com/icons/myicon.jpg for example
then you have at least 2 solutions:
alias (Alias / icons // home / web / icons /)
symbolic links (ln -s / home / web / icons / home / me / web / www / icons)
It seems to me that using apache aliases is the best choice, since we know for sure that aliases will usually be located in the / etc / apache 2 directory (so this is just one place to view if the application is growing), but I would be happy to know What solution do you use and why?
source share