User Tools

Site Tools

Algorithm Document FRAP Fiji ImageJ ImageJ Plugin ImageJ Plugin 3Dviewer Imaris Java Javascript R added 201904 Freiburg bias blog dokuwiki fiji google imagej java jpblog libraries matlab meetings neubias news papers python references software webadmin

CMCI weblog

Dokuwiki Configuration: URL cleaning

In local.php (not accessible so configured through configuration manager)

   $conf['userewrite'] = '1';
   $conf['useslash'] = 1;

Copied .htaccess.dist to .htaccess, then in .htaccess, *une-**commented out lines shown in Red

14 ## Uncomment these rules if you want to have nice URLs using
15 ## $conf['userewrite'] = 1 - not needed for rewrite mode 2
16 RewriteEngine on
17 #
18 ## Not all installations will require the following line. If you do,
19 ## change “/dokuwiki” to the path to your dokuwiki directory relative
20 ## to your document root.
21 RewriteBase /
22 #
23 ## If you enable DokuWikis XML-RPC interface, you should consider to
24 ## restrict access to it over HTTPS only! Uncomment the following two
25 ## rules if your server setup allows HTTPS.
26 #RewriteCond %{HTTPS} !=on
27 #RewriteRule ^lib/exe/xmlrpc.php$ https://%{SERVER_NAME}%{REQUEST_URI} [L,R=301]
28 #
29 RewriteRule ^_media/(.*) lib/exe/fetch.php?media=$1 [QSA,L]
30 RewriteRule ^_detail/(.*) lib/exe/detail.php?media=$1 [QSA,L]
31 RewriteRule ^_export/([^/]+)/(.*) doku.php?do=export_$1&id=$2 [QSA,L]
32 RewriteRule ^$ doku.php [L]
33 RewriteCond %{REQUEST_FILENAME} !-f
34 RewriteCond %{REQUEST_FILENAME} !-d
35 RewriteRule (.*) doku.php?id=$1 [QSA,L]
36 RewriteRule ^index.php$ doku.php

and also changed line 21, specified the base directory ('/').

Renovation of CMCI webpage

Old CMCI is now moved to new wiki format (dokuwiki), to make the editing more efficient and also to involve more people editing and exchange information.

Previous site could be found below:

Most of contents were migrated from old to new as it was.

— changed main.php to add logo at the top right corner (Manuela's suggestion, thanks)

entry generator

Weblog Archive

blogtng/blogtop.txt · Last modified: 2021/01/25 02:26 by kota

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki