|
a/src/mediaserver/00doc.txt |
|
b/src/mediaserver/00doc.txt |
|
... |
|
... |
128 |
conveniently the embedded Python server. The URLS which are generated in
|
128 |
conveniently the embedded Python server. The URLS which are generated in
|
129 |
the directory resource records point directly to the HTTP server host/port,
|
129 |
the directory resource records point directly to the HTTP server host/port,
|
130 |
there is no redirection through the microhttpd server (this is the big
|
130 |
there is no redirection through the microhttpd server (this is the big
|
131 |
difference with the streaming service plugins.
|
131 |
difference with the streaming service plugins.
|
132 |
|
132 |
|
133 |
The paths still need translation (they include the plugin name as prefix
|
133 |
The paths are in three parts:
|
134 |
for diag purposes, and there is a map between recoll and http paths). The
|
134 |
- The plugin name as prefix
|
|
|
135 |
- A mapping between Recoll (actual) paths and paths as seen by the http
|
|
|
136 |
server (document_root equivalent)
|
|
|
137 |
- The real tail
|
|
|
138 |
|
135 |
translation routine is now part of the Python request handler, but would
|
139 |
The translation routine is now part of the Python request handler, but
|
136 |
need to be restored if we went back to using an external server.
|
140 |
would need to be restored if we went back to using an external server.
|
137 |
|
141 |
|
138 |
The following configuration data is used:
|
142 |
The following configuration data is used:
|
139 |
The host and port for the HTTP server. This is used in generated URLs
|
143 |
The host and port for the HTTP server. This is used in generated URLs
|
140 |
and as parameter to start the Python server:
|
144 |
and as parameter to start the Python server:
|
141 |
uprclhost = 192.168.4.4:8080
|
145 |
uprclhost = 192.168.4.4:8080
|