Back to OP5 Monitor FAQ

How to disable Dokuwiki permanently

If you are not using the Dokuwiki provided with Monitor and want it disabled for some reason, you can achieve this by editing the Apache configuration and disallowing access to the dokuwiki folder.

Open up /etc/httpd/conf.d/ssl.conf and find the closing tag, probably at the end of the file. Before this tag, add a Directory section so that the end result looks like this:

(...)
<Directory "/var/www/html/dokuwiki">
    Require all denied
</Directory>
</VirtualHost>

Then run:

systemctl restart httpd

Verify that this worked by going to https://monitor/dokuwiki and verify that you are getting an error message:

Forbidden You don’t have permission to access /dokuwiki on this server.

To revert this change, simply delete the “Directory” block you added above (but not the VirtualHost end tag) and restart httpd again.

["Geneos"] ["FAQ"]

Was this topic helpful?