dokuwiki:install_dokuwiki_with_apache
This is an old revision of the document!
Table of Contents
DokuWiki - Install DokuWiki with Apache
Install DokuWiki
Configure Apache
At the moment, Apache has no way of knowing about the new installation.
- To make it aware, create a configuration file for DokuWiki.
sudo vi /etc/apache2/sites-available/dokuwiki.conf
…and populate that file with:
ServerName dokuwiki.example.com DocumentRoot /var/www/html/dokuwiki AllowOverride All Require all denied Order allow,deny Deny from all ErrorLog /var/log/apache2/dokuwiki_error.log CustomLog /var/log/apache2/dokuwiki_access.log combined
NOTE: If a domain is being used, ensure to change the ServerName option.
Save and close the file.
Enable the new site
sudo a2ensite dokuwiki
Reload the Apache configuration files
sudo systemctl reload apache2
dokuwiki/install_dokuwiki_with_apache.1656614311.txt.gz · Last modified: 2022/06/30 18:38 by 45.89.242.195