02-18-2016, 04:14 AM | #1 |
Junior Member
Posts: 2
Karma: 10
Join Date: Feb 2016
Device: IPad2
|
Calibre Apache Integration
I'd like to integrate Calibre Server on Apache Site with SSL Authentication.
I have set up a virtual NIC IP only for calibre. My ebooks.conf in Apache: <IfModule mod_ssl.c> <VirtualHost 192.x.y.z:443> ErrorLog /var/log/apache2/error-calibre-xx.log CustomLog /var/log/apache2/access-calibre-xx.log combined SSLEngine on SSLCertificateFile /etc/apache2/ssl/apache.crt SSLCertificateKeyFile /etc/apache2/ssl/apache.key BrowserMatch "MSIE [2-6]" \ nokeepalive ssl-unclean-shutdown \ downgrade-1.0 force-response-1.0 # MSIE 7 and newer should be able to use keepalive BrowserMatch "MSIE [17-9]" ssl-unclean-shutdown ServerName books.example.org <Location / > AuthType Basic AuthName "Restricted" AuthBasicProvider file AuthUserFile /etc/apache2/.htpasswd Require valid-user </Location> ProxyPreserveHost On ProxyPass / http://192.x.y.z:8081/ ProxyPassReverse / http://192.x.y.z:80/ </VirtualHost> </IfModule> <VirtualHost 192.x.y.z:80> ServerName books.example.org Redirect permanent / https://books.example.org/ </VirtualHost> It's ok if user type in browser books.example.org but if he type 192.x.y.z:8081, he got calibre home page without authentication... |
02-18-2016, 08:35 AM | #2 |
Junior Member
Posts: 2
Karma: 10
Join Date: Feb 2016
Device: IPad2
|
Ok, solved set in ~/.config/calibre/tweaks.py server_listen_on = '127.0.0.1' . |
Tags |
apache, calibre, ssl |
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
New Device Integration with calibre | shivas | Devices | 92 | 11-16-2022 11:25 AM |
Calibre Back End Integration | dkaylor | Conversion | 1 | 05-27-2015 12:06 PM |
Tablet with good calibre integration | africalass | Which one should I buy? | 12 | 08-06-2014 03:44 PM |
Apache integration is outdated? | khahoon | Related Tools | 2 | 06-27-2013 12:34 AM |
Calibre/iPad integration | itimpi | Calibre | 8 | 06-05-2010 07:30 PM |