Apache Virtual Host in Windows - how do I deal with Symbolic links?

回眸只為那壹抹淺笑 提交于 2019-12-04 11:41:52

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.

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...

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!