mapserver/mapcache — pull request #27 by tomhel (2012-05-08 21:33:53+00:00)
Title: add support for relative symlinks to blank tiles in mapcache

currently symlinks to blank tiles are absolute. If the disk mountpoint changes all these links will be invalid. this pull request adds support for relative symlinks, and makes it a configurable option by adding the attribute linking to the `````` tag. Valid values are relative and absolute, the attribute is optional and defaults to absolute.
```xml

/path/to/cache

```

might be good to keep it configurable, relative symlink support might differ between filesystems (just a guess...)

the char buffer created for the relative path is 255 chars at the moment. if the resulting relative path is longer it will return with error. Should be more than enough i think, the path will mostly consist of a bunch of concatenated ```../```