ruven / iipsrv

iipsrv is an advanced high-performance feature-rich image server for web-based streamed viewing and zooming of ultra high-resolution images.
https://iipimage.sourceforge.io
GNU General Public License v3.0
291 stars 115 forks source link

filesystem_suffix is not followed #221

Open temotodochi opened 2 years ago

temotodochi commented 2 years ago

I'm running a game map and i've tried to clean up the urls somewhat. The base image is a pyramid tiff. However no matter what i try to put in /etc/defaults/iipsrv filesystem_suffix, it is ignored. filesystem_prefix works as intended, but does not matter much since every 404 error directed towards iipsrv reveals the whole filesystem path and i can't seem to figure out how to disable that.

ruven commented 2 years ago

FILESYSTEM_SUFFIX is a recent addition and will be included in version 1.2. For now you'll need to use the latest code from Github and compile iipsrv yourself if you need that functionality.

every 404 error directed towards iipsrv reveals the whole filesystem path

If you're using the prefixes to hide the true paths, this is indeed not ideal. I'll look into changing it so that the true paths are not sent back when an error occurs.