DokuWiki
mkdir -p /var/www/html/meinekleinefarm.net/dokuwiki
cd /var/www/html/meinekleinefarm.net/dokuwiki
wget https://download.dokuwiki.org/out/dokuwiki-xyz.tgz
tar -xzvf dokuwiki-xyz.tgz --strip-components=1
rm dokuwiki-xyz.tgz
mkdir -p /var/www/html/meinekleinefarm.net/dokuwiki/conf/tpl/dokuwiki/
nano /var/www/html/meinekleinefarm.net/dokuwiki/conf/tpl/dokuwiki/style.ini
[replacements]
; site and sidebar widths
__site_width__ = "80%"
;__sidebar_width__ = "16em"
chown www-data:www-data /var/www/html/ -R
nano /etc/apache2/sites-available/dokuwiki.meinekleinefarm.net.conf
dokuwiki.meinekleinefarm.net.conf
dokuwiki.meinekleinefarm.net.conf
- dokuwiki.meinekleinefarm.net.conf
<VirtualHost *:80>
ServerName dokuwiki.meinekleinefarm.net
Redirect permanent / https://dokuwiki.meinekleinefarm.net/
</VirtualHost>
<IfModule mod_ssl.c>
<VirtualHost *:443>
ServerAdmin webmaster@meinekleinefarm.net
ServerName dokuwiki.meinekleinefarm.net
ServerAlias dokuwiki.meinekleinefarm.net
DocumentRoot /var/www/html/meinekleinefarm.net/dokuwiki/
<Directory /var/www/html/meinekleinefarm.net/dokuwiki/>
AllowOverride All
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
SSLEngine on
SSLCertificateFile /etc/letsencrypt/live/meinekleinefarm.net/fullchain.pem
SSLCertificateKeyFile /etc/letsencrypt/live/meinekleinefarm.net/privkey.pem
<FilesMatch "\.(cgi|shtml|phtml|php)$">
SSLOptions +StdEnvVars
</FilesMatch>
<Directory /usr/lib/cgi-bin>
SSLOptions +StdEnvVars
</Directory>
BrowserMatch "MSIE [2-6]" \
nokeepalive ssl-unclean-shutdown \
downgrade-1.0 force-response-1.0
BrowserMatch "MSIE [17-9]" ssl-unclean-shutdown
</VirtualHost>
</IfModule>
a2ensite dokuwiki.meinekleinefarm.net.conf
service apache2 restart