A basic plugin to display the content of files present on the server's disks
Compatible with DokuWiki
Security warning (please read plugin security guidelines): This plugin expose information that might be valuable to a hacker. It is not recommended in a public installation.
Similar to source
| | This plugin should never be used in an open environment as it allows to read arbitrary files from the webserver, including security sensitive files like /etc/passwd, .htaccess or DokuWiki's own conf/users.auth.php | |
NOTE: I can't see what advantages this has over the source plugin. Amongst other things the source plugin includes:
— Christopher Smith 2008/05/14 03:38
| Download | plugin-showfile.tar.gz |
|---|
Link is down – 2011-02-23/O.Geisen
A basic plugin for displaying file contents, for file located on the server's disks. It's a first time experiment as DokuWiki plugin developer and the plugin was developed in like 10 minutes … so feel free to improve …
Of course the files must be readable by the Apache user or group for the content to be displayed.
-GrdScarabe
There is a dedicated Trac at : https://dev.fabienpoulard.info/dokuwikiplugins/wiki/showfile
<showfile>/var/log/messages.log</showfile>
Where
It is recommended (mandatory) to add the ~~ NOCACHE ~~ directive to have the content refreshed each time the page is displayed.