
Originally Posted by
Twey
Since the option to follow symlinks exists in the Windows version of Apache, I presume there must be an equivalent. Perhaps making a shortcut?
I wouldn't bet on it.
Though shortcuts can be used like symlinks, it doesn't mean that Apache does.
An Apache alternative is to use the Alias directive. This maps a URL path to a directory. For example, with the directive:
Code:
Alias /images "D:/My Images"
a request for
  http://www.example.com/images/foo.jpeg
would return the file,
  D:\My Images\foo.jpeg
There are two things to note:
- The Alias directive can only be used in the server configuration file, either as a global setting, or within a virtual host section. It cannot be used in access files (.htaccess).
- It may be necessary to explicitly grant access to an aliased directory. Continuing the previous example,
Code:
<Directory "D:/My Images">
Order Allow,Deny
Allow from all
</Directory>
Mike
P.S. James, sorry for not following up to your other thread. I couldn't find it, for some reason, but it seems like you figured it out.
Bookmarks