Difference between revisions of "Wallabag"

From Blue-IT.org Wiki

(Apache 2.4)
(Apache 2.4)
 
Line 40: Line 40:
 
             </IfModule>
 
             </IfModule>
 
         </Directory>
 
         </Directory>
 
+
 
         #SSL ...
 
         #SSL ...
 
   
 
   

Latest revision as of 11:08, 26 May 2016

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