I set the
$basedir="/srv/www/mine";
$basevirtualdir="/mine";
/srv/www is the root dir of my server, the directory 'mine'
is the test directory where I wanted to get this cool
thing to work.
But all Links look like '/mine/file.ext' regardless in which
directory it is. IMHO there is the directory info missing on
line 1657 of the code (version 0.4b14).
if ($filelinks) {
if ($basevirtualdir == "") {
echo "<a href=".str_replace("%2F", "/",
rawurlencode(extractSubdir($file["path"])));
} else {
echo "<a
href=".$basevirtualdir."/".rawurlencode($file["name"]);
}
Thanks for this nice tool and don't blame me if all is
correct and I configured it wrong ;)