Closed Percent01 closed 10 years ago
recoll-webui uses the bottle framework. You can switch the web server part, see http://bottlepy.org/docs/dev/deployment.html
For using SSL, you need a server which will support it. People seem to commonly use cherrypi, but I guess that Apache would work too. A Google search for "bottle ssl cherrypi" will get you answers from people who have actually done it (I haven't).
Cheers,
jf
How can I connect recoll-webui to apache webserver? I start with "service apache2 start" command and generate self signed certificate: I get https certificate when I go to https//127.0.0.1. So apache is OK, but when I start recoll-webui with this command: ./webui-standalone.py -a 127.0.0.1 -p 443 I get error message: apache still use the 443 port.
This is not a recoll-webui question, but a Bottle one. Minimum searching on Google will get you better answers than I could give. I already gave you the link to the bottle deployment page, and you will find many other answers, based for example on Cherrypi. This thread is closed as far as I'm concerned.
Does it useful the "webui-wsgi.py" file? I put to this apache vhost file:
WSGIDaemonProcess recoll user=www-data group=www-data processes=1 threads=5 WSGIScriptAlias / /var/www/recoll/webui-wsgi.py
<Directory /var/www/recoll>
WSGIProcessGroup recoll
WSGIApplicationGroup %{GLOBAL}
Order deny,allow
Allow from all
</Directory>
And put the recoll-webui-master files into /var/www/recoll directory. Of course I made "service apache2 restart" many times...
But I always get this error message in /var/log/apache/error.log
mod_wsgi (pid=30895): Target WSGI script '/var/www/recoll/webui-wsgi.py' cannot be loaded as Python module.
mod_wsgi (pid=30895): Exception occurred processing WSGI script '/var/www/recoll/webui-wsgi.py'.
Traceback (most recent call last):
File "/var/www/recoll/webui-wsgi.py", line 5, in
Where can I find the webui-wsgi manual? I would like to use with apache.
Hello everybody,
Are there any solution to use recoll-webui on HTTPS connection. I only use with self-signed ssl certificate and secure connection.
Really thank for the reply!