Quick hack. Replace that line if($entry != '.' && $entry != '..' && $entry != '.svn') { with if(!in_array($entry, $excludefiles)) {
I checked the code of importfs.php again and realized that --exclude isn't used at all. I'll see if I can fix that, but it will probably take some time.
--exclude='.exe' excludes a file named '.exe' but not a file named e.g. 'test.exe' the exclude parameter sets a name not an extension. .svn and .gitignore are file/folder names.
--exclude is for excluding single files. You need to pass --exclude for each file you want to exclude. --exlude=INSTALLFILE --exclude='anotherfile' It does not understand wildcards
Looks ok.
Does your apache configuratin misses a FollowSymLinks ?
Did you check if /var/www/vhosts/laways.africa/httpdocs/base-documentation/www/languages/ exists on the command line? If it doesn't exists, then something is wrong with your installation. It may help to post the output of tree /var/www/vhosts/laways.africa/httpdocs/base-documentation
That pretty much looks like an erroneous installation. https://www.seeddms.org/posts/folder_structure/ may help to check if the installation is correct.