Thread:Project:Support desk/Unable to upload vbs code - ERROR:"No data received"/reply

Hi!

Yes, you have to add vbs to $wgFileExtensions as by default you won't be able to upload files with this extension otherwise. The blacklist array $wgFileBlacklist overwrites what you have set in $wgFileExtensions, so it's also correct to remove vbs there. Note however that allowing people to upload text files is a security risk for you and your users. Do so only, if you really trust them.

Another aspect might be $wgMimeTypeBlacklist, which will still disallow certain files because of their mime type.However, I am not sure, if your error ERR_EMPTY_RESPONSE is caused by that; if the mime type check failed, users normally do instead get a message displayed, that mime type xyz would not be allowed...