You might want to look at
calibre2opds to handle such a scenario? That is how I have my system set up to deliver the content from a machine that is running apache (and that is also not capable or running calibre as it happens).
In theory I think it might also be possible to make the Content server run under apache but I have no idea how easy that would be and it also means the full calibre software install needs to be inlace.