Difference between revisions of "Wallabag"
From Blue-IT.org Wiki
(Created page with "== What is wallabag? == * https://www.wallabag.org/ <cite>wallabag is a self hostable application for saving web pages. Unlike other services, wallabag is free (as in freed...") |
(→Apache 2.4) |
||
(10 intermediate revisions by the same user not shown) | |||
Line 3: | Line 3: | ||
* https://www.wallabag.org/ | * https://www.wallabag.org/ | ||
− | <cite>wallabag is a self hostable application for saving web pages. Unlike other services, wallabag is free (as in freedom) and open source. | + | <cite>wallabag is a self hostable application for saving web pages. Unlike other services, wallabag is free (as in freedom) and open source. With this application you will not miss content anymore. Click, save, read it when you want. It saves the content you select so that you can read it when you have time.</cite> |
− | + | == Installation == | |
+ | |||
+ | * https://www.digitalocean.com/community/tutorials/how-to-install-and-use-composer-on-ubuntu-14-04 | ||
+ | |||
+ | == Apache 2.4 == | ||
+ | |||
+ | <VirtualHost *:443> | ||
+ | |||
+ | ServerName mywallagbag.mydomain.tld | ||
+ | ServerAlias www.mywallagbag.mydomain.tld | ||
+ | DocumentRoot /srv/www/mywallagbag.mydomain.tld/web | ||
+ | |||
+ | ErrorLog /var/log/apache2/mywallagbag.mydomain.tld-error.log | ||
+ | CustomLog /var/log/apache2/mywallagbag.mydomain.tld-access.log combined | ||
+ | |||
+ | <Directory "/srv/www/mywallagbag.mydomain.tld/web"> | ||
+ | |||
+ | DirectoryIndex app.php | ||
+ | AllowOverride All | ||
+ | Require all granted | ||
+ | |||
+ | <IfModule mod_rewrite.c> | ||
+ | Options -MultiViews | ||
+ | RewriteEngine On | ||
+ | RewriteCond %{REQUEST_FILENAME} !-f | ||
+ | RewriteRule ^(.*)$ app.php [QSA,L] | ||
+ | </IfModule> | ||
+ | |||
+ | </Directory> | ||
+ | |||
+ | <Directory "/srv/www/mywallagbag.mydomain.tld/web/bundles"> | ||
+ | <IfModule mod_rewrite.c> | ||
+ | RewriteEngine Off | ||
+ | </IfModule> | ||
+ | </Directory> | ||
+ | |||
+ | #SSL ... | ||
+ | |||
+ | </VirtualHost> | ||
== Security == | == Security == | ||
Line 12: | Line 50: | ||
* http://www.sublimigeek.fr/fail2ban-securiser-instance-wallabag | * http://www.sublimigeek.fr/fail2ban-securiser-instance-wallabag | ||
− | I use the following regex: | + | ==== Wallabag 1.9.x ==== |
+ | |||
+ | I use the following regex with wallabag 1.9.1 in my filter: | ||
failregex = .* \[:error\] \[pid \d*\] \[client <HOST>:\d*] user .* authentication failure, referer: https:\/\/subdomain\.domain\.tld\/ | failregex = .* \[:error\] \[pid \d*\] \[client <HOST>:\d*] user .* authentication failure, referer: https:\/\/subdomain\.domain\.tld\/ | ||
+ | |||
+ | ==== Wallabag 2.x ==== | ||
+ | |||
+ | Open issue: https://github.com/wallabag/wallabag/issues/2117 |
Latest revision as of 11:08, 26 May 2016
Contents
What is wallabag?
wallabag is a self hostable application for saving web pages. Unlike other services, wallabag is free (as in freedom) and open source. With this application you will not miss content anymore. Click, save, read it when you want. It saves the content you select so that you can read it when you have time.
Installation
Apache 2.4
<VirtualHost *:443> ServerName mywallagbag.mydomain.tld ServerAlias www.mywallagbag.mydomain.tld DocumentRoot /srv/www/mywallagbag.mydomain.tld/web ErrorLog /var/log/apache2/mywallagbag.mydomain.tld-error.log CustomLog /var/log/apache2/mywallagbag.mydomain.tld-access.log combined <Directory "/srv/www/mywallagbag.mydomain.tld/web"> DirectoryIndex app.php AllowOverride All Require all granted <IfModule mod_rewrite.c> Options -MultiViews RewriteEngine On RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*)$ app.php [QSA,L] </IfModule> </Directory> <Directory "/srv/www/mywallagbag.mydomain.tld/web/bundles"> <IfModule mod_rewrite.c> RewriteEngine Off </IfModule> </Directory> #SSL ... </VirtualHost>
Security
Fail2ban
Wallabag 1.9.x
I use the following regex with wallabag 1.9.1 in my filter:
failregex = .* \[:error\] \[pid \d*\] \[client <HOST>:\d*] user .* authentication failure, referer: https:\/\/subdomain\.domain\.tld\/
Wallabag 2.x
Open issue: https://github.com/wallabag/wallabag/issues/2117