How to get Apache to follow symlink instead of downloading it?
        Posted  
        
            by 
                user792445
            
        on Super User
        
        See other posts from Super User
        
            or by user792445
        
        
        
        Published on 2012-10-20T18:25:42Z
        Indexed on 
            2012/10/20
            23:06 UTC
        
        
        Read the original article
        Hit count: 248
        
apache
I am just using the standard apache config file which mentions that it follows symlinks, but when I hit the url http://localhost/test it downloads the symlink file instead of following it.  What config do I need to change to get apache to follow the symlink instead of downloading it?
This is an ls on the directory:
$ ls -al
total 10
drwx------+ 1 SYSTEM  SYSTEM  0 Oct 20 10:55 .
drwx------+ 1 SYSTEM  SYSTEM  0 Aug 26 12:27 ..
-rw-r--r--+ 1 me None   47 Oct 20 10:14 index.html
lrwxrwxrwx  1 me None   29 Oct 19 17:10 test -> /home/me/projects/test
This is in my apache config file:
<Directory "D:/Program Files (x86)/Apache Software Foundation/Apache2.2/htdocs">
    Options Indexes FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory>
© Super User or respective owner