Opening a file located on a different drive

I’m running an Apache web server and have a folder on a different drive containing several thousand pdf files. I can link to and open the files when the calling page isn’t run from the web server but when the calling page is run from the webserver I get no response. How do I link to these external files when the calling page is running from the webserver?

I tried the following link but get no response:

<a href=“file:///D|/2010-200.pdf” target=“_blank” >test</a>

One thing you can do is create a junction point somewhere in your document root pointing at the location of these external resources.

This utility can help you: Junction

You will also need to make sure your apache configuration allows following symbolic links.

To do this, in your apache configuration look for this:
<Directory />
Options FollowSymLinks
AllowOverride None
Order deny,allow
Deny from all

Make sure Options FollowSymLinks is set. That’s all it should take!

Thanks, I’ll try this and let you know how it goes. I have to clear the junction points with the IT guy first.
Question - Would only junction points work or would setting up directory symbolic links also work?

I’m not sure, it’s worth a try.