To publish a BlackBerry (legacy) OTA app via a web server you will need the .cod files and associated .jad file. I’ll leave it up to you to do your own research on how to generate these files – if you don’t already have them then what follows will not be of use to you yet.
Once you have the files you will need to place them on your web server where they are publicly available. You will want to point users to the .jad file, either by creating your own index page or giving them the direct URL. The BlackBerry should know what to do with a .jad file and begin the app installation when the browser encounters this file.
But that’s not all. You need to configure your MIME types!