Quote:
Originally Posted by Joe McPlumber
I want to have my library available all the time, and since i already have Apache running all the time i wonder if i could make an alias for (wherever the heck the content server root is) rather than having two webservers running at once.
|
Itimpi has the right of it.
Calibre does not serve static pages, but instead implements active content. Each page is generated on demand from the database. This means that in apache terms, calibre must be a module or support CGI. It isn't the first and doesn't do the second.
It would be possible to build a CGI interface to calibre so that it could be integrated into other web servers, but it wouldn't be trivial to do.
As itimpi says, it might be easier to adapt cherrypy to run as a module. The page
http://www.cherrypy.org/wiki/ModPython discusses how one might approach this. Again, the implementation isn't trivial (calibre's initialization would change a lot), but it should be possible.
Perhaps someone with the need would be willing to take on either project.