Show symbolic links AND their targets in web directory listing (apache)

Posted by Erwan Queffélec on Server Fault See other posts from Server Fault or by Erwan Queffélec
Published on 2012-12-12T09:40:29Z Indexed on 2012/12/12 11:07 UTC
Read the original article Hit count: 287

Filed under:
|
|

Listing a directory content with ls -l shows this output:

total 12
drwxr-xr-x 3 root root 4096 Dec 11 16:38 2.3
drwxr-xr-x 5 root root 4096 Dec 11 16:38 2.4
drwxr-xr-x 2 root root 4096 Dec 11 16:38 archive
lrwxrwxrwx 1 root root   10 Dec 11 16:38 current -> 2.4/2.4.1/
lrwxrwxrwx 1 root root   10 Dec 11 16:38 next -> 2.4/2.4.2/
lrwxrwxrwx 1 root root   10 Dec 11 16:38 previous -> 2.4/2.4.0/

Notice how it shows the symbolic links and their respective targets.

I need to know if there is a way of getting the same behaviour in apache directory browsing.

If apache is not capable of it as I suspect, is there an application (FLOSS) providing that kind of behaviour ?

© Server Fault or respective owner

Related posts about linux

Related posts about apache2