2

I am running an ikiwiki for my personal use on my laptop via apache2 (os: ubuntu 10.04).

If I want to make a link to a local pdf-file I put the file into my scrdir and use the usual wikilink syntax. However if I put only a symbolic link into the scrdir instead of the actual file, it doesn't work. Is there a way to make that ikiwiki handles symbolic links in this situation?

Jeff Schaller
  • 66,199
  • 35
  • 114
  • 250
student
  • 17,875
  • 31
  • 103
  • 169

2 Answers2

1

Sounds like an Apache configuration issue. Ensure you have Options+FollowSymLinks (or Options +All) set for the given directory.

manatwork
  • 30,549
  • 7
  • 101
  • 91
  • Also, make sure that the permissions for the symlink's target are such that Apache can access it. That means at the minimum that all directories up to the target must have the x-bit set. – Scott Severance Nov 04 '11 at 13:42
0

No, the ikiwiki compiling / rendering results in nothing being present in the rendered tree (destdir in ikiwiki terms), where a symlink was present in the input tree (srcdir in ikiwiki terms).

This can be confirmed easily by looking at the rendered tree in the filesystem.

It does not get as far as the Apache web server getting to see it, so no amount of Apache configuration will help.

Jeff Schaller
  • 66,199
  • 35
  • 114
  • 250
projix
  • 179
  • 6