Orientiert sich an: http://taigaio.github.io/taiga-doc/dist/setup-production.html mit Anpassungen für Uberspace
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
CRITICAL_LIMIT=153 | |
SINK=1 | |
input="$@" | |
new_vol=0 | |
function usage { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<Directory "/Users/<shortuser>/Sites/"> | |
Options Indexes MultiViews FollowSymLinks | |
AllowOverride All | |
Order allow,deny | |
Allow from all | |
</Directory> | |
DocumentRoot "/Users/<shortuser>/Sites/" | |
NameVirtualHost *:80 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# the following allows "nice" urls such as https://etherpad.example.org/padname | |
RewriteEngine On | |
RewriteRule p/*$ http://etherpad.example.org/ [NC,L] | |
RewriteCond %{REQUEST_URI} !^/locales/ | |
RewriteCond %{REQUEST_URI} !^/locales.ini | |
RewriteCond %{REQUEST_URI} !^/admin | |
RewriteCond %{REQUEST_URI} !^/p/ | |
RewriteCond %{REQUEST_URI} !^/static/ | |
RewriteCond %{REQUEST_URI} !^/pluginfw/ | |
RewriteCond %{REQUEST_URI} !^/javascripts/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
MAILDIR = "$HOME/Maildir" | |
DEFAULT = "$MAILDIR" | |
# EMails an Erweiterungen in Unterordner verschieben falls dieser existiert | |
if (/^To: .*mail-(.*)@example.com/:h) | |
{ | |
SUBMAILDIR = `find $MAILDIR -iname ".$MATCH1" | head -n 1` | |
`test -d $EMAILDIR/new && exit 1 || exit 0` | |
if ( $RETURNCODE == 1 ) | |
{ |