I have a server hosted on one directory (in Unix) and my gallery folder is on another directory outside of my web directory. In apache2 terms, my DocumentRoot is /home/harisund/website and my gallery is in /home/harisund/photos. I have an alias /pics/ which points to /home/harisund/photos/ in the apache configuration file.
So what should I have in my .htaccess file? How do I convey the fact that it is an alias and not a direct directory?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have a server hosted on one directory (in Unix) and my gallery folder is on another directory outside of my web directory. In apache2 terms, my DocumentRoot is /home/harisund/website and my gallery is in /home/harisund/photos. I have an alias /pics/ which points to /home/harisund/photos/ in the apache configuration file.
So what should I have in my .htaccess file? How do I convey the fact that it is an alias and not a direct directory?