Reputation: 316
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.
Upvotes: 5
Views: 12089
Reputation: 247
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.
Upvotes: 12
Reputation: 599
For security reasons, symlinks aren't followed by default on Apache.
Better than enable it in the config file with "Options FollowSymLinks" you should use
http://httpd.apache.org/docs/current/urlmapping.html#outside
That's not exactly the answer you expected but may help...
Upvotes: 1