You are not logged in.

#1 2009-08-14 07:01:10

matthewbauer
Member
From: /usa/ks
Registered: 2009-07-20
Posts: 86

SOLVED: Lighttpd, Directory Listings, and Symbolic Link problem

Every time I try to open a symbolic link directory on my lighttpd server it sends a 403 - Forbidden message.

The permission of my /srv/http/ directory are:

lrwxrwxrwx  1 http http   20 2009-08-13 10:56 Backup -> /home/matthew/Backup
lrwxrwxrwx  1 http http   20 2009-08-13 10:56 Cheats -> /home/matthew/Cheats
lrwxrwxrwx  1 http http   23 2009-08-13 10:56 Documents -> /home/matthew/Documents
lrwxrwxrwx  1 http http   23 2009-08-13 10:56 Downloads -> /home/matthew/Downloads
lrwxrwxrwx  1 http http   19 2009-08-13 10:56 Music -> /home/matthew/Music
lrwxrwxrwx  1 http http   20 2009-08-13 10:56 Photos -> /home/matthew/Photos
lrwxrwxrwx  1 http http   22 2009-08-13 10:56 Pictures -> /home/matthew/Pictures
lrwxrwxrwx  1 http http   23 2009-08-13 10:56 Playlists -> /home/matthew/Playlists
lrwxrwxrwx  1 http http   22 2009-08-13 10:56 Projects -> /home/matthew/Projects
lrwxrwxrwx  1 http http   18 2009-08-13 10:56 Roms -> /home/matthew/Roms
lrwxrwxrwx  1 http http   21 2009-08-13 10:56 Scripts -> /home/matthew/Scripts
lrwxrwxrwx  1 http http   18 2009-08-13 10:56 Sims -> /home/matthew/Sims
lrwxrwxrwx  1 http http   22 2009-08-13 10:56 Torrents -> /home/matthew/Torrents
lrwxrwxrwx  1 http http   20 2009-08-13 10:56 Videos -> /home/matthew/Videos
lrwxrwxrwx  1 http http   17 2009-08-13 10:56 dev -> /home/matthew/dev
drwsr-sr-x 15 http http 4096 2009-08-09 23:33 mediawiki

Also it does not list the symbolic links in the directory listing.

I have server.follow-symlink = "enable" in my /etc/lighttpd/lighttpd.conf directory. So what else do I need to change?

EDIT: I fixed it with: sudo chmod o+x /home/username

Last edited by matthewbauer (2009-08-15 20:33:12)


Libertarian Arch Linux User

Offline

#2 2009-08-14 20:26:47

djszapi
Member
From: Cambridge, United Kingdom
Registered: 2009-06-14
Posts: 1,439
Website

Re: SOLVED: Lighttpd, Directory Listings, and Symbolic Link problem

Hello matthewbauer!

You can change the thread to solved too, not in just the post.

Offline

Board footer

Powered by FluxBB