I have a project setup and i\'m trying to access a file from a temp folder on the server.
The document root for the website is similar to this:
/a/b/c/d/e/f/
You can create a directory alias:
<VirtualHost....>
..... stuff .....
Alias /mydir /a/b/c
</VirtualHost>
then you could access the text file like so:
domain.com/mydir/myfile.txt
Note that this needs to take place in the central configuration file, not a .htaccess
file.
Symlinks are an option too. Make sure you have
Options +FollowSymlinks
turned on.