From: Daniel K. <da...@da...> - 2015-08-02 04:42:12
|
Hello, I was playing around with configuring Kiwix for Apache via a reverse-proxy, and setting it at a base path other than root. For instance, I would have every URL prefixed with /kiwix/. This is simple enough to pull off such that the pages load at the URLs I expect them. However, the hrefs within Kiwix assume that all URLs start at /. So, for instance I can get the library to show up, but the link to Wiktionary doesn't work, and none of the CSS or JS resources load. I was thinking of trying to go in there and make it possible to set an alternate URL root with a kiwix-serve command line option. I've never worked with developing Kiwix before. I figure I have to mess with the URL router, as well as all of the html templates. I was wondering if I should expect this to be particularly difficult or arduous? I was also wondering about the likelihood that such a patch would be accepted in the project? Thanks, Dan |