开发者

storing soft links under apache document root

can i store soft links under apache document root (/var/www/html) and keep the actual files outside the document root in an another filesytem? i have 4 filesystems in my hard disk 3 NTFS and 1 ext3 (dual operating system). my apache document root is in ext3. can i store the actua开发者_开发知识库l files in the NTFS partition and keep only soft links(or hard links) under apache document root? i tried this by making hard links to file stored in NTFS filesystem but it gave errors(the filesystem was mounted). i tried with soft links but it did not worked. can somebody tell me if its possible and how? thanks


Apache has a directive that controls whether or not it follows symlinks called FollowSymLinks. Read about it here:

http://httpd.apache.org/docs/1.3/mod/core.html#directory

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜