Forum Moderators: coopster
However, if I open the same html file by using a localhost path, so that the html is served by Apache, clicking on the hyperlink has no effect.
It appears that Apache can resolve the file link, but it chooses not to, presumably for security reasons.
Is there any way to override this, and allow hyperlinks to files outside the doc. root?
I am aware of the alias command, but this is not quite what I want. I want to be able to issue a general directive saying that referencing any file on the system is OK. The application will only run locally, so I don't have security concerns.
But, if you're using Linux, try making a symbolic link pointing from inside the document root to outside. There is a directive allowing Apache to follow symlinks.
I have this in my httpd.conf:
<Directory />
Options FollowSymLinks ExecCGI Includes
AllowOverride All
</Directory>