Apache httpd.conf - Allow to link to a file from one level up
Hi,
I have a situation whereby I need to allow my HTML file to open a txt file from one level up from what has been specified in DocumentRoot. DocumentRoot "/opt/Personal/html" The readme.txt file is located in /opt/Personal. And in my HTML file I put in: <a href="../readme.txt">ReadMe</a> But will not work. |
Try enabling 'FollowSymLinks' in your 'Options' and link '/opt/Personal/html/readme.txt' to '/opt/Personal/readme.txt'
|
Oh, forgot to tell you that I need to have a path that works for both Windows and Linux.
So I thinnk I can't rely on using symbolic link because this is something only available in Linux. |
All times are GMT -5. The time now is 07:58 PM. |