I'm trying to run a virtual host on a WAPP stack. My virtual host has the FollowSymLinks
option, but in Windows, all those symbolic links (I'm using shortcuts, and I think this may be the problem) have the .lnk
extension. So if I'm trying to access settings.html
, Apache can't find it because all i have sitting there is settings.html.lnk
. Apologies if my question is unclear.
A symbolic link is a file-system object that points to another file system object. The object being pointed to is called the target. Symbolic links are transparent to users; the links appear as normal files or directories, and can be acted upon by the user or application in exactly the same manner.
Essentially, a symbolic link is a form of a soft link. It is a file that can link to another file or a directory by using its path. This acts as a representation or reference to the file or directory. Soft links can link to any file or directory on any computer, not just the one the link is being created on.
You can view a list of symbolic links by running a command in Command Prompt. Open Command Prompt by clicking the Search icon in the Windows taskbar, typing “Command Prompt” in the Search box, and then clicking “Command Prompt” in the search results.
Remote to remote symbolic links are enabled. If you also need to enable remote to local link evaluation, you can substitute R2R:1 with R2L:1 in the set behavior command.
Apache doesn't understand shortcuts. You need to use a proper symlink. On windows this is accomplished using the command line tool mklink
. See http://ipggi.wordpress.com/2009/09/07/windows-file-junctions-symbolic-links-and-hard-links/ for more details.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With