Setting up a dynamic webserver

UnadulteratedImagination

I want to set up a webserver to use a personal search engine, recoll. This python script already provides a web-ui to query recoll : recoll-webui. I am able to access recoll from my browser on http://localhost:8080, but unable to access that page from other computers on my network.

I have setup a webserver using apache and can access a static page on my computer from other computers on my network. How can I go about forwarding the output that I get on localhost:8080 to the apache server ?

PS : Just putting a link to http://localhost:8080 on a static webpage does not work

PS : I'm on ubuntu 13.10

user1688020

I am guessing that you run the recoll webui by executing the webui-standalone.py program ?

If this is the case, you need to change a line in the file for the server to accept connections from another host:

-webui.bottle.run(host='localhost', port=8080, reloader=False) +webui.bottle.run(host='0.0.0.0', port=8080, reloader=False)

As for running the interface under Apache, I never did it, but it's feasible as far as I know, I think that you need to look at this page in the bottle framework doc:

http://bottlepy.org/docs/dev/deployment.html

Collected from the Internet

Please contact [email protected] to delete if infringement.

edited at
0

Comments

0 comments
Login to comment

Related