IMPRESSIVE work! Congratulations ashkulz! Thank you for your effort!
I downloaded Portable Python and in a minute Impserve was up and running!
I'd change the first hard-coded web page to use an index.html file. It nows shows two links: local contents, and online library which I find to be unnecessary. Just open local contents page.
I'm adding the HTML code I use as index.html to show a Google search, a link to an IMP book in mobileread and a link to the forum message where it was found.
So far it seems you cannot directly download ebooks from Mobileread. As I said before, this is becausem Mobileread webservers (as almost ALL webservers) doesn't know the MIME type application/x-softbook and handles IMP files with type unknown/unknown. Is there a way to change those HTTP headers to "Conten-type: applicaction/x-sofbook"?
Thanks again for your code. It's incredible that such few lines of code resolves HOURS of testing, settings, etc. Well done!
<title>Welcome to ImpServe</title>
<p><h1> Welcome to Impserve</h1>
<img alt="Google" src="http://www.google.com/intl/en/images/about_logo.gif" height=65 width=175>
<form name=Search method=GET action="http://www.google.com/search?hl=en">
<input type=text name='q' size=22 maxlength=2048 value="">
<input type=submit name="btnG" value="Search"></form>
">Link to an IMP ebook in Mobileread</a>
<a href="https://www.mobileread.com/forums/showthread.php?t=28232">Link to a Mobileread forum</a>