Finding a way to serve search.tpo for the different portals
Hi,
I have a machine that will be serving search results for the coming web portals.
This is a Solr installation + a pyramid app to display the search results in html.
This machine lives on 195.201.2.191.
Since the portals are static html pages, I am trying to think of a way so that at the local url '/search' we can serve the search result of the search service.
So for example support.torproject.org/search would display the search results for the support portal from 195.201.2.191.
Now there are a few issues that we should consider.
1. Onion service
The search service will be behind its own onion service.
2. Could we just offer a redirect through htaccess?
3. should we have a search.tpo service and that's it?
Points 2. and 3. could be complicated in terms of user experience. I'd say that if a user search something they do not necessarly expect to be taken to a different window or different page.
Any other ideas are welcomed.
issue