Outils pour utilisateurs

Outils du site


Panneau latéral

Tips

Divers

Projets

Ham Radio

Machines

Research

Privé

Études

tips:dokuwiki

DokuWiki

Some notes about DokuWiki.

Plugins

Add Check and Cross to Available Smileys

Copy or symlink lib/images/{success,error}.png to lib/images/smileys/ then, in conf/smileys.conf, add

conf/smileys.conf
(...)
YES         success.png
NO          error.png

That's it! YES (NO).

Switch to HTTPS before login

.htaccess
#.htaccess
RewriteEngine on
RewriteBase /~shtrom/wiki
RewriteCond %{QUERY_STRING}     ^do=login [nc]
#RewriteCond %{HTTPS}           != on
RewriteCond %{SERVER_PORT}      !^443$
RewriteRule (.*)                https://www.narf.ssji.net/~shtrom/wiki/$1 [R,L]
conf/interwiki.conf
scm             https://scm.narf.ssji.net/{NAME}

A robots.txt to avoid hitting useless pages

robots.txt
User-agent: *
Disallow: /*wiki*do=backlink*
Disallow: /*wiki*do=diff*
Disallow: /*wiki*do=edit*
Disallow: /*wiki*do=login*
Disallow: /*wiki*do=media*
Disallow: /*wiki*do=order*
Disallow: /*wiki*do=register*
Disallow: /*wiki*_export*

Misc

tips/dokuwiki.txt · Dernière modification: 2016-09-01 00:33 par shtrom